Saturday, June 8, 2013

Day Pack

Knife
Compass
Map
Fire Starter
Whistle
GPS
First Aid
Water
Jacket/Shell
Wind Pants
Snack
Hat
Gloves
Extra Socks
Bug Head Net
Bug Spray
Sun Screen
Emergency Blanket
Rope
Air Horn
Sun Glasses
Head Lamp
Bear Spray
Cell Phone
Batteries
Tarp
Parachord
TP
Camera

Nexus 7 Hiking/Biking GPS

Can the Nexus 7 serve as an effective GPS for hiking and bilking?


App requirements

  • offline maps (with efficient storage methods)
  • readable maps and controls (zoomable)



Candidates

The Web stack

Hosting
  • Heroku
Web Server
  • Heroku server
Framework

  • Flask (python)
  • Django (python)
  • Rails (ruby)

Database

  • MongoDB
  • PostgreSQL
HTML

CSS

jquery (javascript)




Inspired by this.

Friday, June 7, 2013

ipython qtconsole

To install the qtconsole:

$ sudo apt-get install ipython-qtconsole

To run:

$ ipython qtconsole



Official Doc

YouTube overview


Sunday, June 2, 2013

Windows 8 on a Lenovo U410

Quite a nice machine once:

  • One removes some of the crapware Lenovo loads on it
  • One adds a start Button program to deal with the bizarre Windows 8 interface

I think this would be a very nice machine if it was running Windows 7 or Linux.

Saturday, June 1, 2013

Restart Hung Desktop (Cinnamon) in Linux Mint

To restart Cinnamon (if desktop appears to hang)

Option 1

Alt-F2
r

Option 2

Or, Try pressing Alt+F2 and at the prompt type cinnamon --replace and then press Enter.

Option 3

Use the Cinnamon settings applet (it looks like a "^" in your panel) and under "Troubleshoot" you'll find "Restart Cinnamon".

Option 4

If that's not possible for you, then you can exit to a console and restart using the same instructions as for gnome-shell: http://community.linuxmint.com/tutorial/view/641 (use cinnamon --replace instead as shown below).

Switch to the console using CTRL+ALT+F1 (to switch back to the DISPLAY use CTRL+ALT+F7).

Then, find out which display you're using by using the "w" command:

$ w
 15:23:19 up 23:42,  5 users,  load average: 0.03, 0.11, 0.38
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
clem     tty1                      11:32    8:03  16.14s  0.01s /usr/lib/gnome
clem     pts/0    :1               11:13    4:07m  3.17s  9.61s gnome-terminal
clem     pts/1    :1               11:26    3:52m  2:17   0.27s bash
root     pts/2    :1               12:03   21:53   0.36s  0.36s /bin/bash -i
clem     pts/3    :1               14:56    0.00s  0.39s  0.00s w

In the FROM column you'll see your display. Most of the time it's ":0". In our example above it's ":1".
Export that display from the console using the following command:

$ export DISPLAY=:1.0

(replace 1 with the value of your display of course).
And then restart Gnome Shell from there:

$ cinnamon --replace

Switch back to the DISPLAY using CTRL+ALT+F7 and voila...

Boot and Shutdown issues - Linux Mint 15 Olivia

Started seeing some hanging in system shutdown and issues booting up.


  1. Removed modemmanager package
    1. sudo apt-get --purge remove modemmanager
  2. Enabled KVM support in bios
  3. Returned to xserver-org-video-nouveau video drivers (had been using the recommended nvidia-310 set.
System now much more stable and shut downs and boots appear faster.