Skip to content

Instantly share code, notes, and snippets.

View xcdx80's full-sized avatar

Bernardo Oliveira xcdx80

  • Amsterdam, Netherlands
View GitHub Profile
echo "Starting bootstrapping"
# Request admin password and run a keep-alvie
# to keep using sudo until the script has finished
echo " We need administrator privileges for the execution of this script..."
sudo -v
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# ==============================================
# Apps
// Main ViewController (ViewController.swift)
import UIKit
class ViewController: UIViewController {
//Changed the class and variable names to hide the company's and project's identity
let myAPI: MyCustomAPI = MyCustomAPI()
override func viewDidLoad() {
super.viewDidLoad()