(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
:
#!/usr/bin/env python | |
# Convert a mysql dump into a sqlite-compatible format. | |
# I wrote this for just one script... no guarantess that it will work with others... | |
# python fsql.py < mysqldump.sql > readyforsqlite.sql | |
import re | |
import sys | |
content = sys.stdin.read() |
*.acn | |
*.acr | |
*.alg | |
*.aux | |
*.bak | |
*.bbl | |
*.bcf | |
*.blg | |
*.brf | |
*.bst |
#!/bin/sh | |
# | |
# a simple way to parse shell script arguments | |
# | |
# please edit and use to your hearts content | |
# | |
ENVIRONMENT="dev" |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.30093687772750854</real> | |
<key>Green Component</key> | |
<real>0.36639997363090515</real> |
$ rake compile | |
rake/gempackagetask is deprecated. Use rubygems/package_task instead | |
mkdir -p tmp/x86_64-darwin11.4.0/nmatrix/1.9.3 | |
cd tmp/x86_64-darwin11.4.0/nmatrix/1.9.3 | |
/Users/carlosagarie/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -I. ../../../../ext/nmatrix/extconf.rb | |
checking for clapack_dgetrf() in -llapack... no | |
checking for clapack.h... no | |
checking for cblas_dgemm() in -lcblas... yes | |
checking for ATL_dgemmNN() in -latlas... yes | |
checking for cblas.h... no |
"------------------------------------ | |
" Unite-rails.vim | |
"------------------------------------ | |
"{{{ | |
function! UniteRailsSetting() | |
nnoremap <buffer><C-H><C-H><C-H> :<C-U>Unite rails/view<CR> | |
nnoremap <buffer><C-H><C-H> :<C-U>Unite rails/model<CR> | |
nnoremap <buffer><C-H> :<C-U>Unite rails/controller<CR> | |
nnoremap <buffer><C-H>c :<C-U>Unite rails/config<CR> |
#!/bin/bash | |
# | |
# yoga-auto-rotate -- ghetto-style tablet mode, with keyboard and all. | |
# | |
# Simple little script that will detect an orientation change for a | |
# Lenovo Yoga 13 (very hackily) and adjust the active display's | |
# orientation and disable/enable the touchpad as necessary. | |
# | |
# The Yoga 13 will emit keycode `e03e` at one second intervals | |
# when the screen is flipped into tablet mode. Since this keycode |
#!/usr/bin/python | |
# crf.py (by Graham Neubig) | |
# This script trains conditional random fields (CRFs) | |
# stdin: A corpus of WORD_POS WORD_POS WORD_POS sentences | |
# stdout: Feature vectors for emission and transition properties | |
from collections import defaultdict | |
from math import log, exp | |
import sys |
この記事は、C++ (fork) Advent Calendar 2013の12日目の記事です。
記事を書く人が居ないみたいなので、C++初心者ですが箸休め的な記事を書こうと思い立ち、いざ書き上げてみたら思いの外長くなりました。
この記事は、C++初心者な著者が、C++を用いて競技プログラミングをするために、調べたことや試した事などのまとめです。 記事中に誤り、問題点やご指摘、ご質問等ありましたら、@rigibunまでご連絡下さい(特にpush_bach)
githubのmarkdownを使いたかったことと、変更履歴が見られることからgistで書きました。