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 bash | |
| set -e | |
| here="$(cd "${0%/*}"; pwd)" | |
| for file in "$here"/*; do | |
| name="$(basename "$file" .md)" | |
| [[ $name = bin ]] && dotname="$name" || dotname=".${name}" | |
| if ! [[ "install readme" =~ $name || $name =~ ".plist" || -e ~/$dotname || -d $file/.git ]]; then | 
| import os | |
| import sys | |
| from distutils.core import setup | |
| from distutils.sysconfig import get_python_lib | |
| # Warn if we are installing over top of an existing installation. This can | |
| # cause issues where files that were deleted from a more recent Django are | |
| # still present in site-packages. See #18115. | |
| overlay_warning = False | 
| #!/usr/bin/env python | |
| """ | |
| Sentry | |
| ====== | |
| Sentry is a realtime event logging and aggregation platform. It specializes | |
| in monitoring errors and extracting all the information needed to do a proper | |
| post-mortem without any of the hassle of the standard user feedback loop. | |
| Sentry is a Server | 
| ==> make install | |
| Making install in po | |
| if test "aria2" = "gettext-tools"; then \ | |
| .././install-sh -c -d /usr/local/Cellar/aria2/1.18.1/share/gettext/po; \ | |
| for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed [email protected] [email protected] insert-header.sin Rules-quot Makevars.template; do \ | |
| /usr/bin/install -c -m 644 ./$file \ | |
| /usr/local/Cellar/aria2/1.18.1/share/gettext/po/$file; \ | |
| done; \ | |
| for file in Makevars; do \ | |
| rm -f /usr/local/Cellar/aria2/1.18.1/share/gettext/po/$file; \ | 
| if (localStorage.userstyle){ | |
| var style = document.createElement('style'); | |
| style.textContent = localStorage.userstyle; | |
| style.inject(document.body); | |
| } | 
| # coding: utf-8 | |
| # 加入上面一句才能使用中文注释 | |
| from pyglet.gl import * # OpenGL,GLU接口 | |
| from pyglet.window import key # 键盘常量,事件 | |
| from ctypes import c_float # 导入c类型的float | |
| import math | |
| import random | |
| import time | |
| SECTOR_SIZE = 16 | 
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant::Config.run do |config| | |
| config.vm.box = "lucid32" | |
| # config.vm.box_url = "http://files.vagrantup.com/lucid32.box" | |
| config.vm.forward_port 80, 8080 | |
| config.vm.network :hostonly, "192.168.10.10" | 
| <?php | |
| $tel_no = $_GET['hm']; | |
| $c = $_GET['c']?$_GET['c']:0; | |
| $c++; | |
| ?> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>迷你轰炸台 - 短信炸弹 - BETA!</title> | |
| <?php | 
| def distance_of_time_in_words(from_time, to_time = 0, include_seconds_or_options = {}, options = {}) | |
| if include_seconds_or_options.is_a?(Hash) | |
| options = include_seconds_or_options | |
| else | |
| ActiveSupport::Deprecation.warn "distance_of_time_in_words and time_ago_in_words now accept :include_seconds " + | |
| "as a part of options hash, not a boolean argument" | |
| options[:include_seconds] ||= !!include_seconds_or_options | |
| end | |
| options = { |