cd -
So useful I had to share!
Assorted notes on my development experiences, and other useful workflow and environment tips, for Windows and Linux.
cd -
sudo apt-get install source-highlight
export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s"
export LESS=' -R '
source-highlight --lang-list
for a full listing.
#!/bin/bash
nautilus.original --no-desktop $@ &
fmt.Scanf("%d", &num)
will work in Unix but not in Windows. You're most likely to notice this when using fmt.Scanf multiple times - either in a for loop or simply sequentially. fmt.Scanf will likely appear to run twice as often as you expect, leading to unexpected program flow. fmt.Scanf("%d\n", &num)
n, err := fmt.Scanf("%d", &num)
if err != nil {
fmt.Println(n, err)
}
In the above case, we get this error: 20 unexpected newline
Which gives us the line number, and the issue from that line. sudo aptitude install gstreamer0.10-plugins-bad gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly
pandoc input.tex -o output.html --mathjax
After the popularity of my earlier post reviewing FreeNx, Pierre Ossman, a developer at Cendio, informed me of their product, which provides an alternative remote desktop/thin client option for Linux. This post details my comparison of FreeNx and Cendio ThinLinc, as options for remote desktop solutions that rival Windows remote desktop.![]() |
| ThinLinc administration page |

sudo apt-get install gnome-session-fallback
sudo dpkg-reconfigure resolvconf
Answer Yes to all the prompts and restart your machine once the tool finishes. sudo apt-get install texlive-science