Skip to content

Instantly share code, notes, and snippets.

Working from home

momo arn00s

Working from home
View GitHub Profile
# make sure you have imagemagick installed: brew install imagemagick
# your file should have the correct permissions: run `chmod 775` in your terminal from where you put this file
# put your `my_icon.png` next to this file and run ./ to export your app icons
# delete the export directory so we start clean
funmia /
Last active Sep 10, 2021
General iOS, CS questions and interview prep resources.
finestructure /
Last active Jun 23, 2020
Homebrew app release
AliSoftware / Demo.swift
Last active Aug 1, 2021
NestableCodingKey: Nice way to define nested coding keys for properties
View Demo.swift
struct Contact: Decodable, CustomStringConvertible {
var id: String
var firstname: String
var lastname: String
var address: String
enum CodingKeys: String, NestableCodingKey {

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at


Keep it simple, stupid. You ain't gonna need it.

View animationcurves.swift
// ContentView.swift
// AnimationTimingCurve
// Created by Chris Eidhof on 25.09.19.
// Copyright © 2019 Chris Eidhof. All rights reserved.
import SwiftUI
steventroughtonsmith / UIView+Tooltips.h
Last active May 6, 2021
WIP tooltips for Mac Catalyst
View UIView+Tooltips.h
// UIView+Tooltips.h
// Crossword
// Created by Steven Troughton-Smith on 13/09/2019.
// Copyright © 2019 Steven Troughton-Smith. All rights reserved.
#import <UIKit/UIKit.h>
marcedwards / circlesofdots.pde
Created Jun 28, 2019
Circles of dots in Processing
View circlesofdots.pde
// Circles of dots.
// Created using Processing 3.5.3.
// Code by @marcedwards from @bjango.
// A GIF of this code can be seen here:
View donutStrings.pde
// "donut strings" by davey @beesandbombs
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
float ease(float p, float g) {
pitfield / Create an iOS app with Swift Package Manager
Last active Sep 28, 2020
Create an iOS app with Swift Package Manager dependencies
View Create an iOS app with Swift Package Manager

Create an iOS app with Swift Package Manager dependencies

CAUTION: This information is mostly obsolete. Xcode 11 allows a project to directly declare its Swift Package Manager dependencies.

This gist walks through creating an Xcode project for an iOS app that consumes packages in Swift Package Manager (SPM).

We'll be using Xcode 10.2 and Swift 5.