- Shutdown
- Boot to Recovery Mode (⌘+R).
- From Utilities in the Menubar, open Terminal.
- Run
csrutil restart
. - Restart to Startup Disk
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
import asyncio | |
import logging | |
import re | |
import instructor | |
import pydantic | |
logging.basicConfig(level=logging.INFO) | |
logger = logging.getLogger(__name__) |
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
import { eq } from "drizzle-orm"; | |
import { type DrizzleD1Database } from "drizzle-orm/d1"; | |
import { type GenericTable, project } from "./db/schema"; | |
// This is what I'd like to use, which is defined with my schema. | |
// (See import above, though the rest of the file shouldn't be relevant.) | |
// type GenericTable = typeof <tableA> | typeof <tableB> | ... | |
// I also tried this, but it doesn't work either. | |
// const Tables = { |
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
{"seo_category_infos":[["Beauty","beauty"],["Dance & Performance","dance_and_performance"],["Fitness","fitness"],["Food & Drink","food_and_drink"],["Home & Garden","home_and_garden"],["Music","music"],["Visual Arts","visual_arts"]],"logging_page_id":"profilePage_1964314453","show_suggested_profiles":false,"show_follow_dialog":false,"graphql":{"user":{"biography":"IU CS+Fin 2023\nPotato Enthusiast \ud83e\udd54","blocked_by_viewer":false,"restricted_by_viewer":false,"country_block":false,"external_url":"http://wadeflet.ch/","external_url_linkshimmed":"https://l.instagram.com/?u=http%3A%2F%2Fwadeflet.ch%2F&e=ATOgL2ae8YPuWEdiu5cfWlnbyo5Kze_WN7mjJk3B8XR8K4Y8BIM7Z1MSTNlrGoatEDraiP_eluOP8ZvGPpyugg&s=1","edge_followed_by":{"count":1345},"fbid":"17841401993595539","followed_by_viewer":false,"edge_follow":{"count":218},"follows_viewer":false,"full_name":"Wade Fletcher","has_ar_effects":false,"has_clips":false,"has_guides":false,"has_channel":false,"has_blocked_viewer":false,"highlight_reel_count":0,"has_requested_viewe |
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
# TODO maybe reimplement with curses? | |
import random | |
import time | |
from typing import List, Union | |
class Board: | |
def __init__(self, size=3, player_char='\033[92mX\033[0m', computer_char='\033[91mO\033[0m'): | |
self.size = size |
I hereby claim:
- I am wadefletch on github.
- I am wadefletch (https://keybase.io/wadefletch) on keybase.
- I have a public key whose fingerprint is B072 FC8B 8B54 DB2F 06BC 5B41 1830 A679 4030 F7A5
To claim this, I am signing this object:
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
{ | |
"name": "Quantum#2582", | |
"channels": [{ | |
"webhook": "[[WEBHOOK URL]]", | |
"shopify_urls": [ | |
"https://kith.com", | |
"[[OTHER SHOPIFY URLS YOU WANT ON THIS WEBHOOK]]" | |
] | |
}, | |
{ |
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
import tweepy | |
from datetime import datetime | |
import requests | |
import re | |
import os | |
CONSUMER_KEY = os.environ.get('TWITTER_CONSUMER_KEY') | |
CONSUMER_SECRET = os.environ.get('TWITTER_CONSUMER_SECRET') | |
ACCESS_TOKEN = os.environ.get('TWITTER_ACCESS_TOKEN') | |
ACCESS_SECRET = os.environ.get('TWITTER_ACCESS_SECRET') |
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
import json | |
import click | |
from pathlib import Path | |
import os.path | |
import requests | |
from bs4 import BeautifulSoup | |
class Zacks(object): | |
def __init__(self, username, password): | |
self.username = username |
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
import json | |
import requests | |
from bs4 import BeautifulSoup | |
class Zacks(object): | |
def __init__(self, username, password): | |
self.username = username | |
self.password = password |
NewerOlder