This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"--------------------------------------------------------------------- | |
" vim plugins | |
"--------------------------------------------------------------------- | |
if has('vim_starting') | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
call neobundle#begin(expand('~/.vim/bundle/')) | |
NeoBundleFetch 'Shougo/neobundle.vim' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local_mode true | |
chef_repo = File.join(File.dirname(__FILE__), '..') | |
cookbook_path [File.join(chef_repo, 'cookbooks'), File.join(chef_repo, 'site-cookbooks')] | |
node_path File.join(chef_repo, 'nodes') | |
role_path File.join(chef_repo, 'roles') | |
ssl_verify_mode :verify_peer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.tmuxinator/hoge.yml | |
project_name: hoge | |
project_root: ~/work/hoge | |
pre: | |
- sudo dhclient -r | |
- sudo ifdown eth0 | |
- sudo ifup eth0:0 | |
windows: | |
- editor: vim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MySQL. Versions 4.1 and 5.0 are recommended. | |
# | |
# Install the MYSQL driver | |
# gem install mysql2 | |
# | |
# Ensure the MySQL gem is defined in your Gemfile | |
# gem 'mysql2' | |
# | |
# And be sure to use new-style password hashing: | |
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function autowoot(){ $("#woot").click(); } | |
autowoot(); | |
API.on(API.ADVANCE, autowoot); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export USE_SYSTEM_GECODE=1 | |
export DOCKER_HOST=tcp://127.0.0.1:4243 | |
export VAGRANT_DEFAULT_PROVIDER=docker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git script/mpiut.in script/mpiut.in | |
index 7b817b0..6dbf334 100644 | |
--- script/mpiut.in | |
+++ script/mpiut.in | |
@@ -8,6 +8,6 @@ EXEC="exec_test" | |
MPIUTFLAGS="-I${INSTDIR}/include -finstrument-functions -rdynamic" | |
MPIUTLIBS="-L${INSTDIR}/lib -lmpiunit -lm" | |
-$CC $MPIUTFLAGS $MPIUTLIBS src/*.c test/*.c -o $EXEC | |
+$CC $MPIUTFLAGS src/*.c test/*.c -o $EXEC $MPIUTLIBS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mpi.h" | |
#include <stdio.h> | |
int | |
sync() | |
{ | |
int rank, val = 0; | |
MPI_Request request; | |
MPI_Status status; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expand Filesystem, OK | |
Advanced Options, Hostname | |
Advanced Options, SSH, Enable, OK | |
Advanced Options, Update | |
Finish | |
$ sudo reboot | |
user:pi pass:raspberry | |
$ sudo vi /etc/network/interfaces |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocncpcompletion | |
set nosmoothscroll | |
set nohud | |
set noregex | |
set noinsertmappings | |
set noautoupdategist | |
set nochangelog | |
set typelinkhints | |
set defaultnewtabpage | |
let scrollduration = 10 |