Skip to content

Instantly share code, notes, and snippets.

View chrismessina's full-sized avatar
:atom:
Tap tap tapping

Chris Messina chrismessina

:atom:
Tap tap tapping
View GitHub Profile
import base64
import json
import logging
import plistlib
import random
import uuid
from datetime import datetime
import requests
import urllib3
@chrismessina
chrismessina / gsa.py
Created May 4, 2025 03:54 — forked from JJTech0130/gsa.py
Apple's GrandSlam Authentication protocol
import base64
import hashlib
import hmac
import locale
import plistlib as plist
from datetime import datetime
import logging
import requests
import srp._pysrp as srp
import urllib3
{
"$schema": "https://zed.dev/schema/themes/v0.2.0.json",
"name": "Oscura",
"author": "T. Costa",
"themes": [
{
"name": "Oscura Midnight",
"appearance": "dark",
"style": {
"background.appearance": "opaque",
@chrismessina
chrismessina / twitter_id_verification.strings
Created June 1, 2023 00:21
Twitter identity verification strings
/* Generic description of the error displayed when we fail to start an identity verification flow */
"IDENTITY_VERIFICATION_ERROR_GENERIC_MESSAGE" = "This feature is not available.";
/* Description of the error displayed when we fail to start an identity verification flow, when the feature is not available on the user device */
"IDENTITY_VERIFICATION_ERROR_NOT_AVAILABLE_ON_DEVICE_MESSAGE" = "This feature is not available on this device yet.";
/* Title of the error displayed when we fail to start an identity verification flow */
"IDENTITY_VERIFICATION_ERROR_TITLE" = "Identity Verification";
/* Item of the checklist of the Identity Verification introduction screen that explains that the app is going to use the camera and that it needs to work properly. */
@chrismessina
chrismessina / config.json
Created April 14, 2023 18:04 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@chrismessina
chrismessina / twitter-super-follows.xml
Created June 11, 2021 18:26
twitter-super-follows.strings
<key>CREATOR_SUPER_FOLLOWS_APPLICATION_FLOW_ELEGIBILITY_ACCOUNT_ACTIVITY_ELIGIBILITY_REQUIREMENT</key>
<string>Have posted at least 25 Tweets in past 30 days</string>
<key>CREATOR_SUPER_FOLLOWS_APPLICATION_FLOW_ELEGIBILITY_ACCOUNT_AGE_CONFIRMATION_MESSAGE</key>
<string>You must be at least 18 years old to particiapte in the Twitter creator account. To continue, confirm that you are at least 18 years old.</string>
<key>CREATOR_SUPER_FOLLOWS_APPLICATION_FLOW_ELEGIBILITY_ACCOUNT_AGE_CONFIRMATION_TITLE</key>
<string>The Twitter creator account is available to users 18+ only</string>
<key>CREATOR_SUPER_FOLLOWS_APPLICATION_FLOW_ELEGIBILITY_ACCOUNT_AGREEMENT</key>
<string>Twitter creator account agreement</string>
<key>CREATOR_SUPER_FOLLOWS_APPLICATION_FLOW_ELEGIBILITY_ACCOUNT_FOLLOWERS_ELIGIBILITY_REQUIREMENT</key>
<string>Have at least 10,000 followers</string>
<key>PROFILE_SAFETY_MODE_BLOCKING_VIEWER_MESSAGE_GUIDELINE_AVOID_REPLIES_TEXT</key>
<string>They can overwhelm people, even if the content is innocent.</string>
<key>PROFILE_SAFETY_MODE_BLOCKING_VIEWER_MESSAGE_GUIDELINE_AVOID_REPLIES_TITLE</key>
<string>Avoid repetitive, uninvited replies</string>
<key>PROFILE_SAFETY_MODE_BLOCKING_VIEWER_MESSAGE_GUIDELINE_REMEMBER_THE_HUMAN_TEXT</key>
<string>There’s a person on the other end of your Tweet with feelings.</string>
<key>PROFILE_SAFETY_MODE_BLOCKING_VIEWER_MESSAGE_GUIDELINE_REMEMBER_THE_HUMAN_TITLE</key>
<string>Remember the human</string>
<key>PROFILE_SAFETY_MODE_BLOCKING_VIEWER_MESSAGE_GUIDELINE_SKIP_INSULTS_TEXT</key>
<string>Even if they seem playful to you, others might find them hurtful.</string>
@chrismessina
chrismessina / twitter-ticketed-spaces.xml
Last active June 1, 2021 19:01
Twitter Creator Dashboard Strings
<key>CREATOR_DASHBOARD_HELP_CENTER_ITEM</key>
<string>Help center</string>
<key>CREATOR_DASHBOARD_HELP_HEADER</key>
<string>Get help</string>
<key>CREATOR_DASHBOARD_MONETIZATION_OPTIONS_HEADER</key>
<string>Monetization options</string>
<key>CREATOR_DASHBOARD_TICKETED_SPACES_ITEM</key>
<string>Ticketed Spaces</string>
<key>CREATOR_DASHBOARD_TICKETED_SPACES_ITEM_DETAIL_APPLICATION_APPROVED</key>
<string>Application approved</string>
@chrismessina
chrismessina / clubhouse_api.txt
Last active September 24, 2023 10:24
Clubhouse API methods
# source: https://theori.io/research/korean/analyzing-clubhouse/
record_action_trails
start_phone_number_auth
call_phone_number_auth
resend_phone_number_auth
complete_phone_number_auth
check_waitlist_status
get_release_notes
get_all_topics
[116th Congress Public Law 159]
[From the U.S. Government Publishing Office]
[[Page 134 STAT. 709]]
Public Law 116-159
116th Congress