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
Show hidden characters
{ | |
// Your GitHub API token | |
// see: https://github.com/condemil/Gist#generating-access-token | |
"token": "", | |
// Show GitHub organizations | |
// Example: "company1", "company2" | |
"include_orgs": [], | |
// Show GitHub users |
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 'spec_helper' | |
describe "Static pages" do | |
describe "Home page" do | |
it "should have the content 'Sample App'" do | |
visit '/static_pages/home' | |
expect(page).to have_content('Sample App') | |
end | |
it "should have the title 'Home'" do |
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
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.2' | |
# Use sqlite3 as the database for Active Record | |
gem 'sqlite3' | |
gem 'launchy' |
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
Template.myTemplate.myHelper = function() { | |
return myCollection.findOne(); | |
} | |
// IS THIS ALL YOU'RE TRYING TO EXPLAIN? | |
<template name="myTemplate"> | |
{{myHelper.status}} | |
{{myHelper.name}} | |
</template> |
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
Stand back while Meteorite does its thing | |
Done installing smart packages | |
Ok, everything's ready. Here comes Meteor! | |
[[[[[ ~/projects/microscope ]]]]] | |
=> Started proxy. | |
=> Started MongoDB. |
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
<template name="UserStatusList"> | |
<div id="UserStatusList"> | |
{{#each onlineUser}} | |
<div class="username" style="background-color: {{profile.textcolor}}"> | |
{{ profile.username}} | |
</div> | |
{{>foo}} | |
{{/each}} | |
</div> | |
</template> |
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
var Car = { | |
init: function(){ | |
this.engine = "on"; | |
}, | |
engineToggle: function(){ | |
if (this.engine == "on") this.engine = "off"; | |
if (this.engine == "off") this.engine = "on"; | |
}, | |
engineReportStatus: function(){ | |
console.log(this.engine); |
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
Meteor.startup(function(){ | |
var github = new Github({ | |
version: "3.0.0" | |
}); | |
^--- i want to inspect the github object | |
}); |
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
I20140919-16:12:08.471(-4)? ----------- getSummonerByName ------------ | |
I20140919-16:12:08.560(-4)? Found update! | |
I20140919-16:12:08.562(-4)? ----------- getSummonerByName ------------ | |
I20140919-16:12:08.563(-4)? No updates available | |
I20140919-16:12:13.120(-4)? ----------- getSummonerByName ------------ | |
I20140919-16:12:13.123(-4)? Found update! | |
I20140919-16:12:13.124(-4)? ----------- getSummonerByName ------------ | |
I20140919-16:12:13.125(-4)? No updates available | |
I20140919-16:12:18.111(-4)? ----------- getSummonerByName ------------ | |
I20140919-16:12:18.113(-4)? Found update! |
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
Irelia = Npm.require("irelia"); | |
_currentMatches = 0; | |
_currentMatchesListeners = new Tracker.Dependency(); | |
currentLikeCount = function() { | |
_currentMatchesListeners.depend(); | |
return _currentMatches; | |
} | |
Meteor.setInterval(function() { |
OlderNewer