This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Costco PS5 | |
// @namespace https://myles.empty.best/ | |
// @version 0.1 | |
// @description Bundle me | |
// @author Myles "Empty" Best | |
// @match https://www.costco.com/LogonForm | |
// @match https://www.costco.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Target auto-pickup order | |
// @namespace http://myles.empty.best/ | |
// @version 0.1 | |
// @description GOGOGOGOGOGOGOGO | |
// @author Myles "Empty" Best | |
// @require http://code.jquery.com/jquery-3.4.1.min.js | |
// @match https://www.target.com/p/playstation-5-console/-/A-81114595 | |
// @match https://www.target.com/co-cart | |
// @match https://www.target.com/co-review |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Amazon.com auto-place PS5 Order | |
// @namespace http://myles.empty.best | |
// @version 0.1 | |
// @description more bags | |
// @author Myles "Empty" Best | |
// @match https://www.amazon.com/dp/B08FC5L3RG | |
// @match https://www.amazon.com/gp/buy/spc/handlers/display.html | |
// @require http://code.jquery.com/jquery-3.4.1.min.js | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name PS Direct to checkout | |
// @namespace https://myles.empty.best | |
// @version 0.1 | |
// @description Get that fucking PS5 | |
// @author Myles "Empty" Best | |
// @match https://my.account.sony.com/central/signin/* | |
// @match https://direct.playstation.com/en-us/consoles/console/playstation5-console.3005816 | |
// @match https://direct.playstation.com/en-us/checkout* | |
// @require http://code.jquery.com/jquery-3.4.1.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Suggested: add this to your crontab to run @daily. This deletes all snapshots last modified a week ago. | |
find /home/pi/oprint/lib/python2.7/site-packages/octoprint/static/img/SNAP_* -mtime +7 -exec rm -fr {} \; | |
$ crontab -e | |
@weekly find /home/pi/oprint/lib/python2.7/site-packages/octoprint/static/img/SNAP_* -mtime +7 -exec rm -fr {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns keyboard-calculator.core (:gen-class)) | |
(def number-of-regular-keys 89) | |
(def number-of-special-keys 14) | |
(defn get-width-height | |
[cin object] | |
(print (str "Width of " object ": ")) | |
(flush) | |
(let [width (.nextDouble cin)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace html url(http://www.w3.org/1999/xhtml); | |
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
/* | |
Author: Twily | |
Description: Minimal flat styled tabs for Australis | |
Compitability: Firefox Nightly v31.0a1 - v32.0a1 (Australis) | |
CSS Variables were introduced to Firefox in v29.0a1 | |
Website: http://twily.info/ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RPi.GPIO as GPIO | |
import time | |
# NOTE: don't use GPIO02 or GPIO03, they have | |
# internal pullup resistors that prevents results. | |
try: | |
# Setup | |
GPIO.setmode(GPIO.BOARD) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> // printf | |
#include <string.h> // strlen | |
#include <math.h> // pow | |
int intFromAscii(char ascii) { | |
switch(ascii) { | |
case '1': return 1; | |
case '2': return 2; | |
case '3': return 3; | |
case '4': return 4; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Dimming Brake Lights, Idle Hazards, and External Control for LEDs via Arduino for R/C. | |
Copyright (c) 2015 Mohammad El-Abid | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
NewerOlder