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
| require 'formula' | |
| class Vim < Formula | |
| # Get stable versions from hg repo instead of downloading an increasing | |
| # number of separate patches. | |
| url 'https://vim.googlecode.com/hg/', :revision => 'c0ac5ba66243' | |
| version '7.3.646' | |
| homepage 'http://www.vim.org/' | |
| head 'https://vim.googlecode.com/hg/' |
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
| #include <iostream> | |
| using namespace std; | |
| class Engine | |
| { | |
| public: | |
| Engine(){ | |
| cout << "Engine constructor" << endl; | |
| } |
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 Wheels | |
| { | |
| public: | |
| Wheels(){ | |
| cout << "Wheel constructor" << endl; | |
| } | |
| void spin() { | |
| cout << "I'm spinning ... " << endl; | |
| } | |
| }; |
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 Something | |
| { | |
| public: | |
| void PrintSomething() { | |
| cout << "hi there" << endl; | |
| } | |
| }; | |
| int main() | |
| { |
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
| #include <iostream> | |
| using namespace std; | |
| class Engine | |
| { | |
| public: | |
| Engine(){ | |
| cout << "Engine constructor" << endl; | |
| } |
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
| - styles (create rule) | |
| - don't allow duplicate rule names | |
| - don't use ids for rules | |
| - what if somebody changes the name of the rule? references by name will get screwed up |
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
| div.nav_menu a, | |
| div.nav_menu a:link, | |
| div.nav_menu a:visited { | |
| color: #fff; | |
| text-decoration:none; | |
| font-size:15px; | |
| margin:0 24px 0 0; font-family: Arial, Verdana, Sans-Serif; | |
| } | |
| div.nav_menu a:hover, |
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
| (ns clojure_ttt.computer) | |
| (defprotocol SomeProtocol | |
| (boo [a])) | |
| (defrecord SomeProtocolImpl [b] | |
| SomeProtocol | |
| (boo [this] true)) |
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
| tables.each do | |
| 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 Jasmine | |
| class Config | |
| # Add your overrides or custom config code here | |
| end | |
| end | |
| # Note - this is necessary for rspec2, which has removed the backtrace |