As configured in my dotfiles.
start new:
tmux
start new with session name:
| <?php | |
| /** | |
| * This is free and unencumbered software released into the public domain. | |
| * | |
| * Anyone is free to copy, modify, publish, use, compile, sell, or | |
| * distribute this software, either in source code form or as a compiled | |
| * binary, for any purpose, commercial or non-commercial, and by any | |
| * means. | |
| * |
| " Vim indent file | |
| " Language: Yaml | |
| " Author: Ian Young | |
| " Get it bundled for pathogen: https://github.com/avakhov/vim-yaml | |
| if exists("b:did_indent") | |
| finish | |
| endif | |
| "runtime! indent/ruby.vim | |
| "unlet! b:did_indent |
| #!/bin/sh | |
| # Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
| # CREATE block and create them in separate commands _after_ all the INSERTs. | |
| # Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
| # The mysqldump file is traversed only once. | |
| # Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
| # Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/bash -ex | |
| # zip2cbz.sh | |
| # Written by Takashi UNO | |
| # require: zip, ImageMagick | |
| if [ $# -ne 1 ]; then | |
| echo "USAGE: `basename $0` hogehoge.zip" | |
| exit 1 | |
| fi |
| /* usbreset -- send a USB port reset to a USB device | |
| * | |
| * Compile using: gcc -o usbreset usbreset.c | |
| * | |
| * | |
| * */ | |
| --- | |
| language: objective-c | |
| before_script: | |
| - ./scripts/travis/add-key.sh | |
| after_script: | |
| - ./scripts/travis/remove-key.sh | |
| after_success: | |
| - ./scripts/travis/testflight.sh | |
| env: | |
| global: |
| /*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
| /* ========================================================================== | |
| HTML5 display definitions | |
| ========================================================================== */ | |
| /** | |
| * Correct `block` display not defined in IE 8/9. | |
| */ |
| /** | |
| * STEP 1: Setup | |
| * - Open Chrome Secure Shell settings | |
| * - Open JS Console (CTRL+SHIFT+J) | |
| * - Copy and paste the following: | |
| */ | |
| var s7d_colours = { | |
| 'base03': '#002b36', | |
| 'base02': '#073642', | |
| 'base01': '#586e75', |