(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
>>> from suds.client import Client | |
>>> url = 'http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl' | |
>>> client = Client(url) | |
>>> print client | |
Suds ( https://fedorahosted.org/suds/ ) version: 0.4 GA build: R699-20100913 | |
Service ( checkVatService ) tns="urn:ec.europa.eu:taxud:vies:services:checkVat" | |
Prefixes (1) | |
ns0 = "urn:ec.europa.eu:taxud:vies:services:checkVat:types" |
#!/bin/bash | |
docker run --name='gitlab' -it --rm \ | |
-e 'GITLAB_PORT=10080' -e 'GITLAB_SSH_PORT=10022' \ | |
-p 10022:22 -p 10080:80 \ | |
-v /var/run/docker.sock:/run/docker.sock \ | |
-v $(which docker):/bin/docker \ | |
sameersbn/gitlab:latest |
package main | |
import ( | |
"net/http" | |
) | |
func main() { | |
fs := http.FileServer(http.Dir("static")) | |
http.Handle("/", fs) | |
http.ListenAndServe(":3000", nil) |
sudo apt-get install virtualbox-guest-dkms |
#!/bin/bash | |
DOTFILES_DIR="$HOME/src/dotfiles" | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew doctor | |
brew install git | |
mkdir src |
sudo python -m smtpd -n -c DebuggingServer localhost:25 |
>>> bool_to_word = ['nope', 'yep'] | |
>>> bool_to_word[True] | |
'yep' | |
>>> bool_to_word[False] | |
'nope' | |
>>> 5 * True | |
5 | |
>>> 5 * False | |
0 |
alphabet = [[chr(x), chr(x)] for x in range(65, 91)] |
#!/usr/bin/env python2 | |
# encoding: utf-8 | |
# freeleech_dl.py by tobbez | |
import json | |
import requests | |
import HTMLParser | |
import os | |
import re | |
from getpass import getpass |