start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
#!/usr/bin/env python2 | |
""" | |
Author: takeshix <[email protected]> | |
PoC code for CVE-2014-0160. Original PoC by Jared Stafford ([email protected]). | |
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
""" | |
import sys,struct,socket | |
from argparse import ArgumentParser |
import election_data | |
from match import match | |
''' | |
Match BBC constituency names with TheyWorkForYou constituency names, | |
using MP name and party as extra queues | |
''' | |
twfy_data = election_data.get_twfy_data() | |
twfy_fields = ('party', 'name', 'constituency') |
from ftplib import FTP | |
import ftplib | |
from datetime import datetime | |
import os | |
import pickle | |
FTP_SERVER = '83.247.110.3' | |
FTP_FOLDER = '/' | |
DESTINATION = '/volume1/Cluster/data/nl-traffic/' | |
#DESTINATION = 'out/' |
/****************************************************************************** | |
* Gulpfile | |
* Be sure to run `npm install` for `gulp` and the following tasks to be | |
* available from the command line. All tasks are run using `gulp taskName`. | |
******************************************************************************/ | |
// node module imports | |
var gulp = require('gulp'), | |
webpack = require('webpack'), | |
sass = require('gulp-sass'), |
/****************************************************************************** | |
* Gulpfile | |
* Be sure to run `npm install` for `gulp` and the following tasks to be | |
* available from the command line. All tasks are run using `gulp taskName`. | |
******************************************************************************/ | |
// node module imports | |
var gulp = require('gulp'), | |
webpack = require('webpack'), | |
sass = require('gulp-sass'), |