As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/usr/bin/env python | |
| # pylint: disable=W0622 | |
| # Copyright (c) 2006 Allan Saddi <allan@saddi.com> | |
| # Copyright (c) 2011 Vladimir Rusinov <vladimir@greenmice.info> | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions | |
| # are met: |
| // Copyright 2012 Junqing Tan <ivan@mysqlab.net> and The Go Authors | |
| // Use of this source code is governed by a BSD-style | |
| // Part of source code is from Go fcgi package | |
| // Fix bug: Can't recive more than 1 record untill FCGI_END_REQUEST 2012-09-15 | |
| // By: wofeiwo | |
| package fcgiclient | |
| import ( |
| """ base58 encoding / decoding functions """ | |
| import unittest | |
| alphabet = '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ' | |
| base_count = len(alphabet) | |
| def encode(num): | |
| """ Returns num in a base58-encoded string """ | |
| encode = '' | |
| // requires | |
| var utils = require('utils'); | |
| var casper = require('casper').create() | |
| var casper = require('casper').create({ | |
| verbose: true, | |
| logLevel: "debug" | |
| }); | |
| // setup globals | |
| var email = casper.cli.options['email'] || 'REPLACE THIS EMAIL'; |
| from selenium import webdriver | |
| from selenium.common.exceptions import TimeoutException | |
| import selenium.webdriver.support.wait | |
| selenium.webdriver.support.wait.POLL_FREQUENCY = 0.05 | |
| import re | |
| import random | |
| import collections | |
| class AdwordsAutomater(object): |
| test: | |
| clear | |
| nosetests --with-coverage --cover-package name_utils test_name_utils.py | |
| clean: | |
| find -regex '.*\.pyc' -exec rm {} \; | |
| find -regex '.*~' -exec rm {} \; | |
| .PHONY: test clean |
| <?php | |
| # http://darklaunch.com/2009/08/07/base58-encode-and-decode-using-php-with-example-base58-encode-base58-decode | |
| ################################################################# | |
| function base58_encode($num) { | |
| $alphabet = '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'; | |
| $base_count = strlen($alphabet); | |
| $encoded = ''; |