Skip to content

Instantly share code, notes, and snippets.

🐤
building my own birdfeeder on here

Suz Hinton noopkat

🐤
building my own birdfeeder on here
Block or report user

Report or block noopkat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@noopkat
noopkat / pinterest-autoplay-fix.tampermonkey.js
Created Jun 23, 2019
Tampermonkey script for pausing autoplaying videos on pinterest only
View pinterest-autoplay-fix.tampermonkey.js
// ==UserScript==
// @name Pinterest Autoplay Remover
// @namespace http://tampermonkey.net/
// @version 0.1
// @description pauses autoplaying / looping videos
// @author @noopkat
// @match https://www.pinterest.com
// @grant none
// ==/UserScript==
@noopkat
noopkat / mech-keyboard-questions.md
Last active Jul 31, 2019
Mech Keyboard Questions to ask yourself
View mech-keyboard-questions.md
  1. How many keys do you want ie. do you need function keys / cursor arrow keys / numpad?
  2. Do you like loud clicky keys, bumpy tactile, or linear fast to hit keys?
  3. Do you want to be able to swap out switches for different ones or mix / match your switches?
  4. Do you need it to be portable?
  5. Do you want LED lighting?
  6. Do you want to program it with macros to be highly custom?
  7. Do you want USB-c?
  8. Windows or Mac?
  9. Do you want split / ergonomic / ortholinear?
  10. Do you want to use custom / creative keycap sets or keep it OEM?
@noopkat
noopkat / 01 iTunesSong.scpt
Created Jan 31, 2019
Live Stream 'Now Playing' live text label
View 01 iTunesSong.scpt
on is_running(appName)
tell application "System Events" to (name of processes) contains appName
end is_running
set iTunesRunning to is_running("iTunes")
set noMusic to "no music is playing"
set song to noMusic
if iTunesRunning then
set song to run script "tell application \"iTunes\" to if player state is playing then \"now playing: \" & name of current track & \" by \" & artist of current track"
@noopkat
noopkat / nodemon.sh
Created Apr 1, 2018
run nodemon tests while you work
View nodemon.sh
nodemon --exec npm test
View keybase.md

Keybase proof

I hereby claim:

  • I am noopkat on github.
  • I am noopkat (https://keybase.io/noopkat) on keybase.
  • I have a public key whose fingerprint is F4D8 088B F58E 8AAF 9496 E1DE EE33 65D4 1D8D C876

To claim this, I am signing this object:

@noopkat
noopkat / chat.js
Last active Mar 1, 2019
Streamlabs Dracula Themed Chat Box
View chat.js
const setup = () => {
const nearestColorScript = document.createElement('script');
document.body.appendChild(nearestColorScript);
nearestColorScript.onload = onScriptLoad;
nearestColorScript.src = 'https://cdn.rawgit.com/dtao/nearest-color/a017c25b/nearestColor.js';
}
const onScriptLoad = () => {
console.log('nearest color script loaded');
View aci.sh
az container create \
--resource-group <resource-group-name> \
--name <container-instance-name> \
--image <docker-image-name> \
--azure-file-volume-account-name <file-storage-name> \
--azure-file-volume-account-key <file-storage-key> \
--azure-file-volume-share-name <file-share-name> \
--azure-file-volume-mount-path /aci/status/
View tracker.js
const puppeteer = require('puppeteer');
const statusTextSelector = '.someClassname';
const trackingUrl = 'http://ozcouriers.com.au';
const extractStatus = async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto(trackingUrl, {waitUntil: 'networkidle2'});
await page.waitFor(statusTextSelector);
You can’t perform that action at this time.