This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
- Hulu / HuluPlus
- CBS
- ABC
- MTV
- theWB
- CW TV
- Crackle
- NBC
| if !Exceptional::Config.api_key.nil? && Rails.env == 'production' | |
| begin | |
| class Delayed::Worker | |
| def handle_failed_job_with_exceptional(job, error) | |
| Exceptional.handle(error, "Delayed::Job #{self.name}") | |
| handle_failed_job_without_exceptional(job, error) | |
| Exceptional.context.clear! | |
| end | |
| alias_method_chain :handle_failed_job, :exceptional | |
| Exceptional.logger.info "Lars Pind's custom DJ integration enabled" |
| ## PayRoll gem | |
| # lib/pay_roll.rb | |
| module PayRoll | |
| class << self | |
| attr_accessor :employee_directory | |
| def config | |
| yield self | |
| end | |
| end |
| #!/bin/sh | |
| #/ Usage: clean-merged-branches [-f] | |
| #/ Delete merged branches from the origin remote. | |
| #/ | |
| #/ Options: | |
| #/ -f Really delete the branches. Without this branches are shown | |
| #/ but nothing is deleted. | |
| set -e | |
| # show usage maybe |
| class ActiveRecord::Base | |
| attr_accessible nil | |
| def update_attributes *args | |
| raise "Don't call #{self.class.name}#update_attributes. " + | |
| "Mass assignment is pure evil." | |
| end | |
| end |
This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| #!/usr/bin/env sh | |
| if ! which md5sum > /dev/null; then | |
| echo Install md5sum | |
| exit 1 | |
| fi | |
| if ! which curl > /dev/null; then | |
| echo Install curl | |
| exit 1 |
| import React, { Component, PropTypes } from 'react' | |
| import { connect } from 'react-redux' | |
| /* ACTIONS */ | |
| export const ADD = 'something_clever/ADD' | |
| export function add () { | |
| return { type: ADD } | |
| } |