Skip to content

Instantly share code, notes, and snippets.

View jakejarvis's full-sized avatar

Jake Jarvis jakejarvis

View GitHub Profile
@laamalif
laamalif / adaway.conf
Last active February 20, 2019 12:47
block ads/tracking with unbound
This file has been truncated, but you can view the full file.
local-zone: "tracking.klickthru.com" redirect
local-data: "tracking.klickthru.com A 0.0.0.0"
local-zone: "click.buzzcity.net" redirect
local-data: "click.buzzcity.net A 0.0.0.0"
local-zone: "ads.admoda.com" redirect
local-data: "ads.admoda.com A 0.0.0.0"
local-zone: "stats.pflexads.com" redirect
local-data: "stats.pflexads.com A 0.0.0.0"
local-zone: "a.glcdn.co" redirect
local-data: "a.glcdn.co A 0.0.0.0"
@MichaelLawton
MichaelLawton / deleteAmazonSavedItems.js
Last active August 11, 2025 14:16
Removes all Amazon saved for later items on the cart page. It will only remove visible items. You might want to scroll first to make more items visible. To use paste code in developer console (Ctrl+Shift+J or Cmd+Opt+J in Chrome) then press enter.
function deleteSavedItems() {
var query = document.querySelectorAll("#sc-saved-cart input[value=Delete]")
if (query.length) {
query[0].click();
}
if (query.length > 1) {
setTimeout(deleteSavedItems,100);
}
else {
console.log('Finished');
@blowdart
blowdart / UpdateIISExpressSSLForChome.ps1
Last active October 7, 2021 10:59
IIS Express certs (for now) don't contain SAN strings. This makes Chrome unhappy. Make Chrome happy again with a new organic, artisanal, gluten free HTTPS certificate.
# Create a new self signed HTTPS Certificate for IIS Express
# Crafted with all organic, GMO, gluten free ingreditations
# with an artisinal SAN to make Chrome 58 onwards happy.
#
# See https://bugs.chromium.org/p/chromium/issues/detail?id=308330
#
# Run this at an administrative PowerShell prompt.
#
# You will be prompted to trust a new certificate via a windows dialog.
# Click yes otherwise Visual Studio will not be able to determine your
@jhaddix
jhaddix / all.txt
Last active October 30, 2025 17:27
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
@ryboe
ryboe / .travis.yml
Last active June 11, 2025 03:12
Example .travis.yml for Golang
# use the latest ubuntu environment (18.04) available on travis
dist: bionic
language: go
# You don't need to test on very old versions of the Go compiler. It's the user's
# responsibility to keep their compiler up to date.
go:
- 1.16.x
@jakejarvis
jakejarvis / cloudSettings
Last active November 12, 2020 17:31
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-11-12T17:31:33.925Z","extensionVersion":"v3.4.3"}

Keybase proof

I hereby claim:

  • I am jakejarvis on github.
  • I am jakejarvis (https://keybase.io/jakejarvis) on keybase.
  • I have a public key whose fingerprint is 87FB 4B60 06DD 1BEB 3ED4 7FAB D36C B66F 4002 B25B

To claim this, I am signing this object:

@tomnomnom
tomnomnom / php-curl-crlf-injection.mkd
Last active October 11, 2024 16:43
CRLF Injection Into PHP's cURL Options

CRLF Injection Into PHP's cURL Options

I spent the weekend meeting hackers in Vegas, and I got talking to one of them about CRLF Injection. They'd not seen many CRLF Injection vulnerabilities in the wild, so I thought I'd write up an example that's similar to something I found a few months ago.

If you're looking for bugs legally through a program like hackerone, or you're a programmer wanting to write secure PHP: this might be useful to you.

@jessfraz
jessfraz / boxstarter.ps1
Last active October 12, 2025 03:18
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@fulldecent
fulldecent / travis-local.md
Created November 29, 2017 02:33
Run Travis build locally

travis-local.md

Preconditions:

  1. POSIX or Windows system
  2. Install Docker
  3. A GitHub repo that already builds on Travis

Postcondition: