THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
#!/bin/bash | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION=1.8 |
" | |
" Defines a paragraph text-object that stops at \\begin / \\end , as well as at ordinary | |
" paragraph boundaries. | |
" | |
" Example: dap deletes the text paragraph and avoids any adjoining environments. | |
" | |
autocmd BufRead,BufNewFile *.tex vnoremap ip ?^\s*$\\|\\end<CR>jO/^\s*$\\|\\begin<CR>k$ | |
autocmd BufRead,BufNewFile *.tex vmap ap ip | |
autocmd BufRead,BufNewFile *.tex omap ip :normal Vip<CR> |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
import boto.mturk.connection | |
sandbox_host = 'mechanicalturk.sandbox.amazonaws.com' | |
real_host = 'mechanicalturk.amazonaws.com' | |
mturk = boto.mturk.connection.MTurkConnection( | |
aws_access_key_id = 'XXX', | |
aws_secret_access_key = 'XXX', | |
host = sandbox_host, | |
debug = 1 # debug = 2 prints out all requests. but we'll just keep it at 1 |
/* | |
Reddit DailyProgrammer Challenge #180 -- Tamagotchi Emulator | |
By Aerospark12 (aka Luke) | |
I may have gone a little bit overboard with this one, but I've got fond memories of tamagotchi from when | |
I was but a wee laddie, I've always wanted to make something like this, and I really enjoy graphics and animation | |
The design of this is partially inspirte by how I understand "low level" ICs to work, as an homage to the real tamagotchi |
See https://github.com/romainl/vim-rnb for an up-to-date version.
#!/usr/bin/env python | |
from __future__ import print_function | |
import sys | |
import os | |
import glob | |
import shutil | |
import sqlite3 | |
from os.path import join as joinpath, expanduser, exists, isabs, realpath |