JAnki Method Refined

This post is originally written by JACK KINSELLA. You can visit his website and read the whole post there too. I am copying certain parts of the post that I like and I need. 1. Screenshot Cards > Plain Text Cards 2. Focus On Available Functionality Over Detailed Info More important to commit to memory is awareness of what built-in functions exist within a language and what services exist within an operating system or protocol.

JAnki Method for Programming/CS

This post is originally written by JACK KINSELLA. You can visit and check out his website and read fully there. I just copied what I need. Short and Sweet. The paragraphs from below this are the contents of the original post. Using spaced repetition systems to learn and retain technical knowledge. Janki Method is an attempt to shorten the time needed to learn programming. PROBLEMS WITH LEARNING Problem 1: We Forget Too Quickly The first rule of Janki boosts your memory:

Toggle Touchpad in Linux

To achieve this we make use of xinput command. The following script will do the job. Create a new file paste the following. 1 2 3 4 5 6 7 8 9 #!/bin/bash if xinput list-props 12 | grep "Device Enabled (142):.*1" >/dev/null then xinput disable 11 notify-send -u low -i mouse "Trackpad disabled" else xinput enable 11 notify-send -u low -i mouse "Trackpad enabled" fi Run xinput list to find your device id:

Enable/Disable Touchpad on Linux

To enable or disable touchpad or any other hardware device on linux you need to make use of xinput command. The official manpage describes xinput as: xinput is a utility to list available input devices, query information about a device and change input device settings. To enable/disable touch pad we need to run xinput list. When I run xinput list I get the following output. 1 2 3 4 5 6 7 8 9 10 11 12 13 $ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ HP Webcam-50 id=9 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)] ↳ HP WMI hotkeys id=12 [slave keyboard (3)] ↳ HP Wireless hotkeys id=13 [slave keyboard (3)] As you can see above I own a HP laptop, so there is HP based devices in my system.