Skip to content

Instantly share code, notes, and snippets.

View DSDev-NickHogle's full-sized avatar

Nick Hogle DSDev-NickHogle

View GitHub Profile
@DSDev-NickHogle
DSDev-NickHogle / moda_download_all_eobs.js
Created October 27, 2017 21:25
Add a "download all" button to easily download all EOBs on mymoda.com. Names each PDF file according to service dates and providers.
(() => {
class LibLoader {
constructor() {
const el = this.el = document.createElement('pre');
this.b = document.getElementsByTagName('body')[0];
this.otherjQuery = false;
el.style.position = 'fixed';
el.style.top = '0';
el.style.padding = '5px 10px';
@DSDev-NickHogle
DSDev-NickHogle / Bookmarklet.js
Last active October 24, 2017 22:00 — forked from spalger/gist:6417923
Inject jQuery and lodash into the current tab via a bookmarklet. To use, just create a new bookmark and use this as the URL.
javascript: (function () {
var el = document.createElement('pre'),
b = document.getElementsByTagName('body')[0],
otherjQuery = false,
msg = '',
libs = [
function loadjQuery() {
if (typeof jQuery != 'undefined') {
showMsg('This page already using jQuery v' + jQuery.fn.jquery);
} else {
@DSDev-NickHogle
DSDev-NickHogle / .block
Created September 29, 2017 21:44 — forked from mbostock/.block
Zoomable Area
license: gpl-3.0
@DSDev-NickHogle
DSDev-NickHogle / README.md
Last active August 29, 2015 14:15 — forked from mbostock/.block
@DSDev-NickHogle
DSDev-NickHogle / rsync_connect.c
Created June 19, 2012 19:31
Rsync HTTP Proxy
static int establish_proxy_connection(int fd, char *host, int port,
char *proxy_user, char *proxy_pass)
{
char *cp, buffer[1024];
char *authhdr, authbuf[1024];
int len;
if (proxy_user && proxy_pass) {
stringjoin(buffer, sizeof buffer,
proxy_user, ":", proxy_pass, NULL);
@DSDev-NickHogle
DSDev-NickHogle / fix_sketchup_wine.rb
Created February 22, 2012 02:06
Helps fix the one-frame delay problem when running Google Sketchup in Wine
# Fixes the view each time the view changes
require 'sketchup'
module NH
module ViewFix
class MyViewObserver < Sketchup::ViewObserver
def onViewChanged( view )
puts "View changed: #{view.inspect}"