Skip to content

Instantly share code, notes, and snippets.

@catatsuy
catatsuy / eval.rb
Last active December 16, 2015 14:39
NUMBER_OF_TRIALS = 3
iterators = (0..12).map { |item| 2 ** item }
iterators.each do |item|
`g++ -O2 -Wall -W -static -std=c++0x -D NUM_COUNTER=#{item} main.cc -o arch.out`
sum = 0
NUMBER_OF_TRIALS.times do
\documentclass[a4paper,papersize,12Q]{jsarticle}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage[dvipdfmx]{graphicx}
\usepackage{calc}
% \usepackage[dvipdfmx]{emathP}
% \let\MARU\relax
\setlength{\textheight}{48\baselineskip+\topskip}
dvipdfmx -f ptex-hiragino.map -f otf-hiragino.map
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa.github
TCPKeepAlive yes
IdentitiesOnly yes
Compression yes
Ciphers arcfour256
# display
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode DP1 "1680x1050_60.00"
Host *
PermitLocalCommand yes
LocalCommand tmux rename-window %n
describe package('XML_Util') do
it { should be_installed.by('pear').with_version('1.2.1') }
end
describe package('App::Ack') do
it { should be_installed.by('cpan').with_version('2.04') }
end
git clone --recursive git://github.com/catatsuy/dotfiles.git ~/dotfiles
(cd ~/dotfiles && make)
git clone --recursive git://github.com/catatsuy/dot.zsh.git ~/.zsh
curl -L https://gist.github.com/catatsuy/8193224/raw/quick.sh | bash