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
// Paste in console | |
var clickBestThing = function(){ | |
var things = [...document.querySelectorAll("#manufacture__container > div")].map(function(e){ | |
var res = {e}; | |
[...e.getElementsByTagName("span")].map(function(s){ | |
res[s.id] = +s.innerText.replace(/[^0-9]/g, '') | |
}) | |
if(e.id === "item__spudGun" || e.id === "item__potatoLauncher") res.powerGain *= 1000; | |
res.score = res.cost * (powerGain + res.powerGain)/res.powerGain; |
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
################################################################################# | |
# start and stop the vpn from the command line from now on with these two commands | |
################################################################################# | |
startvpn() { | |
sudo launchctl load -w /Library/LaunchDaemons/net.pulsesecure.AccessService.plist | |
launchctl load -w /Library/LaunchAgents/net.pulsesecure.pulsetray.plist | |
} | |
quitvpn() { | |
launchctl unload -w /Library/LaunchAgents/net.pulsesecure.pulsetray.plist | |
sudo launchctl unload -w /Library/LaunchDaemons/net.pulsesecure.AccessService.plist |
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
/****************** | |
jQuery Plugin | |
Name: PLUGIN | |
Author: Miles Rausch (http://awayken.com) | |
Version: VER | |
******************/ | |
(function($){ | |
$.PLUGIN = function(el, PARAM, options){ | |
// To avoid scope issues, use 'base' instead of 'this' | |
// to reference this class from internal events and functions. |