Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
bits_to_symbols = {
0b000: '<',
0b001: '>',
0b010: '[',
0b011: ']',
0b100: '+',
0b101: '-',
0b110: ',',
@h-s-l
h-s-l / INSTALL
Last active July 6, 2016 14:55
Ubuntu (and derivatives) installation script for DJMcMayhem's V ESOLANG.
#!/usr/bin/env bash
#AUTHOR: harry (aHNs) <aHNs@tuta.io> FC5A 6DAE AD7C F721 561A C059 D376 6497 DD9F F961
#DESCRIPTION: Self deleting install script for V by DJMcMayhem https://github.com/DJMcMayhem/V
#checks user is root, exits if not
if [[ $(id -u) != "0" ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
function v_installer {
if [[ ! $(grep "neovim-ppa/unstable" /etc/apt/sources.list /etc/apt/sources.list.d/*) ]]; then
@gmccreight
gmccreight / master.vim
Last active September 23, 2023 08:41
A script that gives you a playground for mastering vim
" copy all this into a vim buffer, save it, then...
" source the file by typing :so %
" Now the vim buffer acts like a specialized application for mastering vim
" There are two queues, Study and Known. Depending how confident you feel
" about the item you are currently learning, you can move it down several
" positions, all the way to the end of the Study queue, or to the Known
" queue.
" type ,, (that's comma comma)