Tuesday, January 22, 2019

Initial Steps for Python

Change python version system-wide

This page has a great explanation for switching between Python and Python3:
https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux

Installing Jupyter

Since in Python 3, ConfigParser has been renamed to configparser I switched to Python using:
Then for installing and running a Notebook:

Monday, November 5, 2018

Common Lisp IDE

Best resource for Common Lisp can be found here: https://github.com/norvig/paip-lisp

Emacs

- sudo apt-get install emacs
 
SBCL

- Download from here: http://www.sbcl.org/platform-table.html
- sudo ./install.sh

Slime

- create .emacs  in your home folder.

Sunday, October 21, 2018

Skype problem with Camera in Linux

Suppose your webcam is in /dev/video0.


1. sudo apt-get install v4l2loopback-dkms

2. sudo modprobe v4l2loopback

3. Finally, when you need your webcam on Skype, just run this command:

    ffmpeg -i /dev/video0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video1