This file contains hidden or 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
hs.window.animationDuration = 0 | |
-- define screens | |
local laptopScreen = "Built-in Retina Display" | |
local vScreen = "S23C570" | |
local dellScreen = "DELL U3419W" | |
local miamiScreen = "HP S2031" | |
local function primaryScreen() | |
if hs.screen(miamiScreen) then |
This file contains hidden or 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
It's hummus and sriracha time! | |
Ketchup and nutella time! | |
Wasabi Chickpea, chocolate time! | |
Onion Onion Onion Cookie | |
There you go, There you go, There you go, There you go. | |
Peanut butter jelly, peanut butter jelly, peanut butter jelly with a kleteson hat. |
This file contains hidden or 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
Video: javascript:void(document.getElementsByTagName('video')[0].playbackRate=1.75) | |
Audio: javascript:void(document.getElementsByTagName('audio')[0].playbackRate=2.0) | |
Replace the Rate value with `prompt('Rate')` if you want to adjust the rate on demand. |
This file contains hidden or 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
javascript:(function() { | |
window.location=window.location.toString().replace(/&?fbclid=[^&]+/,'').replace(/&?utm_(campaign|source|medium|content|term)=[^&]+/g,''); | |
})() |
This file contains hidden or 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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
my $lines =<<'END'; | |
44 - 44 | |
44 / 44 | |
sqrt(4) * 4**0 * 4/4 | |
(sqrt(4) + 4**0) * 4/4 | |
4 * 4/4 * 4 ** 0 |
This file contains hidden or 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
/(brit+[aei]?n(e?y|i|ee)|(c|k)ath?(e|a)?r(y|i)n(e|a)?|(ch?|kh?)r(i|y)st[eiy]?n)/ |
This file contains hidden or 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
vagrant@habitrpg:/vagrant$ node ./src/seed.js | |
Failed to load c++ bson extension, using pure JS version | |
info: tavern=null, cb=function (err){ | |
if (err) throw err; | |
logging.info("Done initializing database"); | |
mongoose.disconnect(); | |
} | |
/vagrant/node_modules/mongoose/lib/utils.js:413 | |
throw err; |
This file contains hidden or 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
vagrant@habitrpg:/vagrant$ npm test | |
> [email protected] test /vagrant | |
> ./test/run_tests.sh | |
Running "stylus:build" (stylus) task | |
File build/app.css created. | |
File build/static.css created. | |
Done, without errors. |
This file contains hidden or 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
javascript:$('#userId,#input_uuid')[0].value="<your UUID>";$(':password,#input_apiKey')[0].value="<your API Token>";if(window.location.host=='oldgods.net' || window.location.host==''){$(':submit').submit();}else if(window.location.pathname=='/static/api'){$('#input_uuid,#input_apiKey').change()}else{false;} |
This file contains hidden or 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
#!/usr/bin/env bash | |
update_config=$'Please update config.json with your values\nfor ADMIN_EMAIL, SMT | |
P_USER, SMTP_PASS and SMTP_SERVICE.' | |
cd /vagrant | |
# check if config.json exists, then check if the defaults are still in place | |
if [ -e config.json ]; | |
then | |
if grep -Fq 'ADMIN_EMAIL": "[email protected]' config.json; | |
then | |
echo "$update_config"; |