Skip to content

Instantly share code, notes, and snippets.

@yenrab
yenrab / pure_tone.swift
Last active October 4, 2024 07:02
An MIT licensed pure tone generator in Swift. A single function is provided with internal comments. Complexity calculation is not done, but is at least O(n) with the duration being the data.
//
//
// Swift Pure Tone Generation
//
/*
Copyright (c) 2021 Lee Barney
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense,
@IsaacXen
IsaacXen / README.md
Last active November 3, 2024 04:19
(Almost) Every WWDC videos download links for aria2c.
@Tokuriku
Tokuriku / Count lines of code in Xcode project
Last active June 30, 2024 21:09 — forked from ccabanero/Count lines of code in Xcode project
Count lines of code in SWIFT Xcode project
1. Open Terminal
2. cd to your Xcode project
3. Execute the following when inside your target project:
find . -name "*.swift" -print0 | xargs -0 wc -l