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
#!/bin/bash | |
mkdir -p ~/.local/streamdeck/ | |
cd ~/.local/streamdeck/ | |
python -m venv app | |
cd app/ | |
source bin/activate | |
python -m pip install pillow==9.5 | |
python -m pip install streamdeck-ui | |
deactivate |
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
const sinon = require('sinon') | |
class TestObject { | |
someFunction() { | |
console.error('sinon should stub me!'); | |
} | |
} | |
const sandbox = sinon.sandbox.create(); |
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
console.log('What is the smallest number that is evenly divisible by all of teh natural numbers from 1 to 20?'); | |
console.log(''); | |
console.log('I will try the naive solution first.'); | |
var time, | |
result; | |
function isNotDivByAllTo(candidate, by) { | |
'use strict'; | |
var i; |
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
street_number | street_name | street_suffix | unit_number | city | state | postal_code | listing_id | price | bathrooms | bedrooms | lat | long | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
146 | Mission | AZ | 85010 | 1 | 83815 | 4 | 4 | -134.85 | 15.85 | ||||
983 | Mission | AZ | 85009 | 2 | 33273 | 4 | 1 | -66.22 | 16.85 | ||||
455 | Turk | AZ | 85012 | 3 | 34590 | 2 | 2 | 165.55 | 22.2 | ||||
16 | Franklin | AZ | 85013 | 4 | 106407 | 2 | 3 | 160.26 | 85.1 | ||||
997 | Euclid | AZ | 85018 | 5 | 78390 | 4 | 3 | -90.82 | -23.46 | ||||
136 | 4th | AZ | 85015 | 6 | 21776 | 2 | 4 | -151.83 | 85.61 | ||||
739 | 9th | Phoenix | AZ | 85011 | 7 | 54984 | 4 | 2 | -142.67 | 4.8 | |||
854 | Pine | Trl | AZ | 85021 | 8 | 37980 | 4 | 4 | 14.69 | 69.53 | |||
739 | 9th | AZ | 85011 | 9 | 44092 | 4 | 4 | -158.44 | -19.86 |
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 YoutubeEmbedder | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Accalia <accalia@elementia.me> | |
// @match https://www.youtube.com/watch* | |
// @match http://www.youtube.com/watch* | |
// @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 Mafia Mod Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://what.thedailywtf.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
'use strict'; | |
const fs = require('fs'); | |
const util = require('../util'); | |
let client; | |
function reader() { | |
fs.createReadStream(exports.config.pipe) | |
.on('data', (data) => { | |
client.say(exports.config.channel, data); | |
}) |
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
[02:24:58] Polling Messages | |
[02:26:01] Polling Notifications | |
[02:27:02] Polling Messages | |
[02:27:06] Polling Messages | |
[02:27:37] Polling Messages | |
[02:28:11] Polling Messages | |
[02:28:51] Polling Messages | |
[02:29:43] Polling Messages | |
[02:30:59] Polling Messages | |
[02:31:59] Polling Notifications |
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
beforeEach(() => { | |
sinon.stub(child_process, 'spawn'); | |
hostProcess = { | |
execPath: '/foo/bar/node', | |
execArgv: [], | |
argv: ['node', './lib/app.js'] | |
}; | |
}); | |
beforeEach(() => child_process.spawn.restore()); |
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
{ | |
"core": { | |
"username": "sockAdept", | |
"password": "this is still not my password" | |
}, | |
"plugins": { | |
"echo": true | |
} | |
} |
NewerOlder