git clone git@github.com: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
ssh -f -L 9201:localhost:9200 <username>@<host> -N | |
# To kill tunnel running in background run: | |
ps aux | grep 9201 | |
kill <pid> |
// | |
// NYSKeyboardHelper.swift | |
// B-NYS GCV | |
// | |
// Created by Matthias Nys on 18/03/2017. | |
// Copyright © 2017 B-NYS. All rights reserved. | |
// | |
import UIKit |
//Credit to https://gist.github.com/merlos All copyright & credit goes to him | |
import Foundation | |
extension Date { | |
/// | |
/// Provides a humanised date. For instance: 1 minute, 1 week ago, 3 months ago | |
/// | |
/// - Parameters: | |
// - numericDates: Set it to true to get "1 year ago", "1 month ago" or false if you prefer "Last year", "Last month" |
UIFont: family Thonburi | |
UIFont: font Thonburi-Bold | |
UIFont: font Thonburi | |
UIFont: font Thonburi-Light | |
UIFont: family Khmer Sangam MN | |
UIFont: font KhmerSangamMN | |
UIFont: family Snell Roundhand | |
UIFont: font SnellRoundhand-Black | |
UIFont: font SnellRoundhand-Bold | |
UIFont: font SnellRoundhand |
#!/usr/bin/env bash | |
set -euo pipefail | |
set +e | |
xcrun xcodebuild -version > /dev/null 2>/dev/null | |
RESULT="$?" | |
set -e | |
if [ $RESULT != 0 ]; then | |
sudo xcode-select --reset |
// | |
// SmoothedView.swift | |
// | |
// Created by H on 23/02/2020. | |
// Copyright © 2020 H. All rights reserved. | |
// | |
import UIKit | |
final class SmoothedView: UIView { |
// | |
// RoundedCorners.swift | |
// | |
// Created by H on 23/02/2020. | |
// Copyright © 2020 H. All rights reserved. | |
// | |
import UIKit | |
protocol RoundedCorners { |