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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu-precise64" | |
config.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box" | |
# Sets the ip we'll use to access the box | |
config.vm.network :private_network, ip: "10.0.0.10" | |
config.vm.hostname = "detroit" |
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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu-precise64" | |
config.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box" | |
# Sets the ip we'll use to access the box | |
config.vm.network :private_network, ip: "10.0.0.10" | |
config.vm.hostname = "detroit" |
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
# apt-get update; could be optimized to not run every time | |
bash "updates packages" do | |
code "apt-get update" | |
end | |
# apt-get install git | |
package "git" | |
# Executes nginx recipe. | |
include_recipe "detroit::nginx" |
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
worker_processes <%= node[:nginx][:worker_processes] %>; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
server { | |
listen 80; |
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
#!/usr/bin/env ruby | |
require 'scraperwiki' | |
require 'rubygems' | |
require 'active_support/time' | |
require 'nokogiri' | |
class Scraper |
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 NetSuite | |
module Records | |
class CustomerRefundDepositList | |
include Support::Fields | |
include Support::Records | |
include Namespaces::TranCust | |
fields :amount, :apply, :currency, :deposit_date, :doc, :line, :ref_num, :remaining, :total, :replace_all | |
def initialize(attributes = {}) |
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
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/server_version.rb:50:in `rescue in block (2 levels) in negotiate!' | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/server_version.rb:46:in `block (2 levels) in negotiate!' | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/server_version.rb:45:in `loop' | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/server_version.rb:45:in `block in negotiate!' | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/server_version.rb:43:in `loop' | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/server_version.rb:43:in `negotiate!' | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/server_version.rb:32:in `initialize' | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/session.rb:78:in `new' | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/session.rb:78:in `block in initialize' | |
/Users/B |
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
endpoint_deploy/ master $ cap spree deploy | |
DEBUG Uploading /tmp/git-ssh.sh 0.0% | |
INFO Uploading /tmp/git-ssh.sh 100.0% | |
INFO [f4263c57] Running /usr/bin/env chmod +x /tmp/git-ssh.sh on ep-spree1.spree.fm | |
DEBUG [f4263c57] Command: /usr/bin/env chmod +x /tmp/git-ssh.sh | |
INFO [f4263c57] Finished in 0.410 seconds command successful. | |
cap aborted! | |
connection closed by remote host | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/server_version.rb:50:in `rescue in block (2 levels) in negotiate!' | |
/Users/Buccolo/.gem/ruby/2.0.0/gems/net-ssh-2.6.8/lib/net/ssh/transport/server_version.rb:46:in `block (2 levels) in negotiate!' |
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 'httparty' | |
require 'json' | |
require 'openssl' | |
HUB_URL = "http://localhost:4000/push" | |
STORE_ID = "5180e2507575e48dd0000001" | |
STORE_SECRET_KEY = "1234567890" | |
timestamp = Time.now.utc().to_i - 4600 |
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
==Phrack Inc.== | |
Volume One, Issue 7, Phile 3 of 10 | |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | |
The following was written shortly after my arrest... | |
\/\The Conscience of a Hacker/\/ | |
by |