Skip to content

Instantly share code, notes, and snippets.

View voodoologic's full-sized avatar

Doug voodoologic

View GitHub Profile
#
# Nginx Dockerfile
#
# https://github.com/dockerfile/nginx
#
# Pull base image.
FROM ubuntu:18.04
LABEL container=hatorade-nginx

Keybase proof

I hereby claim:

  • I am voodoologic on github.
  • I am voodoologic (https://keybase.io/voodoologic) on keybase.
  • I have a public key ASCuYDPBZtL2ymHN9NLzZlE9wXbB1eEPMMeUeYyKugh4bQo

To claim this, I am signing this object:

@voodoologic
voodoologic / payload_grabber.rb
Last active September 29, 2015 03:34
ruby get all ducky payloads
require 'open-uri'
require 'mechanize'
require 'active_support/all'
URL = 'https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Payloads'
class PayloadGrabber
def initialize(url=URL)
@agent = Mechanize.new
@agent.get(url)
get '/:property/:actor' do |property, actor|
@actor = Actor.find_by_tv_show_and_character property, actor
@ad_data = AdTracker.setup
@clip_list = ClipList.initialize_from_file(@actor.lists.detect{|list| list["kind"] == "episode-list"}["location"])
@clips = @clip_list.list
erb :"actors/show", :layout => :"layouts/application"
end