[ Launch: Tributary inlet ] 6151399 by BruceHubbard
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
PLEASE NOTE THE NEW LOCATION! We'll be meeting at Cintrifuse and the Brandery's new location Union Hall (1313 Vine St.). We also have a food sponsor for this meeting (thank you Differential!) so we'll be providing pizza. | |
We're going to have three talks: | |
Ry Walker will be giving a brief intro to Meteor talk. Heard of Meteor but don't know much about it? Then this is your talk. Come and learn about the awesomeness of Meteor. | |
Bruce Hubbard will be giving a brief talk about new JavaScript ES2015 language features. There has been a huge effort lately to compile other languages into JavaScript (Coffeescript, TypeScript, etc) mostly because of perceived flaws in the JavaScript language. ES2015 is a great leap forward for JavaScript and helps fix some of the long complained about quirks and missing language features. | |
Josh Owens will be giving a brief talk about securing a Meteor application. While running Meteor Club and helping others with their Meteor applications Josh has seen a lot of stupid securit |
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
rec test.wav silence 1 0.50 0.1% 1 00:02 0.1% |
[ Launch: Tributary inlet ] 6088551 by BruceHubbard
[ Launch: Tributary inlet ] 6082803 by BruceHubbard
[ Launch: Tributary inlet ] 5187083 by BruceHubbard
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
//jQuery | |
$('#foo').addClass('bar'); | |
$('.foo').addClass('bar').removeClass('list').toggleClass('highlight'); | |
//DOM | |
//classList makes this easy! | |
document.querySelector("#foo").classList.add('bar'); | |
//holy crap that is a lot of typing for a simple example! |
[ Launch: Tributary inlet ] 4637557 by BruceHubbard
var week = {
updateGame: function(game) {
var gameToUpdate = _.find(this.games, function(g) { return g.id === game.id; });
if(gameToUpdate) {
if(game.awayTeam) gameToUpdate.awayTeam.total(game.awayTeam.total);
if(game.homeTeam) gameToUpdate.homeTeam.total(game.homeTeam.total);
}
},
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
Nokogiri::HTML.parse(open(url)).css('.tn a').collect {|img| img["href"]} | |
#open(url) - opens and returns an html document | |
#css('selector') is just like jquery except server side. It returns a (ruby equivalent of a) linq-like enumerable | |
#collect is the same as .NET's select function | |
#So this one line when I set url to a Craigslist listing detail page will open that page and return an array of images for that listing. |
NewerOlder