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 'aws' | |
class Rake::Task | |
def replace &block | |
@actions.clear | |
prerequisites.clear | |
enhance &block | |
end | |
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
module Net | |
class HTTP | |
alias_method '__initialize__', 'initialize' | |
def initialize(*args,&block) | |
__initialize__(*args, &block) | |
ensure | |
@debug_output = $stderr ### if ENV['HTTP_DEBUG'] | |
end | |
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
ENV["RACK_ENV"] ||= 'development' | |
EM.run do | |
connection = AMQP.connect(:host => '127.0.0.1') | |
puts "Connected to RabbitMQ. Running #{AMQP::VERSION} version of the gem..." | |
@@s3 = UberS3.new( | |
{ access_key: 'XXX', | |
secret_access_key: 'XXX', | |
bucket: "my-project-#{ENV['RACK_ENV']}", |
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
;; Add MELPA to package sources | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.org/packages/") t) | |
(package-initialize) | |
;; Set my email address. | |
(setq user-mail-address "[email protected]") | |
;; Set the shell emacs uses. |
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
gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/local/Cellar/libxml2/2.9.4/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.4/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28_1 --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib |
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
;; Install these packages | |
;; use-package | |
;; alchemist | |
;; all-the-icons | |
;; all-the-icons-dired | |
;; avy | |
;; dimmer | |
;; diminish | |
;; doom-themes | |
;; doom-modeline |