This file contains 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
for branch in `git for-each-ref --format="%(refname)" refs/heads`; do | |
echo $branch :; git ls-tree -r --name-only $branch | grep '<foo>' | |
done |
This file contains 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
# file type PDF | |
# word is in odd page and meaning is in even page | |
require 'rubygems' | |
require "pdf/reader" | |
reader = PDF::Reader.new("Vocabulary Flash Cards1.pdf") | |
word_count = reader.page_count / 2 | |
random_word_index = rand(2..word_count) * 2 - 1 | |
# 2.. is used because first 4 pages contains conver and table of contents |
This file contains 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
** hello world 1 | |
[ ] Test |
This file contains 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 |
This file contains 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
This is a test |