Skip to content

Instantly share code, notes, and snippets.

@ducky007
ducky007 / type-design-workflow.md
Created March 16, 2023 16:36 — forked from drawcard/type-design-workflow.md
Typeface Design Workflow

Type Design Workflow / Checklist

Tools

Before We Begin

  • These notes can be generally followed in order however some steps will likely be done constantly throughout the design process until the typeface matures - eg. sketching, kerning, testing etc.
  • Read the Glyphs Tutorials for understanding common functions talked about below.
@ducky007
ducky007 / collectionview.swift
Created October 2, 2019 02:20 — forked from chriseidhof/collectionview.swift
SwiftUI Flow Layout
//
// ContentView.swift
// CollectionView
//
// Created by Chris Eidhof on 20.08.19.
// Copyright © 2019 Chris Eidhof. All rights reserved.
//
import SwiftUI
@ducky007
ducky007 / FileConverter.swift
Created January 1, 2017 00:12 — forked from abeldomingues/FileConverter.swift
A Swift adaptation of Chris Adamson's Objective-C code for exporting iPod Library audio tracks (obtained as AVAssets using an MPMediaPickerController) to LPCM. See http://www.subfurther.com/blog/2010/12/13/from-ipod-library-to-pcm-samples-in-far-fewer-steps-than-were-previously-necessary/ for Chris' original post.
import UIKit
import AVFoundation
protocol FileConverterDelegate {
func fileConversionCompleted()
}
class FileConverter : NSObject {
var delegate : FileConverterDelegate?
@ducky007
ducky007 / NSManagedObject.swift
Created March 9, 2016 13:31 — forked from rabzu/NSManagedObject.swift
Swift Version of NSManagedObject_to_Dictionary Extension:
//
// NSManagedObject.swift Extension
// Transfroms CoreData NSManageObject into Swift Dictionary
// The resulting dictionary can be then used for serialization and copying
//
// Created by rabzu on 25/11/2014.
// Copyright (c) 2014 WeshApp. All rights reserved.
//
import Foundation
(* Script to record and tag spotify tracks, by Lloyd Moore *)
(* Modified by Tiffany G. Wilson to resolve audio splitting issues, automate starting/stopping, and add recording customization *)
(* Snippets for controlling Spotify are from Johnny B on tumblr (http://johnnyb.tumblr.com/post/25716608379/spotify-offline-playlist) *)
(* The idea of using delayed tagging/filename updating is from a guest user on pastebin (http://pastebin.com/rHqY0qg9) *)
(* The only thing to change in the script is the output format; you must change the file extension and the recording format to match *)
(* Run this script once a song you want to record is queued (stopped at beginning) or playing *)
(* Running the script will initiate hijacking, recording and audio playback *)
(* To stop script, pause Spotify or wait for album/playlist to end*)
(* To set id3 tags, use application Kid3 (http://sourceforge.net/projects/kid3/) and copy '%{artist} - %{album} - %{track} - %{title}' from file name to Tag 2 *)