- ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- brew doctor
- brew update
0 | price:.23 sqft:.25 age:.05 2006 | |
1 2 'second_house | price:.18 sqft:.15 age:.35 1976 | |
0 1 0.5 'third_house | price:.53 sqft:.32 age:.87 1924 |
From Meteor's documentation:
In Meteor, your server code runs in a single thread per request, not in the asynchronous callback style typical of Node. We find the linear execution model a better fit for the typical server code in a Meteor application.
This guide serves as a mini-tour of tools, trix and patterns that can be used to run async code in Meteor.
Sometimes we need to run async code in Meteor.methods
. For this we create a Future
to block until the async code has finished. This pattern can be seen all over Meteor's own codebase:
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
{ | |
"name": "Github", | |
"description": "Github", | |
"version": "1.0", | |
"icons": { | |
"128": "128.png" | |
}, | |
"app": { | |
"urls": [ | |
"https://github.com/" |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
def self.create_from_hash(registration_hash) | |
unless registration_hash || resigration_hash.empty? | |
return nil | |
end | |
provider = registration_hash[:provider] | |
info = registration_hash[:info] | |
user = User.new |
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
#include <cmath> | |
#define forn(i, n) for(int i = 0; i < (n); ++i) | |
#define FUNC(i) (*(dispatch[funcs[i]])) | |
#define MFUNC(o) ([](double a, double b) { return a o b; }) | |
using namespace std; |
source :rubygems | |
# We are not loading Active Record, nor Active Resources etc. | |
# We can do this in any app by simply replacing the rails gem | |
# by the parts we want to use. | |
gem "actionpack", "~> 3.2" | |
gem "railties", "~> 3.2" | |
gem "tzinfo" | |
# Let's use thin |