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 up OSX preferences | |
# | |
# Inspired by: https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
########################################### | |
# CONFIG | |
HOSTNAME="machiavellia" | |
TIMEZONE="America/Chicago" # 'systemsetup -listtimezones' |
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 | |
# Place the SSH key for the git service account used to access private repositories | |
home_path="$(cd && pwd)" | |
ssh_path="$home_path/.ssh" | |
mkdir -p $ssh_path | |
provider="bitbucket.org" | |
#provider="github.com" |
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
class graphite_server { | |
exec { 'get carbon': | |
path => [ "/bin", "/usr/bin", "/usr/sbin" ], | |
command => "rpm -Uvh http://launchpadlibrarian.net/61905213/carbon-0.9.7-1.noarch.rpm", | |
creates => "/etc/carbon/carbon.conf", | |
unless => "yum list | grep carbon | grep installed", | |
} | |
exec { 'get whisper': | |
path => [ "/bin", "/usr/bin", "/usr/sbin" ], |
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
// ==UserScript== | |
// @name Citrix VDI Auto Login | |
// @version 0.1 | |
// @description Auto-login to Citrix VDI. Replace the ALL-CAPS strings below with your Domain, Username and Password | |
// @match https://myaccess.MYDOMAIN.com/vpn/index.html | |
// @copyright 2013, public domain | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js | |
// ==/UserScript== | |
$("input[name=login]").val("MYUSERNAME"); |