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
| /************************************** | |
| * YT Watcher | |
| * Sheet columns: input | channel_id | channel_title | last_seen_video_id | last_seen_published_at | |
| * Requires: Advanced Service "YouTube Data API v3" enabled in Apps Script. | |
| **************************************/ | |
| const CONFIG = { | |
| RECEIVER_EMAIL: "", | |
| TIMEZONE: "America/Phoenix", | |
| MAX_ITEMS_PER_FEED: 10, | |
| EMAIL_SENDER_NAME: "YT Watcher", |
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
| import json | |
| import os | |
| import subprocess | |
| import time | |
| import psycopg2 | |
| TARGET_ROUTER_MAC = "" | |
| STATE_FILE = "/Users/zayd/wifi_tracker/state.json" | |
| DB_CONFIG = "" |
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
| import hashlib | |
| import json | |
| import os | |
| import sqlite3 | |
| import subprocess | |
| import sys | |
| import time | |
| from datetime import datetime | |
| import psycopg2 |
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
| import requests | |
| import os | |
| import time | |
| TARGET_URL = "https://nctnabncanovcjnyqiid.supabase.co/storage/v1/object/public/PublicStorage/KILLSHOT.txt" | |
| SHUTDOWN_STRING = "KILLSHOT" | |
| CHECK_INTERVAL = 60 * 5 | |
| def check_for_shutdown(): | |
| try: |
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
| #include <algorithm> | |
| #include <cmath> | |
| #include <cstdio> | |
| #include <iostream> | |
| #include <string> | |
| #include <vector> | |
| using namespace std; | |
| void setIO(string name = "") { | |
| ios_base::sync_with_stdio(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
| 65535 | |
| 1 2 | |
| 1 3 | |
| 2 3 | |
| 1 2 | |
| 3 1 | |
| 3 2 | |
| 1 2 | |
| 1 3 | |
| 2 3 |