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('This was loaded remotely and executed locally'); |
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('HELLO FROM A GIST SCRIPT!!!!'); |
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 obsConfig = { | |
address: '127.0.0.1', | |
port: 4455, | |
password: 'your-password' | |
} | |
const socket = new WebSocket(`ws://${obsConfig.address}:${obsConfig.port}`); | |
const password = obsConfig.password; | |
socket.onopen = function(event) { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
var synth = window.speechSynthesis; | |
// to see how many and which voices you have available | |
console.log(synth.getVoices()); | |
var utterThis = new SpeechSynthesisUtterance('Get good Brian'); | |
synth.speak(utterThis); |
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
{ | |
"files.exclude": { | |
".env": false | |
}, | |
"workbench.colorCustomizations": { | |
"editorGroup.border": "#102a44", | |
"sideBar.border": "#102a44", | |
"tab.activeBorder": "#ff00ff", | |
"tab.activeModifiedBorder": "#ff00ff", | |
"activityBar.background": "#b300b3", |
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
function startMonitoring(milliseconds) { | |
return getStatusEvery.bind(this).(milliseconds) | |
} | |
function getStatusEvery(milliseconds) { | |
this.getStreamStatus(); | |
return setInterval(this.getStreamStatus, milliseconds); | |
} |
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
1. Open the query URL in your browser with the search term you want to use | |
An example URL searching for dogs: https://www.instagram.com/web/search/topsearch/?context=blended&query=dog&rank_token=0.5831184414520498&include_reel=false | |
2. Copy the code in the "script.js" file | |
3. Open up your browser dev tools and go to the console | |
4. Paste in the code and hit Enter |
NewerOlder