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
| git checkout --orphan gh-pages | |
| git rm -rf . |
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
| s/!\[\](\(.*\))/<img src="\1" class="image-on-frame image-fade"> |
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
| #git | |
| source ~/git-prompt.sh | |
| source ~/git-completion.bash | |
| GIT_PS1_SHOWDIRTYSTATE=true | |
| export PS1='\[\033[32m\]\u@\h\[\033[00m\]$(__git_ps1)\[\033[00m\]\$ ' |
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
| # Xcode | |
| */build/* | |
| *.pbxuser | |
| !default.pbxuser | |
| *.mode1v3 | |
| !default.mode1v3 | |
| *.mode2v3 | |
| !default.mode2v3 | |
| *.perspectivev3 | |
| !default.perspectivev3 |
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
| // | |
| // ViewController.m | |
| // CountSample | |
| // | |
| // Created by Shoya Ishimaru on 13/03/30. | |
| // Copyright (c) 2013年 Shoya Ishimaru. All rights reserved. | |
| // | |
| #import "ViewController.h" |
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
| // | |
| // ViewController.m | |
| // CountSample | |
| // | |
| // Created by Shoya Ishimaru on 13/03/30. | |
| // Copyright (c) 2013年 Shoya Ishimaru. All rights reserved. | |
| // | |
| #import "ViewController.h" |
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 nocompatible | |
| filetype off | |
| if has('vim_starting') | |
| set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
| call neobundle#rc(expand('~/.vim/bundle/')) | |
| endif | |
| NeoBundle 'Shougo/neobundle.vim' | |
| NeoBundle 'Shougo/vimfiler' |
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 CLICOLOR=1 | |
| export LSCOLORS=CxGxcxdxCxegedabagacad |
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
| MAX = 100; | |
| x = rand(MAX, MAX); | |
| s = ones(MAX, 1) * sum(x); | |
| %良くないアルゴリズム | |
| %for i = 1:MAX | |
| % for j = 1:MAX | |
| % ans(j, i) = x(j, i)/s(j, i); | |
| % end | |
| %end |
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
| program timer | |
| integer time_max, i | |
| i = 0 | |
| print *, "This program will tell you when X seconds is up." | |
| print *, "Please input X(Real number psease) and push ENTER." | |
| read *, time_max | |
| !count down |