Skip to content

Instantly share code, notes, and snippets.

View elijah's full-sized avatar
🦊

Elijah Wright elijah

🦊
View GitHub Profile
@graymouser
graymouser / hb_all_books_dl.js
Created February 28, 2016 14:09
Humble bundle book bundles - download all books at once
/*
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
*/
$('a').each(function(i){
if ($.trim($(this).text()) == 'MOBI') {
$('body').append('<iframe id="dl_iframe_'+i+'" style="display:none;">');
document.getElementById('dl_iframe_'+i).src = $(this).data('web');
}
});
@joepie91
joepie91 / vpn.md
Last active April 19, 2025 00:38
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
import jenkins.model.*
import com.cloudbees.plugins.credentials.*
import com.cloudbees.plugins.credentials.common.*
import com.cloudbees.plugins.credentials.domains.*
import com.cloudbees.plugins.credentials.impl.*
import com.cloudbees.jenkins.plugins.sshcredentials.impl.*
import org.jenkinsci.plugins.plaincredentials.*
import org.jenkinsci.plugins.plaincredentials.impl.*
import hudson.util.Secret
import hudson.plugins.sshslaves.*
@superjamie
superjamie / raspberry-pi-vpn-router.md
Last active December 29, 2024 07:04
Raspberry Pi VPN Router

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to:

@lusis
lusis / README.md
Last active September 14, 2020 17:47
terraform template to generate serverspec properties

This uses terraform's template_file resource to generate a yaml properties file for serverspec to use.

  • create the Rakefile in your terraform project root
  • create a spec directory and put spec_helper.rb in it
  • create the templates/properties.tmpl.yml file
  • create the serverspec.tf
  • terraform apply

tests

Tests will be matched based on roles defined for a given node.

@joakin
joakin / po.md
Last active August 29, 2015 14:26
PO responsabilities

What do I have to do as a PO? How to drive daily/per sprint/per quarter work? How to not forget some of it?

Daily

  • Team support
    • Phab notifications (current sprint, backlogs)
    • Email pings
    • Sign off in current sprint
  • Triage "Needs triage tasks" and classify them
  • Triage or clarify "Needs analysis" tasks, move them to TODO if necessary
@spuder
spuder / README.md
Last active March 1, 2017 15:16
Dashing cookbook

Working cookbook for dashing

https://github.com/benbria/dashing-chef

First you need to install RVM. This installs sitewide as root, which really is a bad idea unless no one else uses this machine.

sudo apt-get update; apt-get install curl -y
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
\curl -sSL https://get.rvm.io | sudo bash
@joakin
joakin / remoties-notes.md
Created June 16, 2015 07:43
We're all remoties notes
  • Seeing a lot of faces/facial expressions is very useful
  • A/V meetings are faster than audio-only conf calls
  • Proper office space and separation helps
  • Use calendar for meeting. Block your busy times.
  • Default to muted if there's unexpected sounds around (kids, pets, etc)
  • Meetings
    • Aggressively limit them
      • 18people 14cities nonadjacent timezones with only 3 meetings (30m) a week everybody was up to date, finished by mid day ¿tuesday?
  • How:
@dgfitch
dgfitch / FogbugzToPhabricator.fs
Created June 1, 2015 20:37
Automated Fogbugz export to Phabricator import in F#
open FSharp.Data
open FSharp.Data.JsonExtensions
open System.Xml
open System.Net
open System.Web
open System.IO
open System.Text
(*
@asnodgrass
asnodgrass / chefdk-rvm.sh
Last active September 29, 2018 00:50
Making ChefDK work with RVM
# Assumption: Mac OS X
CHEFDK="/opt/chefdk/embedded"
CHEFDK_USER="$HOME/.chefdk/gem/ruby/2.1.0"
RVM_GEMS="$HOME/.rvm/gems"
RVM_RUBIES="$HOME/.rvm/rubies"
RUBY_NAME="ext-chefdk-ruby"
mkdir -p $RVM_RUBIES/$RUBY_NAME
ln -s $CHEFDK/bin $RVM_RUBIES/$RUBY_NAME