This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; The stack pointer is going to be an index into the stack, and the | |
; stack is an array of words. The alternative would be to have the | |
; stack pointer me a pointer to memory, but this is perhaps a bit | |
; nicer, as where the stack actually lives is totally irrelevant. | |
@stack = global [1000 x i64] undef | |
@sp = global i64 undef; | |
; Now we have the basic stack operations: push, pop, and peek. As can | |
; be seen from the definitions, LLVM is typed, which is really nice as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from: https://askubuntu.com/a/986629 | |
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Control>space']" | |
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>space']" | |
gsettings reset org.gnome.desktop.wm.keybindings switch-input-source | |
gsettings reset org.gnome.desktop.wm.keybindings switch-input-source-backward |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from http://apt.llvm.org/ | |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - | |
# put this into: /etc/apt/sources.list | |
# eg. Bionic (18.04) but only for X86_64 | |
codename=$(lsb_release -c --short) | |
deb "http://apt.llvm.org/$codename/" "llvm-toolchain-$codename" main | |
# deb-src "http://apt.llvm.org/$codename/" "llvm-toolchain-$codename" main |