Skip to content

Instantly share code, notes, and snippets.

View superscott's full-sized avatar
щ(ಠ益ಠщ) (✖╭╮✖) ᕦ(ò_óˇ)ᕤ

superscott superscott

щ(ಠ益ಠщ) (✖╭╮✖) ᕦ(ò_óˇ)ᕤ
View GitHub Profile
superscott / .zlogin
Last active August 18, 2020 05:37
oh-my-zsh files.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Netflix Keynote:
AWS - three regions. (US-W, US-E, EU)
300 + Microservices :: Dev ownership includes Deployment and Uptime
Software is getting more complex:
--how we interact with software
mobile. IoT. rapid rate of change.
superscott / onetime_playbook.yml
Created October 9, 2014 22:16
initial* shellshock bash test for ansible
- hosts: all
sudo: True
gather_facts: no
- command: env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
register: output
- debug: var=output
superscott / kafka
Created September 12, 2014 00:27
Simple Kafka Ubuntu init.d Startup Script
# Check that networking is up.
#[ ${NETWORKING} = "no" ] && exit 0
# See how we were called.
case "$1" in
superscott /
Last active August 29, 2015 14:05
check if azure vm is running.....
# Pass the vm name as the first argument
# Check to make sure the VM is Present (in a silly way).
# data = good, warn = bad.
vm_exist=`azure vm show $vm_name | awk '{print $1}'| uniq | sed 's/://g' | grep warn`
# Default Time Output for Pretty Print.
superscott /
Last active August 29, 2015 14:05
WPScan Error Output
~/projects/wpscan [13:22:19] [ruby-2.1.2@rails4] $ curl -IkL
HTTP/1.1 301 Moved Permanently
Content-Length: 157
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/8.0
X-Powered-By: PHP/5.4.23
X-Powered-By: ASP.NET
Set-Cookie: ARRAffinity=1585cb42abd371ffda100f8cd315354b3b6a2e7476bd3a0acfa838f0a0af0abb;Path=/;
@cache ||= begin
return true if condition1 && condition2
return true if condition3
return true if condition4
superscott /
Created May 22, 2014 13:38

Keybase proof

I hereby claim:

  • I am superscott on github.
  • I am superscott ( on keybase.
  • I have a public key whose fingerprint is 3187 DA2F 5515 23DE 9591 7841 3293 6ED8 5088 25EF

To claim this, I am signing this object:

desc 'Validating JavaScript with Ant /lib/tasks/js_validate/'
task 'validate:javascript' do
puts 'Validating JavaScript with Ant /lib/tasks/js_validate/'
puts `cd #{Rails.root}/lib/tasks/js_validate/ && ant validate-javascript`
source ''
gem 'rails', '4.0.4'
gem 'mysql2'
group :development do
gem 'better_errors'
gem 'binding_of_caller'
gem 'awesome_print', :github => 'michaeldv/awesome_print'
gem 'pry'