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
| require 'rubygems' | |
| require 'bundler' | |
| Bundler.require(:default) | |
| Bunny.run(ENV['AMQP_URL']) do |conn| | |
| routing_key = 'test.demonstration' | |
| conn.with_channel do |ch| | |
| queue = ch.queue('composinator.test.demonstration') | |
| exchange = ch.direct('composinator') |
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
| let(:ftp_url) { | |
| if ENV['FTP_TEST_URL'] | |
| URI(ENV['FTP_TEST_URL']) | |
| else | |
| pending "Set ENV['FTP_TEST_URL'] to enable" | |
| end | |
| } |
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
| -- Prerequisites: | |
| -- Boto: sudo pip install boto | |
| -- Boto Config File: see https://code.google.com/p/boto/wiki/BotoConfig | |
| -- Add PL Language Extensions | |
| CREATE EXTENSION IF NOT EXISTS plpythonu; | |
| CREATE OR REPLACE FUNCTION _s3_get(bucket text, key text) | |
| RETURNS bytea AS $$ |
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 | |
| git checkout master | |
| git pull | |
| git branch --remotes --merged | grep origin > .master_merged | |
| git checkout release-staging | |
| git pull | |
| git branch --remotes --merged | grep origin > .staging_merged | |
| diff .master_merged .staging_merged | |
| rm .master_merged .staging_merged |
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 MetaDerp | |
| ### DENSE HORRIBLE CODE | |
| # This should be broken up into smaller chunks possibly moved out into a mixin | |
| # to hide it's horribleness | |
| class << self | |
| def hunt(name, *keys) | |
| class_eval %[ | |
| def #{name} | |
| #{keys.map{|key| "row[#{key.inspect}]" }.join(' || ')} | |
| end |
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
| # PostgreSQL Client Authentication Configuration File | |
| # =================================================== | |
| # | |
| # Refer to the "Client Authentication" section in the PostgreSQL | |
| # documentation for a complete description of this file. A short | |
| # synopsis follows. | |
| # | |
| # This file controls: which hosts are allowed to connect, how clients | |
| # are authenticated, which PostgreSQL user names they can use, which | |
| # databases they can access. Records take one of these forms: |
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
| require 'java' | |
| require 'JLink.jar' | |
| # Java::ComWolframJlink::KernelLink | |
| # http://reference.wolfram.com/mathematica/JLink/ref/java/com/wolfram/jlink/KernelLink.html | |
| # http://reference.wolfram.com/mathematica/JLink/ref/java/com/wolfram/jlink/MathLink.html | |
| # Java::ComWolframJlink::MathLinkException | |
| # Java::ComWolframJlink::MathLinkFactory | |
| # http://reference.wolfram.com/mathematica/JLink/ref/java/com/wolfram/jlink/MathLinkFactory.html |
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
| set wildmode=list,longest | |
| if has("gui_running") | |
| colorscheme darkblue | |
| set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold:h13 | |
| set guioptions-=T | |
| endif | |
| if has("gui_macvim") |
NewerOlder