git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
<?php | |
$data = (object)array( | |
"html" => "<foo bar=\"baz\"/> &", | |
"arabic" => "ุงูุนุฑุจูุฉ al-สฟarabiyyah, IPA: [รฆl สษrษหbijjษ], or ุนุฑุจู สฟarabฤซ", | |
"hebrew" => "ืขึดืึฐืจึดืืช, Ivrit", | |
"chinese" => "ๆฑ่ฏญ/ๆผข่ช Hanyu; ๅ่ฏญ/่ฏ่ช Huรกyว; ไธญๆ Zhลngwรฉn", | |
"korean" => "ํ๊ตญ์ด/์กฐ์ ๋ง", | |
"japanese" => "ๆฅๆฌ่ช Nihongo", | |
"umlauts" => "รครผรถรฃรกร ร", |
mr Marathi | |
bs Bosnian | |
ee_TG Ewe (Togo) | |
ms Malay | |
kam_KE Kamba (Kenya) | |
mt Maltese | |
ha Hausa | |
es_HN Spanish (Honduras) | |
ml_IN Malayalam (India) | |
ro_MD Romanian (Moldova) |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
Picking the right architecture = Picking the right battles + Managing trade-offs
sudo apt-get install calibre | |
ebook-convert a.pdf a.mobi |
Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature.
Author: Chris Lattner
extension UIFont { | |
// The `rawValue` MUST match the filename (without extension) | |
public enum Graphik: String, FontCacheDescriptor { | |
case regular = "GraphikAltWeb-Regular" | |
case medium = "GraphikAltWeb-Medium" | |
case regularItalic = "GraphikAltWeb-RegularItalic" | |
case mediumItalic = "GraphikAltWeb-MediumItalic" | |
} | |
import UIKit | |
/// Provides a convenient controller for working with the responder chain | |
public final class ResponderController: NSObject, NSCopying { | |
/// When true, the responder will loop through the responders when reaching the ends | |
@IBInspectable | |
public var isContinuous: Bool = true |
import Foundation | |
import UIKit | |
struct ViewStyle<T> { | |
let style: (T) -> Void | |
} | |
let filled = ViewStyle<UIButton> { | |
$0.setTitleColor(.white, for: .normal) | |
$0.backgroundColor = .red |