Bash redirection tutorial
For a simple bash redirection tutorial, look at this.
These logs are random snippets of information that have been useful to me in the past. Hopefully they help you too!
For a simple bash redirection tutorial, look at this.
Numpy uses 64-bit floats by default, although supposedly this is implementation dependent. If you are reading this several years from now, then you will have...
In order to look at the C++ man pages, do a man std_<blah>. For example, man std_list or man std_complex. To see what man pages are available, do an ap...
To change the colours of hyperlinks from the default pink, put \hypersetup{urlcolor=blue} in the LaTeX preamble. Check these out for more options: http://tex...
Look at this SO question to convert matlab code into python/scipy/numpy:
Use the builtin bin() function to convert integers to binary. Use int(binary_repr, 2) to convert back.
To install DejaVu Sans Mono for lyx typewriter, install Bera Mono instead. It is almost the same. This is available via the package texlive-fonts-extra. You ...
Look at this link to install fonts in LaTeX/LyX manually.
Export a vim file in whole or in part to postscript using :hardcopy >file.ps. Then use ps2pdf <file.ps> to convert to pdf.
http://jakevdp.github.io/blog/2013/07/10/XKCD-plots-in-matplotlib/
Use g<C-g> to find the word count of a document. Also works in visual mode.
Apparently, Artha uses a backend program called wn, which is a CLI to the WordNet lexical database. man wn for more.
Found an SO answer that gives a unix implementation of conio functions! I implemented a test code for it here.
To change the default GUI editor, you simply need to change the corresponding records in the file /usr/share/applications/defaults.list. I just went there an...
If vim does not detect a filetype correctly, then you can add a modeline at the top of the file (first or second line, I think), which tells vim the filetype...