I hereby claim:
- I am zuazo on github.
- I am zuazo (https://keybase.io/zuazo) on keybase.
- I have a public key whose fingerprint is ADAE EEFC BD78 6CBB B76B 1662 2195 FF19 5324 14AB
To claim this, I am signing this object:
#!/usr/bin/env python | |
""" | |
Scraper script for emuparadise.me | |
Forked from https://gist.github.com/fopina/8d2ce0b0b03f34e117dd | |
Modified to support roms with multiple download links like Dreamcast games. | |
Usage | |
===== |
/* | |
Forked from https://gist.github.com/p0kR/95e05e689be4e59b1b8fb6e383b9e25a | |
After purchasing a humble book bundle, go to your download page for that bundle. | |
Open a console window for the page and paste in the below javascript | |
this fork downloads all formats and does so without using jquery (since that didnt work for me) | |
note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this | |
Settings (chrome://settings) --> Advanced --> Privacy and security --> Content settings --> PDF documents --> Download PDF files instead of automatically opening them in Chrome --> Turn ON |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# | |
# Syntax: | |
# $ cookbook_name_from_directory.rb [DIRECTORY] | |
# | |
require 'stringio' | |
require 'chef/cookbook/metadata' |
# metadata.rb | |
# This metadata.rb example reads the dependencies from Berksfile.lock. This can | |
# be used to implement the Environment Pattern with Chef Server. | |
# | |
# The Environment Cookbook: | |
# http://blog.vialstudios.com/the-environment-cookbook-pattern/ | |
name 'my_face' | |
# [...] |
def recipe_block_run(&block) | |
@run_context.resource_collection = Chef::ResourceCollection.new | |
instance_eval(&block) | |
Chef::Runner.new(@run_context).converge | |
end | |
def recipe_block(description, &block) | |
recipe = self | |
ruby_block "recipe_block[#{description}]" do | |
block do |
# encoding: UTF-8 | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# More info at http://berkshelf.com/#the-berksfile | |
source 'https://supermarket.chef.io' | |
my_cookbook = ::File.basename(Dir.pwd).sub(/[-_]?cookbook$/, '') | |
# Berkshelf helper to include a local cookbook from disk. |
# encoding: UTF-8 | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# | |
# Available Rake tasks: | |
# | |
# $ rake -T | |
# rake clean # Clean some generated files | |
# rake default # Run doc, style, unit and integration tests |
# encoding: UTF-8 | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# More info at http://bundler.io/gemfile.html | |
source 'https://rubygems.org' | |
# Used when running the tests against different Chef versions: | |
chef_version = ENV.key?('CHEF_VERSION') ? ENV['CHEF_VERSION'] : nil |
# encoding: UTF-8 | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# More info at https://github.com/guard/guard#readme | |
# Style Tests | |
# =========== | |
# - Foodcritic | |
# - RuboCop |