Skip to content

Instantly share code, notes, and snippets.

@josephwegner
josephwegner / qbar.md
Last active September 10, 2021 13:42
Q Bar

Q Bar Statement of FACTS.

Hi Everyone!

I just wanted to touch base on all the post about Q BAR that have been on this social media site and others over the last couple of months. Just to be clear the outdoor live music is now over and I have no plans on bringing it back to back to Q BAR Darien. The main person in question has already stated in writing that she has no issue with what we do inside only the outside music. BUT like any good activist does, she is already trying to change her stance on that by commenting today that 'maybe the inside music might be the problem also' (I'm paraphrasing her comment). A few things about this post. First of all I'm ONLY going to post facts (not opinions or feelings which is the bulk of what I'm reading). Secondly everything that I post will be a fact to dispute a claim made by someone on this site, so if you are unsure why I'm typing something, that is the reason. Finally I'm only going to respond if anyone shows proof that anything I state in this post is fac

@josephwegner
josephwegner / traffic_simulation.js
Last active October 23, 2020 13:54
Traffic Simulation DX
const sim = new Simulation({
home: '/',
login: '/login',
successfulLogin: { path: 'login', method: 'POST', body: { username: 'joe', password: 'goodpass' } },
failedLogin: { path: 'login', method: 'POST', body: { username: 'joe', password: 'badpass' } },
dash: '/dashboard',
billing: '/billing'
})
const newUser = sim.actor(5, 'New User')
@josephwegner
josephwegner / jrnl
Created January 14, 2020 20:32
jrnl
#!/bin/bash
JRNL_DIR="/Your/Dropbox/Or/Drive/Or/Whatever/notes/day_journals/`date +%Y/%m`"
mkdir -p "$JRNL_DIR"
JRNL_FILE="$JRNL_DIR/$(date +%d).txt"
touch "$JRNL_FILE"
vim + "$JRNL_FILE"
<!DOCTYPE html>
<html lang='en-US'>
<head>
<style>
html,body {
background: red;
}
h1 {
color: black;
}
@josephwegner
josephwegner / keybase.md
Created November 20, 2019 12:34
keybase.md

Keybase proof

I hereby claim:

  • I am josephwegner on github.
  • I am josephwegner (https://keybase.io/josephwegner) on keybase.
  • I have a public key whose fingerprint is 971F 64D6 5EF5 C424 C126 16C7 64D1 7DA8 1109 DD8A

To claim this, I am signing this object:

@josephwegner
josephwegner / README.md
Created August 10, 2019 17:15
Scrape /r/Hobbies comments for subreddit links

Simple enough to run... just use the following commands

node scrape.js #creates the file subreddits.list
node count.js #outputs markdown-formatted data.

Please be respectful with this script. Pushshift is a free service, and serving these API requests costs them money.

var http = require('http')
var server = http.createServer(function(req, res) {
res.end('OK')
});
server.listen(process.env.PORT || 3000, function() {
console.log('listening on ', process.env.PORT || 3000)
})
@josephwegner
josephwegner / userscript.user.js
Last active December 5, 2018 16:57
Hide Form Fill Intro
// ==UserScript==
// @name Form Fill Intro Fixer
// @namespace http://tampermonkey.net/
// @version 0.2.1
// @description Hide the Form Fill boiler plate intro description
// @author You
// @match https://support.heroku.com/tags/*
// @match https://support.heroku.com/inbox
// @match https://support.heroku.com/search*
// @grant none
@josephwegner
josephwegner / userscript.user.js
Last active April 1, 2019 20:11
Self Assigned Fill Black
// ==UserScript==
// @name Self Assigned Label Color
// @namespace http://tampermonkey.net/
// @version 0.2.1
// @description Add color to the assignee label if it is assigned to me
// @author You
// @match https://support.heroku.com/tags/*
// @match https://support.heroku.com/inbox
// @match https://support.heroku.com/search*
// @grant none
@josephwegner
josephwegner / icons.svg
Created November 21, 2018 18:09
some icons
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.