I hereby claim:
- I am aortbals on github.
- I am aortbals (https://keybase.io/aortbals) on keybase.
- I have a public key whose fingerprint is 6DEA C6F4 A4AC 9F4D 8FA0 3BC3 FB6E C0A1 138F 3D6A
To claim this, I am signing this object:
#!/bin/bash | |
# Title: rsync_time_machine.sh | |
# Description: Time machine backup via rsync for any unix machine | |
# Usage: | |
# | |
# - Set the following variables: | |
# `HOME`: the home directory on the local machine to be backed up | |
# `HOST`: the SSH destination to send the backup to | |
# `REMOTEBACKUPDIR`: the location on the remote destination to store the backup |
#! /usr/bin/python | |
# Dispatch - synchronize two folders | |
import os | |
import filecmp | |
import shutil | |
from stat import * | |
class Dispatch: | |
''' This class represents a synchronization object ''' |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="ArrayController Live Filtered Content" /> | |
<meta charset=utf-8 /> | |
<title>ArrayController Live Filtered Content</title> | |
<script src="http://code.jquery.com/jquery-2.0.2.js"></script> | |
<script src="http://builds.emberjs.com/handlebars-1.0.0.js"></script> | |
<script src="http://builds.emberjs.com/release/ember.js"></script> | |
</head> |
# You should export your editor | |
# `export EDITOR=vim` | |
createMigrationAndOpen() { | |
rails g migration $1 | |
ls db/migrate/* | tail -n1 | xargs $EDITOR | |
} | |
alias migration=createMigrationAndOpen |
# Sometimes it's necessary to perform a test of new SMTP settings. | |
# Should be run from within the rails environment. | |
# Tested with Rails 4.0.2 | |
ActionMailer::Base.smtp_settings = { | |
address: ENV['MAILER_ADDRESS'], | |
domain: ENV['WEB_HOST'], | |
port: ENV['MAILER_PORT'], | |
user_name: ENV['MAILER_USER'], | |
password: ENV['MAILER_PASSWORD'], |
// Media Queries in Stylus | |
// | |
// Inspired by Anthony Short's _media-queries.scss to Stylus. | |
// https://gist.github.com/anthonyshort/2028061 | |
// | |
// Usage: | |
// | |
// @media tablet-portrait-and-below | |
// margin: 0 | |
// ... |
I hereby claim:
To claim this, I am signing this object:
/* global require, module */ | |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
var mergeTrees = require('broccoli-merge-trees'); | |
var app = new EmberApp({ | |
trees: { | |
styles: mergeTrees([ | |
'bower_components/bourbon/dist', |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
isAdministrator: false, | |
notAdministrator: Ember.computed.not('isAdministrator') | |
}); |