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
Last login: Mon Oct 6 23:16:20 on ttys001 | |
Avalanche:xcode6test daniel$ rake clean:all --trace | |
WARNING! BubbleWrap::HTTP is deprecated and will be removed, see https://github.com/rubymotion/BubbleWrap/issues/308 | |
WARNING! Switch to a different networking library soon - consider AFNetworking: http://afnetworking.com/ | |
WARNING! You can use the 'bubble-wrap-http' gem if you need compatibility: https://github.com/rubymotion/BubbleWrap-HTTP | |
** Invoke clean:all (first_time) | |
** Execute clean:all | |
** Invoke clean (first_time) | |
** Execute clean | |
rm -rf ./build |
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
RED="\033[0;31m" | |
YELLOW="\033[0;33m" | |
GREEN="\033[0;32m" | |
NO_COLOUR="\033[0m" | |
function parse_git_branch () { | |
git status -b --porcelain 2> /dev/null | head -1 | sed -e 's/## //' -e 's/\.\.\..*//' | |
} |
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
<h1 align="center">Recipe for Pulao</h1> | |
<ol><li>Make mixtures:<br><table border> | |
<tr><th colspan="2">Mix 1 (blender)</th></tr> | |
<tr><td> 1 inch</td><td>fresh ginger</td></tr> | |
<tr><td> 4 </td><td>Garlic cloves</td></tr> | |
<tr><td> 1</td><td> chopped onion</td></tr> | |
<tr><td> 1 handful</td><td> corriander leaves(silanto)</td></tr> | |
<tr><th colspan="2">Mix 2 (pot)</th></tr> |
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
class Object | |
def self.my_attr_accessor variable | |
class_eval("def #{variable}= val; @#{variable} = val; end") | |
class_eval("def #{variable}; @#{variable}; end") | |
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
module PlayingCards | |
class Card | |
attr_accessor :rank, :suit | |
def initialize(a_rank, a_suit) | |
@rank = parse_rank a_rank | |
@suit = parse_suit a_suit | |
end | |