It's annoying to double click to select text on Mac because when you double click, it only selects a single word, instead of the whole connected words. Here is the trick:
Shift + Cmd and then double click to select the text.
9/30/2016
Speed up the up and down arrow keys on Mac
To change how fast a key repeats when holding it down, adjust this setting:
"System Preferences" | "Keyboard" | "Keyboard Tab" | "Keyboard Repeat"
To change how long you have to hold it down before it registers as repeating, adjust this setting:
"System Preferences" | "Keyboard" | "Keyboard Tab" | "Delay Until Repeat"
"System Preferences" | "Keyboard" | "Keyboard Tab" | "Keyboard Repeat"
To change how long you have to hold it down before it registers as repeating, adjust this setting:
"System Preferences" | "Keyboard" | "Keyboard Tab" | "Delay Until Repeat"
9/26/2016
GIS frequently used commands
# To read the height file at row 683, column 120
gdallocationinfo N37W122.hgt 120 683
gdallocationinfo N37W122.hgt 120 683
9/21/2016
Virtual box cannot boot to GUI?
haha
1) Find the IP of your virtual box, say, 192.168.1.23
2) From your host machine: ssh 192.168.1.23
3) ssh console: sudo service lightdm start
4) The virtual box should start the GUI
1) Find the IP of your virtual box, say, 192.168.1.23
2) From your host machine: ssh 192.168.1.23
3) ssh console: sudo service lightdm start
4) The virtual box should start the GUI
9/14/2016
9/07/2016
How to fix Docker
Sometime the Docker won't stop and it just hangs on any commends.
So far I haven't figured out a way to fix it without rebooting the machine.
Even worse: docker daemon won't start after reboot. I need to reinstall docker to get it to work. And I had to use the following commands to uninstall and reinstall to make it work.
$ sudo apt-get autoremove --purge docker-engine
$ rm -rf /var/lib/docker
$ sudo apt-get install docker-engine
So far I haven't figured out a way to fix it without rebooting the machine.
Even worse: docker daemon won't start after reboot. I need to reinstall docker to get it to work. And I had to use the following commands to uninstall and reinstall to make it work.
$ sudo apt-get autoremove --purge docker-engine
$ rm -rf /var/lib/docker
$ sudo apt-get install docker-engine
Subscribe to:
Posts (Atom)