I hereby claim:
- I am takac on github.
- I am takac (https://keybase.io/takac) on keybase.
- I have a public key ASBoobMV-tyR6-2a5XojpAqwpaWarlZSbPPbGaKsvgamZQo
To claim this, I am signing this object:
| cowfortune() { | |
| fortune | cowsay -f $(cowsay -l | sed -n '2,$s/ /\n/gp' | sort -R | head -n1) | |
| } |
| f() | |
| { | |
| LAST=$(fc -l | tail -1 | sed 's/^\s*[0-9]\+\s\+//') | |
| CMMD=${LAST%% *} | |
| if [[ ${CMMD} == "mkdir" ]]; then | |
| cd "${LAST#* }" | |
| elif [[ ${CMDD} == "cd" ]]; then | |
| cd - | |
| elif [[ ${CMDD} == "fish" ]]; then | |
| cd - |
| #!/bin/zsh | |
| # Quick file finder. | |
| # | |
| # Search for whole term:- "*myterm*" | |
| # $ fn search | |
| # 0 search.py | |
| # 1 dir/place/search-items.html | |
| # 2 dir/my_search.lst | |
| # |
| function agv() | |
| { | |
| command ag $@ | vim -c "setlocal buftype=nofile bufhidden=hide noswapfile" -c "let @/="'"'$@'"'" | set hls" - | |
| } | |
| # List files in git status using relative paths | |
| function gip() | |
| { | |
| # Can provide a matcher against the porcelain tags, i.e. "M ", "UU", etc | |
| # If not provided return all files listed in git status |
| ScrollLock:: Send {Media_Play_Pause} | |
| Pause:: Send {Media_Next} | |
| PrintScreen:: Send {Media_Prev} | |
| NumpadAdd:: Send {Volume_Up} | |
| NumpadSub:: Send {Volume_Down} | |
| ^E:: send, {END} | |
| ; Send delete back word | |
| ^BS:: send, ^+{left}{delete} |
| command! HardTimeOn call HardTimeOn() | |
| command! HardTimeOff call HardTimeOff() | |
| fun! HardTimeOff() | |
| silent! nunmap <buffer> h | |
| silent! nunmap <buffer> j | |
| silent! nunmap <buffer> k | |
| silent! nunmap <buffer> l | |
| silent! nunmap <buffer> - | |
| silent! nunmap <buffer> + |
| # Contributor Ranking | |
| # | |
| # Author: Tom Cammann | |
| # | |
| function contrib_list { | |
| # Find all email address names used to commit | |
| authors=$( git log --format='%aE' | cut -d"@" -f1 | sort -u ) | |
| # For each commit match no binary files that have changed and capture the number | |
| # Only match java files |
| let g:spotify_track_search_url = "http://ws.spotify.com/search/1/track.json?q=" | |
| function! OpenUri(uri) | |
| exec "silent !explorer " . a:uri | |
| endfunction | |
| function! OpenLine() | |
| let uri = b:uris[line(".")-2] | |
| call OpenUri(uri) | |
| endfunction |
| package fact; | |
| import static java.lang.Math.PI; | |
| import static java.lang.Math.exp; | |
| import static java.lang.Math.log; | |
| import static java.lang.Math.pow; | |
| import static java.lang.Math.rint; | |
| import static java.lang.Math.sqrt; | |
| public class FactAndFib { |
I hereby claim:
To claim this, I am signing this object: