Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
;;; See: https://www.reddit.com/r/emacs/comments/3icpo7/take_a_break_every_3_hours/ | |
(defvar breaktime-timer nil | |
"Holds the running break timer (if any).") | |
(defvar breaktime-interval (* 3 60 60) | |
"How often to take a break, in seconds.") | |
(defun breaktime--take-a-break () | |
(interactive) | |
(switch-to-buffer (get-buffer-create "*breaktime*")) | |
(let ((inhibit-read-only t)) |
#!/bin/bash | |
# exit on any error | |
set -o errexit | |
# A few tunable variables | |
NAME='atomic' | |
NAME='try' | |
#NAME='test' | |
#DISK='/guests/rhel-guest-image-7.1-20150224.0.x86_64.qcow2' |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
[DEFAULT] | |
# | |
# From tempest.config | |
# | |
# Whether to disable inter-process locks (boolean value) | |
#disable_process_locking = false | |
# Directory to use for lock files. (string value) |
# | |
# Cookbook Name:: Cookbook | |
# Spec:: default | |
# | |
require 'spec_helper' | |
describe 'cookbook::default' do | |
shared_examples_for :default_recipe do |
Use node-inspector to debug hubot!
sudo npm install -g node-inspector
coffee --nodejs --debug $(which hubot)
var fs = require('fs'); | |
var rfs = fs.readFileSync; | |
var wfs = fs.writeFileSync; | |
var path = require('path'); | |
var yaml = require('js-yaml'); | |
var inquirer = require('inquirer'); | |
var program = require('commander'); | |
var version = require('./package.json').version; | |
program |
# | |
# Copyright 2012 Mortar Data Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
direct discussion about administrative action away from the main channel and into #reddit-diabetes-ops
to minimise disruption. our -ops
channel is the place where users should come to ask for our help. examples: