launchctl load ~/Library/LaunchAgents/local.gmailbackup.plist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo "Hello Octocat!" ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.ssh.private_key_path = File.expand_path("../vagrantkey", __FILE__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# MTV videotar player | |
if [ $# -lt 1 ]; then | |
echo "Usage: $0 <videotar URL> [additional parameters to player]" >&2 | |
exit 1 | |
fi | |
CURL="curl -silent" | |
URL=$($CURL "$1" | sed -n 's/^.*\(http.*wmv\).*$/\1/p') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[branch] | |
autosetuprebase = always | |
[push] | |
default = current | |
[color] | |
branch = auto | |
diff = auto | |
interactive = auto | |
status = auto | |
[alias] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
#cryptsetup luksFormat -c aes-ecb-plain -s 128 | |
#open, mount | |
cryptsetup luksOpen /dev/disk/by-uuid/e0f51d72-1331-4663-a4ac-281cacdbe691 backup | |
mount /media/backup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | |
# $Id$ | |
PortSystem 1.0 | |
name zlib | |
version 1.2.5 | |
categories archivers | |
maintainers landonf ryandesign openmaintainer | |
license zlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ADD this to Rakefile and run it by issuing rake roles.to_json | |
ROLE_DIR = File.expand_path(File.join(TOPDIR, "roles")) | |
namespace :roles do | |
desc "Convert ruby roles from ruby to json, creating/overwriting json files." | |
task :to_json do | |
Dir.glob(File.join(ROLE_DIR, '*.rb')) do |rb_file| | |
role = Chef::Role.new | |
role.from_file(rb_file) | |
json_file = rb_file.sub(/\.rb$/,'.json') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rotate :: String -> [String] | |
rotate l = rotate_recursive l [] | |
rotate_recursive :: String -> String -> [String] | |
rotate_recursive [] list = [] | |
rotate_recursive list1 list2 = | |
let (h1:t1) = list1 | |
in [list1 ++ list2] ++ rotate_recursive t1 (list2 ++ [h1]) | |
-- http://code.google.com/codejam/contest/1460488/dashboard#s=p2 |
sbt gen-idea
OlderNewer