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
def split(word): | |
# split string into list of chars | |
# https://www.geeksforgeeks.org/python-split-string-into-list-of-characters/ | |
return [char for char in word] | |
symmetricLetters = ['A', 'H', 'I', 'J', 'O'] | |
symmetricPairs = [('9', 'P'), ('A', 'A'), ('O', 'O'), ('J', 'L')] | |
failed = False |
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
char symmetricLetters[] = {'A', 'H', 'I', 'M', 'O', 'T', 'U', 'V', 'W', 'X', 'Y', '8', '0'}; | |
std::pair<char, char> symmetricPairs[] = {{'9', 'P'}, | |
{'A', 'A'}, | |
{'I', 'I'}}; | |
std::cout << symmetricLetters[0]; // A | |
std::cout << symmetricLetters[2]; // I | |
std::cout << symmetricPairs[0].first; // 9 | |
std::cout << symmetricPairs[0].second; // P |
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
(outdated, need to update later) | |
Question | |
└── questions: firestore collection | |
└── [question id]: firestore doc | |
├── title: string | |
├── tags: Array<string> | |
├── userUid: string | |
├── displayName: string | |
├── timestamp: Date |
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
tell application "UA Mixer Engine" | |
if it is running then | |
quit | |
else | |
launch | |
end if | |
end tell |
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
--[[ | |
How to use: | |
1. Download this file to your local machine. | |
2. Source this file in Neovim: `:luafile filename_here.lua` | |
3. Start the animation using the `:StartDogAnimation` command. | |
4. Stop the animation using the `:StopDogAnimation` command. | |
--]] | |
local api = require("image") | |
local uv = vim.loop |
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 WebSocket = require("ws"); | |
const express = require("express"); | |
const crypto = require("crypto"); | |
const app = express(); | |
const port = 3000; // You can change this to any port you prefer | |
// Replace 'your_password' with your actual OBS WebSocket password if set | |
const OBS_WEBSOCKET_PASSWORD = ""; |