Skip to content

Instantly share code, notes, and snippets.

View Mildwhale's full-sized avatar
🎯
Focusing

Kyujin Kim Mildwhale

🎯
Focusing
View GitHub Profile
@pilgwon
pilgwon / TCA_README_KR.md
Last active March 28, 2024 01:53
TCA README in Korean

The Composable Architecture

The Composable Architecture(TCA)는 일관되고 이해할 수 있는 방식으로 어플리케이션을 만들기 위해 탄생한 라이브러리입니다. 합성(Composition), 테스팅(Testing) 그리고 인체 공학(Ergonomics)을 염두에 둔 TCA는 SwiftUI, UIKit을 지원하며 모든 애플 플랫폼(iOS, macOS, tvOS, watchOS)에서 사용 가능합니다.

@stephanecopin
stephanecopin / pod_install.sh
Last active December 5, 2022 06:46
Pod install script that automatically runs `pod install --repo-update` when appropriate
# Install Pods and use `--repo-update` if needed (might need to add sudo for the gem command below)
set -e
if [ -f "./Podfile" ] && [ ! -d "./Pods" ]; then
echo "Podfile found and Pods are not checked-in to git; installing Pods"
if [ -f "./Podfile.lock" ]; then
current_version=`pod --version | xargs echo -n`
podfile_version=`cat Podfile.lock | grep -E 'COCOAPODS: \d(\.\d)*' | sed -E 's/COCOAPODS: (.*)/\1/' | xargs echo -n`
if [ "$current_version" != podfile_version ]; then
echo "Cocoapods version $current_version doesn't match the Podfile.lock version $podfile_version, installing Podfile.lock version"
import Foundation
// Inspired by https://gist.github.com/mbuchetics/c9bc6c22033014aa0c550d3b4324411a
struct JSONCodingKeys: CodingKey {
var stringValue: String
init?(stringValue: String) {
self.stringValue = stringValue
}
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 17, 2024 12:37
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@gre
gre / easing.js
Last active May 17, 2024 03:33
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {