Skip to content

Instantly share code, notes, and snippets.

@StewartLynch
StewartLynch / CLAUDE.md
Created February 6, 2026 20:34
Claude.md Instructions for Xcode 26.3

Global Claude Code Instructions

Project Documentation Requirements

CLAUDE.md (Project Memory)

When starting work on a new Xcode project, if no CLAUDE.md exists in the project root, create one with:

  • Project overview and purpose
  • Key architecture decisions
@adampetrovic
adampetrovic / 00-brewbyweight-update.md
Last active January 14, 2026 20:54
Homebrew by Weight - La Marzocco Linea Micra

⚠️ Update 2025-09-15: La Marzocco API Access Changes

Hi everyone,

With the recent changes La Marzocco has made to their firmware and connectivity, the approach used in this integration is no longer feasible.

Specifically:

  • Local websocket access has been removed.
  • Third-party API integrations are now being actively blocked.
# Script to download all the WWDC 2020 session videos in the highest 4K video and audio
# You may have to update ffmpeg before using this script. I needed version 4.3 or higher to successfully download the videos.
#
# If you want the lower bitrate audio, do a find/replace of "audio_english_192" with "audio_english_64"
# If you want lower bitrate or lower resolution video, do a find/replace of "hvc_2160p_16800" with any of the following:
# "hvc_2160p_11600"
# "hvc_1440p_8100"
# "hvc_1080p_5800"
# "hvc_1080p_4500"
# "hvc_720p_3400"
@xaviervia
xaviervia / README.md
Last active February 16, 2021 20:12
Sketch 43 files JSON types
@roddds
roddds / gist:a1f42bae598028ac7809
Last active December 8, 2020 22:46 — forked from raddevon/gist:67935d320ee9b726d19d
Adobe tries to strong-arm me into keeping Creative Cloud

To everyone who got here through Twitter or Facebook or Hacker News or whatever: THIS IS NOT ME.

The "Me" in this transcript is @raddevon, who shared his story first on reddit.


List of incompetent jackasses who can't check a source if their lives depended on it:

@boopathi
boopathi / README.md
Last active September 25, 2025 20:45
Creating a Swift-ReactNative project

Settings

  1. Create a project in XCode with the default settings
    • iOS > Application > Single View Application
    • Language: Swift
  2. Under project General settings, add ReactKit to Linked Framework and Libraries
    • + > Add Other... and choose /path/to/react-native/ReactKit/ReactKit.xcodeproj
  3. Now ReactKit would have been imported. Link it by choosing it from the list.
    • + > lib.ReactKit.a
  4. Under project Build Settings,
@addyosmani
addyosmani / README.md
Last active November 24, 2025 17:23 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

@iamjason
iamjason / UIImage+Tinting.swift
Last active December 10, 2019 21:59
Swift UIImage extension for tinting images
/**
Usage:
let originalImage = UIImage(named: "cat")
let tintedImage = originalImage.tintWithColor(UIColor(red: 0.9, green: 0.7, blue: 0.4, alpha: 1.0))
*/
extension UIImage {
func tintWithColor(color:UIColor)->UIImage {
@bomberstudios
bomberstudios / sketch-plugins.md
Last active January 2, 2026 16:22
A list of Sketch plugins hosted at GitHub, in no particular order.
@nevyn
nevyn / TCStream.h
Created November 19, 2013 22:42
Simple helpers for working with common data types on NSData-backed input and output streams.
#import <Foundation/Foundation.h>
/** @category TCInputStream
@abstract Reads Big Endian data in convenient sizes
*/
@interface NSInputStream (TCInputStream)
- (int8_t)readByte;
- (uint16_t)readShort;
- (uint32_t)readInt;
- (uint64_t)readLongLong;