Skip to content

Instantly share code, notes, and snippets.

View strugee's full-sized avatar

AJ Jordan strugee

View GitHub Profile
@strugee
strugee / hide-work-github-notifications.js
Last active September 17, 2023 22:51
Hide GitHub notifications about work on your personal machine
// ==UserScript==
// @name Hide work-related GitHub notifications
// @namespace https://strugee.net/
// @description Hides GitHub notifications about work on your personal machine
// @version 4
// @grant GM.setValue
// @grant GM.getValue
// @include https://github.com/*
// @noframes
// @run-at document-end
@strugee
strugee / allowlist
Created January 5, 2023 19:27 — forked from frenata/allowlist
blocklist bypass
twitter
twimg
linkedin
licdn
t.co
@strugee
strugee / count-your-issues.json
Last active April 28, 2019 08:28
Personal config file for count-your-issues
[
{
"type": "github",
"username": "strugee"
},
{
"type": "gitlab",
"username": "strugee",
"cookie": "XXX"
},
@strugee
strugee / keybase.md
Created January 14, 2018 23:46
Keybase verification

Keybase proof

I hereby claim:

  • I am strugee on github.
  • I am strugee (https://keybase.io/strugee) on keybase.
  • I have a public key ASC9gapv_grlcgAsbrftwWFxIlY7sBXSCWOJunNNrZ__kQo

To claim this, I am signing this object:

@strugee
strugee / raw-bunyan-logs.json.log
Created November 15, 2017 23:16
lazymention log of sending Webmentions to tantek's server
Copyright (C) 2017 AJ Jordan <alex@strugee.net>. License AGPLv3+: GNU
Affero GPL version 3 or later
<https://gnu.org/licenses/agpl-3.0.html>. This is free software: you
are free to change and redistribute it. There is NO WARRANTY, to the
extent permitted by law.
{"name":"lazymention","hostname":"cannot-bind","pid":25484,"level":30,"msg":"Server
listening at
http://0.0.0.0:8000/","time":"2017-11-15T19:57:18.690Z","v":0}
{"name":"lazymention","hostname":"cannot-bind","pid":25484,"component":"get","job_id":"925e6cd2-ade5-4cce-a82c-905c62b241cb","level":20,"url":"https://strugee.net/blog/","msg":"Retrieving
URL with HTTP GET over TLS.","time":"2017-11-15T19:57:41.636Z","v":0}
@strugee
strugee / stratic-handle-offset_tests.log
Created November 8, 2017 20:39
Sample Perjury output from stratic-handle-offset's test suite
alex@cannot-bind ‹ master ●● › : ~/Development/pump.io
[0] % cd ../stratic-handle-offset
alex@cannot-bind ‹ master ● › : ~/Development/stratic-handle-offset
[0] % npm test
> stratic-handle-offset@1.0.0 test /home/alex/Development/stratic-handle-offset
> nyc -r lcov perjury test.js
@strugee
strugee / successnet_autoconfirm.js
Last active May 4, 2017 15:24
A Greasescript to autoconfirm Pearson SuccessNet, because it was pissing me off.
// ==UserScript==
// @name SuccessNet Confirm Session autoconfirm
// @description This Greasescript will automatically confirm your session whenever Pearson SuccessNet prompts you.
// @namespace strugee
// @version 0.6b
// @include http://www.pearsonsuccessnet.com/session_timeout/confirmsession.htm*
// @include https://www.pearsonsuccessnet.com/session_timeout/confirmsession.htm*
// @grant none
// ==/UserScript==
#!/bin/bash
# count_numbers.bash
# Written by Aditya and AJ
#
# This is a relatively simple bash script. We went through a couple
# iterations - the comments are leftover from when I was trying to
# make it work without calling out to `seq` (which outputs number
# sequences to stdout). As it turns out, `{num..num2}` expansion
@strugee
strugee / index.js
Created August 14, 2016 04:46
RC interview database
#!/usr/bin/env node
/*
Copyright © 2013-2015 Alex Jordan <alex@strugee.net>
This work is free. Except where otherwise noted, you can redistribute
it and/or modify it under the terms of the Do What The Fuck You Want To
Public License, Version 2, as published by Sam Hocevar.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@strugee
strugee / glowbuggy.py
Last active December 16, 2015 19:24
glow buggy
# GlowScript 1.1 VPython
# Borrowed from Frank Noschese: http://www.glowscript.org/#/user/Mr._Noschese/folder/My_Programs/program/CVBuggies/edit
# objects
buggy1 = box(pos=vector(-200,9,0), size=vector(20,12,8), color=color.blue)
buggy2 = box(pos=vector(0,9,0), size=vector(20,12,8), color=color.red)
track = box(pos=vector(-100,10,-5), size=vector(620,25,2), color=color.white)
attach_trail(buggy1, type='spheres')