This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Reflectable.swift | |
// | |
// Created by Nathan Tannar on 2018-12-04. | |
// | |
import Foundation | |
// Add this protocol to your `struct` or `class` | |
protocol Reflectable { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
XCodeTemplateGenerator.swift | |
Created by Nathan Tannar | |
Usage: | |
Run `swift XCodeTemplateGenerator.swift $SOURCE_FOLDER` where SOURCE_FOLDER is the root directory of your | |
XCode projects source code. A TemplateInfo.plist will be generated in the SOURCE_FOLDER allowing you | |
to copy the folder to your XCodes project template folder. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Prefer IPv4 over IPv6 - make apt-get faster | |
sudo sed -i "s/#precedence ::ffff:0:0\/96 100/precedence ::ffff:0:0\/96 100/" /etc/gai.conf | |
# Update Packages | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
# Nano Editor |
NewerOlder