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
diff --git a/sass/base/_solarized.scss b/sass/base/_solarized.scss | |
index 45d8fc5..9e915cc 100644 | |
--- a/sass/base/_solarized.scss | |
+++ b/sass/base/_solarized.scss | |
@@ -15,7 +15,7 @@ $solar-blue: #268bd2 !default; | |
$solar-cyan: #2aa198 !default; | |
$solar-green: #859900 !default; | |
-$solarized: dark !default; | |
+$solarized: light !default; |
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
From 4694737d7a17db39283d0fc614359777472df217 Mon Sep 17 00:00:00 2001 | |
From: JohnMorales <[email protected]> | |
Date: Mon, 6 Jan 2014 05:50:02 -0500 | |
Subject: [PATCH] Fixing rake issue | |
--- | |
Gemfile.lock | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/Gemfile.lock b/Gemfile.lock |
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
class Board | |
BLACK = :b | |
RED = :r | |
WIDTH = 7 | |
HEIGHT = 6 | |
def initialize() | |
@board = [] | |
@current_player = BLACK |
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
Good afternoon fellow space travelers, thanks for coming along on this mission. We still have about a week | |
before we arrive at New Zlorpia, so please return your stasis tubes to their original upright position and | |
prepare for your mission briefing. | |
We are going to be negotiating a trade agreement with the Zlorpians for their supply of Farkle seeds. They | |
have a much different way of counting than we do, and I'm concerned that if we don't have a good way to | |
work with their number system, we'll be at a disadvantage in negotiations. Let me explain: | |
The zlorpians have a single arm that comes out of their forehead, with a hand that has 3 fingers. As a | |
result, our base-10 way of counting (based on our ten fingers) is as alien to them as their way is to us. |
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
require './zlorpian' | |
# Good afternoon fellow space travelers, thanks for coming along on this mission. We still have about a week | |
# before we arrive at New Zlorpia, so please return your stasis tubes to their original upright position and | |
# prepare for your mission briefing. | |
# We are going to be negotiating a trade agreement with the Zlorpians for their supply of Farkle seeds. They | |
# have a much different way of counting than we do, and I'm concerned that if we don't have a good way to | |
# work with their number system, we'll be at a disadvantage in negotiations. Let me explain: |
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
class MyClass | |
def foo | |
end | |
end |
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
class MyClass | |
def self.how_many_objects? | |
@number_of_objects | |
end | |
def self.record_new_object | |
@number_of_objects = (@number_of_objects||0).next | |
end | |
def initialize | |
self.class.record_new_object #since it’s a class instance, ‘number_of_objects’ not accesible via the object instance initialize method. |
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
class MyClass | |
@@number_of_objects = 0 | |
def self.how_many_objects? | |
@@number_of_objects | |
end | |
def initialize | |
@@number_of_objects = @@number_of_objects.next # 'number_of_objects' asscesible to object instances of the class. (i.e. initialize is an instance method..) | |
end | |
def foo |
NewerOlder