- Set up devlogs gist
blog - Set up Expo push notification in iOS and Android
mobile - Set up
APP_VARIANTfor Expo app (development, preview, production)mobile - Test send Expo push notification from Node back end
web - Found 2 important docs site for Expo: Expo Docs, Ignite Docs
mobile - Set up satisfies.dev
blog - Used Expo Orbit to install eas build output into simulator and emulator
mobile - Created
docs/agents/agents-ios-qa.mdto instruct AI agent to useaxecommand for iOS automationmobile - Exploring kanban again for daily tasks. Tried Trello, terrible (janky, crowded). Todoist seems good (desktop, mobile app).
- Todoist MCP works great with Zed
♥️
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
| type BetterTypeof<T> = | |
| T extends number | |
| ? "number" | "integer" | "NaN" | |
| : T extends string | |
| ? "string" | |
| : T extends boolean | |
| ? "boolean" | |
| : T extends undefined | |
| ? "undefined" | |
| : T extends null |
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
| /** | |
| * Grok wrote this :) | |
| * The prompt: js script that i can run in browser console to detect all html tags which contain email. | |
| * i want to replace those emails from eg john@gmail.com to a random email based on random first and last name. | |
| */ | |
| // Function to generate completely random email with full name | |
| function generateRandomFullEmail() { | |
| const firstNames = ['sandra', 'john', 'mary', 'peter', 'lisa', 'david', 'emma', 'robert']; | |
| const lastNames = ['smith', 'johnson', 'brown', 'taylor', 'wilson', 'davis', 'clark', 'lewis']; |
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
| # Manus AI Assistant Capabilities | |
| ## Overview | |
| I am an AI assistant designed to help users with a wide range of tasks using various tools and capabilities. This document provides a more detailed overview of what I can do while respecting proprietary information boundaries. | |
| ## General Capabilities | |
| ### Information Processing | |
| - Answering questions on diverse topics using available information | |
| - Conducting research through web searches and data analysis |
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
| pub fn is_ai(text: &str) -> bool { | |
| text.to_lowercase().starts_with("ah, i see") | |
| } |
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
| # Enable syntax highlighting. See: https://gist.github.com/BlakeGardner/5587269 – 2024-05-10 | |
| include "/opt/homebrew/share/nanorc/*.nanorc" | |
| # Display line numbers to the left of the text area – 2024-05-10 | |
| set linenumbers | |
| set constantshow |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns = 14x L1
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns = 20x L2
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
type ErrorFunc<ErrorMap extends Record<string, string>> = <
Kind extends keyof ErrorMap,
Args extends [kind: Kind, ctx?: string]
>(...args: Args) => {
ok: false,
error: Args[1] extends string ? {
kind: Args[0],
message: ErrorMap[Args[0]],
ctx: Args[1]NewerOlder