Skip to content

Instantly share code, notes, and snippets.

import {
Http,
RequestOptions,
BaseRequestOptions,
ResponseOptions,
BaseResponseOptions,
BrowserXhr,
XHRBackend,
} from 'angular2/http';
import {Config} from 'ng2-ui-auth';
require 'nokogiri'
require 'open-uri'
class Scraper
def self.scrape_page url
Nokogiri::HTML(open(url))
end
def self.to_json
{% if disabled %}disabled{% endif %}
Joe Mastey: (Effectively) building a (self-sustaining) culture of learning
@jmmastey
josephmastey.com
What he's working with is not people who are new to the field. He wants to get people over the course of their careers to get better at what they're doing. The fact that they start learning the algorithms early on is great, but you're supposed to be a better craftsman year after year.
About his company:
- Fast-paced in a good day
- Deadline driven in a less good way
- Dozens of Rails codebases from 1.2 to 4.2
{
"tabLabel" => "\\*Project Title",
"value" => pledge.project.title,
},
{
"tabLabel" => "\\*Investment Amount",
"value" => pledge.currency_pretty_amount,
},
{
"tabLabel" => "\\*Issuer Name",
<script>
console.log("Page path: {{ page.path }}");
</script>
{% if site.include_project_location and projects_nearby.size > 0 %}
<div class="home-popular-project">
<div class="container_12">
<div class="grid_12 wrap-title">
<h2 class="common-title">Projects near {{ current_city }}</h2>
<a class="be-fc-orange" href="/{{ locale }}/explore?query={{ current_city }}">View all</a>
</div>
<div class="clear"></div>
<div class="lst-popular-project clearfix">
{% for project in projects_nearby %}
Error: #<NoMethodError: undefined method `new' for RbConfig:Module>
addresses=[]
CSV.readlines("emails.csv").each do |file|
addresses << file
end
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command