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
| From 5f6aef3a02ff2a3ea5e263691c1d010868993b4d Mon Sep 17 00:00:00 2001 | |
| From: cmj <129799+cmj@users.noreply.github.com> | |
| Date: Mon, 11 May 2026 04:48:04 -0700 | |
| Subject: [PATCH] Fix for empty cards | |
| --- | |
| src/parser.nim | 20 ++++++++++++-------- | |
| 1 file changed, 12 insertions(+), 8 deletions(-) | |
| diff --git a/src/parser.nim b/src/parser.nim |
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 | |
| # Check if a timeline is sorted chronological or by "best of" as a guest | |
| #screen_name="NWS_NTWC" | |
| screen_name=$1 | |
| user_agent="TwitterAndroid/10.21.1" | |
| bearer_token='AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA' | |
| #json_file="/tmp/${endpoint##*/}-$EPOCHSECONDS.json" | |
| guest_token=$(curl -s -XPOST -H "Authorization: Bearer ${bearer_token}" "https://api.twitter.com/1.1/guest/activate.json" | jq -r '.guest_token') |
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 python3 | |
| # Twitter guest - standalone RSS generator | |
| # Works with some news/govt accounts, ex: | |
| # NASA KIRO7Seattle AJEnglish cnn abc nbcnews ap NBCNewYork ABC7NY (AOC potus whitehouse etc) | |
| import os | |
| import time | |
| import json | |
| import random |
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 python3 | |
| # Load a Twitter session using auth_token | |
| from selenium import webdriver | |
| from selenium.webdriver.firefox.service import Service as FirefoxService | |
| from webdriver_manager.firefox import GeckoDriverManager | |
| from selenium.webdriver.firefox.options import Options | |
| from selenium.webdriver.firefox.firefox_profile import FirefoxProfile | |
| import sys | |
| import os |
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 tclsh | |
| # Random Chuck Norris joke, circa 2008 | |
| set chuck { | |
| "Chuck Norris' tears cure cancer. Too bad he has never cried. Ever. " | |
| "Chuck Norris does not sleep. He waits. " | |
| "Chuck Norris is currently suing NBC, claiming Law and Order are trademarked names for his left and right legs. " | |
| "The chief export of Chuck Norris is pain. " | |
| "If you can see Chuck Norris, he can see you. If you can't see Chuck Norris, you may be only seconds away from death. " | |
| "Chuck Norris has counted to infinity. Twice. " |
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 | |
| # Break out curl one-liners into multiple lines | |
| if [[ $# -gt 0 ]]; then | |
| cmdline="$*" | |
| else | |
| read -r cmdline | |
| fi | |
| eval "set -- $cmdline" |
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 | |
| rg -P '(?![\p{Han}\p{Hiragana}\p{Katakana}\p{Hangul}])[^\x00-\x7F]' |
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
| #!/bin/bash | |
| echo "move mouse over window" | |
| sleep 4 | |
| cx=3500 # center X | |
| cy=1600 # center Y | |
| r=300 # radius | |
| step=7 # degrees per step | |
| circles=4 # |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 4.
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
| Id,Date,Text,Replies,ReTweets,Likes,Views,Source,Birdwatch,Url | |
| 1884037912410652990,Tue Jan 28 00:36:56 UTC 2025,"My mission as Secretary of Homeland Security is to keep America safe. Under my leadership, @DHSgov will protect the American people with integrity and honesty. President Trump is putting Americans' safety FIRST. https://t.co/ANtW0gG6EU","1,838","10,515","81,740","1,673,974",Twitter Web App,,https://x.com/Sec_Noem/status/1884037912410652990 | |
| 1884175378618671232,Tue Jan 28 09:43:11 UTC 2025,We are doing this right - doing exactly what President @realDonaldTrump promised the American people - making our streets safe. Live this AM from NYC. I’m on it. https://t.co/YrDqWupsPJ,829,"3,179","26,995","541,361",Twitter for iPhone,,https://x.com/Sec_Noem/status/1884175378618671232 | |
| 1884198149574770980,Tue Jan 28 11:13:40 UTC 2025,"Just now. Enforcement operation in NYC. Criminal alien with kidnapping, assault & burglary charges is now in custody - thanks to @ICE. Dirtbags like this will continue to be removed f |
NewerOlder