Skip to content

Instantly share code, notes, and snippets.

View jthrilly's full-sized avatar
💥
Creating

Joshua Melville jthrilly

💥
Creating
  • Northwestern University
  • Cape Town, United Kingdom
  • 00:25 (UTC +03:00)
View GitHub Profile
@jthrilly
jthrilly / proxy.pac
Created March 28, 2022 11:42 — forked from rob-smallshire/proxy.pac
PAC file for routing iPlayer requests over a local SOCKS proxy
function FindProxyForURL(url, host)
{
if (shExpMatch(url, "*.bbc.co.uk/iplayer*")
|| shExpMatch(url, "*.bbc.co.uk/mediaselector*")
|| shExpMatch(url, "zaphod-live.bbc.co.uk.edgesuite.net/*")
|| shExpMatch(url, "bbcfmhds.vo.llnwd.net/*"))
{
return "SOCKS 127.0.0.1:1055";
}
else
@jthrilly
jthrilly / git-commit-template.md
Created January 21, 2022 09:56 — forked from lisawolderiksen/git-commit-template.md
Use a Git commit message template to write better commit messages

Using Git Commit Message Templates to Write Better Commit Messages

The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the

@jthrilly
jthrilly / r34.js
Last active December 6, 2021 19:24
R34 Sample Screen Structure
// Main router (App.js) might look like this:
<Switch location={location} key={location.pathname}>
<Route exact path="/">
<Home />
</Route>
<Route exact path="/data-quality">
<DataQuality />
</Route>
<Route exact path="/background">
<Background />
@jthrilly
jthrilly / package.json
Created January 29, 2019 09:48 — forked from mallendeo/package.json
Record gsap animations frame by frame with puppeteer
{
"name": "gsap-to-video",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"fs-extra": "^7.0.0",
"puppeteer": "^1.7.0"
}
}
"HIVServices": {
"nodes": [
{
"Main/Parent Organization": "About My Health",
"Subsidiary/Program/Project": "",
"Abbreviated Name": "About My Health",
"Standard Word Abbreviations": "",
"Geocoded Address": "55 E Washington St, Chicago, Illinois, 60602",
"Latitude": 41.882945,
"Longitude": -87.62572,
@jthrilly
jthrilly / dabblet.css
Created August 12, 2015 09:28
Position icons into circle (SO)
/**
* Position icons into circle (SO)
* http://stackoverflow.com/q/12813573/1397351
*/
.circle-container {
position: relative;
width: 24em;
height: 24em;
padding: 2.8em; /*= 2em * 1.4 (2em = half the width of an img, 1.4 = sqrt(2))*/
border: dashed 1px;

Keybase proof

I hereby claim:

  • I am jthrilly on github.
  • I am jthrilly (https://keybase.io/jthrilly) on keybase.
  • I have a public key whose fingerprint is B6C3 9A2D CB2A 08F4 5762 1F4B 448B 9983 2CC4 B285

To claim this, I am signing this object: