Skip to content

Instantly share code, notes, and snippets.

View Vimos's full-sized avatar

Vimos Tan Vimos

View GitHub Profile
Verifying that "vimostan.id" is my Blockstack ID. https://onename.com/vimostan
@Vimos
Vimos / ubuntu_agnoster_install.md
Created September 6, 2017 01:35 — forked from renshuki/ubuntu_agnoster_install.md
Ubuntu 16.04 + Terminator + Oh My ZSH with Agnoster Theme

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

Install ZSH

@Vimos
Vimos / gist:5361799
Created April 11, 2013 08:46
sudo yum provides */stropts.h
sudo yum provides */stropts.h
@Vimos
Vimos / Notes of CSAPP
Created April 10, 2013 05:05
Shift Operations
The final group consists of shift operations, where the shift amount is given first,
and the value to shift is given second. Both arithmetic and logical right shifts are
possible. The shift amount is encoded as a single byte, since only shift amounts
between 0 and 31 are possible (only the low-order 5 bits of the shift amount are
considered). The shift amount is given either as an immediate or in the single-
byte register element %cl.
The load effective address instruction leal is actually a variant of the movl instruction. It has the form of an instruction that reads from memory to a register, but it does not reference memory at all. Its first operand appears to be a memory reference, but instead of reading from the designated location, the instruction copies the effective address to the destination. The destination operand must be a register.
@Vimos
Vimos / tex
Created February 28, 2013 03:07
yum install 'tex(savesym.sty)' can be used to install missing classes or styles in fedora!
yum install 'tex(savesym.sty)'
can be used to install missing classes or styles in fedora!
@Vimos
Vimos / fonts
Created February 27, 2013 08:26
fc-list :lang=zh-cn can be used to check the local Chinese fonts installed
fc-list :lang=zh-cn can be used to check the local Chinese fonts installed