Skip to content

Instantly share code, notes, and snippets.

View NerdyDeedsLLC's full-sized avatar
💣
Ministry of Code Deletion

Jason Jurusz (@JJ) NerdyDeedsLLC

💣
Ministry of Code Deletion
  • Nerdy Deeds, LLC
  • Kansas City, MO, USA
  • 01:20 (UTC -05:00)
View GitHub Profile
@NerdyDeedsLLC
NerdyDeedsLLC / README.md
Last active December 25, 2022 21:50
SSHELPER - Automagically creates and configures your SSH tokens for GitHub!

SSHelper.sh

This is a (at present, Mac-exclusive) command-line utility that will automatically perform all relevant steps required to get SSH up and running on your Mac with GitHub. It is a genuine, well-designed, superfine, one-time, one-line, benign, online, commandline goldmine to streamline your storyline and leave you on cloud-nine!

Oh, and it performs the following activities:

  1. Create an SSH key on your local machine
  2. Activate the SSH Agent
  3. Create/amend your SSH config file to contain the newly-created key
@NerdyDeedsLLC
NerdyDeedsLLC / readme.md
Last active December 21, 2021 01:13
License Type: Offensive Limerick

LICENSE TYPE: OFFENSIVE LIMERICK

There once was a Dev from East Mass.,
who wished to ensure his code could be passed.
Feeling most license types,
  weren't worth all the hype
Wrote his own as an iconoclast.

His peers thought him a narcissist,
@NerdyDeedsLLC
NerdyDeedsLLC / readme.md
Last active December 23, 2018 05:11
CSS/JS Coordinate-Targeting Reticle (with visible pixel coordinates) - works by passing X/Y coordinates, specifying target element, or onClick anywhere within the window

Reticle.js

Displays a crosshair reticle (along with its corresponding coordinate pair) on screen. Useful for verifying object positioning, cursor position, locating X/Y coordinates of an object for callouts, etc.

Sample Red Reticle

Implementation/Usage Modes

Reticle currently has three modes:

1. Direct Placement Mode (Red Reticle)

A red reticle will be placed such that it's center lies precisely at the on-screen coordiantes specified. That is to say, it will entirely ignore your current scroll position. This is due to the reticle being absolutely-positioned. A fixed position reticle will respect the true coordinates, but will bollocks onClick mode. Thus, if you're so inclined to extend this out, keep that in mind.

@danharper
danharper / background.js
Last active April 29, 2025 04:09
Bare minimum Chrome extension to inject a JS file into the given page when you click on the browser action icon. The script then inserts a new div into the DOM.
// this is the background code...
// listen for our browerAction to be clicked
chrome.browserAction.onClicked.addListener(function (tab) {
// for the current tab, inject the "inject.js" file & execute it
chrome.tabs.executeScript(tab.ib, {
file: 'inject.js'
});
});