This file contains 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 | |
# A free dropbox to your existing webserver | |
# Dependencies: | |
# $ brew install watchman terminal-notifier | |
# Configure watchman: | |
# $ watchman watch ~/uploads | |
# $ watchman -- trigger ~/uploads uploads -- /path/to/upload.sh |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am jhaals on github. | |
* I am jhaals (https://keybase.io/jhaals) on keybase. | |
* I have a public key ASB4-35ra5GWl5KZgRkurf5YuahkFgA1t83qKQHjRlvgYAo | |
To claim this, I am signing this object: |
This file contains 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
require 'spec_helper' | |
describe port(53) do | |
it { should be_listening } | |
end |
This file contains 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
require 'pathname' | |
require 'serverspec' | |
require 'net/ssh' | |
def fixture_path | |
Pathname.new(File.expand_path(File.join(__FILE__, '..', 'fixtures'))) | |
end | |
include SpecInfra::Helper::Ssh | |
include SpecInfra::Helper::DetectOS |
This file contains 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
require 'data_mapper' | |
require 'dm-migrations' | |
require 'cinch' | |
DataMapper::Logger.new($stdout, :debug) | |
DataMapper.setup(:default, 'postgres://localhost/irc') | |
class Channel | |
include DataMapper::Resource | |
property :id, Serial |
This file contains 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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Solarized Color Scheme/Solarized (dark).tmTheme", | |
"font_size": 13.0, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"tab_size": 4, | |
"theme": "Soda Light.sublime-theme", |