Skip to content

Instantly share code, notes, and snippets.

щ(ಠ益ಠщ) (✖╭╮✖) ᕦ(ò_óˇ)ᕤ

superscott superscott

щ(ಠ益ಠщ) (✖╭╮✖) ᕦ(ò_óˇ)ᕤ
Block or report user

Report or block superscott

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
superscott / .zlogin
Last active Jul 22, 2019
oh-my-zsh files.
View .zlogin
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
View gist:32868c92ebf9ba0fabd0
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 Oct 9, 2014
initial* shellshock bash test for ansible
View onetime_playbook.yml
- 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 Sep 12, 2014
Simple Kafka Ubuntu init.d Startup Script
View kafka
# Check that networking is up.
#[ ${NETWORKING} = "no" ] && exit 0
# See how we were called.
case "$1" in
superscott /
Last active Aug 29, 2015
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 Aug 29, 2015
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=/;
View begin-end.rb
@cache ||= begin
return true if condition1 && condition2
return true if condition3
return true if condition4

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:

View valid.rake
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`
View Gemfile
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'
You can’t perform that action at this time.