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
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:
| # 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" |
Based on the example file from the announcement blog post http://sketchplugins.com/d/87-new-file-format-in-sketch-43
type UUID = string // with UUID v4 format
type SketchPositionString = string // '{0.5, 0.67135115527602085}'
type SketchNestedPositionString = string // '{{0, 0}, {75.5, 15}}'List of incompetent jackasses who can't check a source if their lives depended on it:
| /** | |
| 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 { |
A list of Sketch plugins hosted at GitHub, in no particular order.
| #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; |