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 | |
echo 'This is a small script to download all the tools I use for development in the terminal' | |
echo 'Installing all brew tools' | |
brew install gist | |
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
# Kubernetes + Minikube | |
### Commands | |
Linking docker and minikube | |
eval $(minikube docker-env) | |
### Deploy Local Container | |
* [Getting Started with Minikube and Docker](https://medium.com/@claudiopro/getting-started-with-kubernetes-via-minikube-ada8c7a29620) | |
* [Hello World](https://kubernetes.io/docs/tutorials/stateless-application/hello-minikube/) | |
* [Minikube Workflow](https://kubecloud.io/minikube-workflows-d7166e1da290) |
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
import Foundation | |
struct macOSMode { | |
static var isEnabled: Bool { | |
get { | |
return UserDefaults.standard.string(forKey: "AppleInterfaceStyle") == "Dark" | |
} | |
set { | |
toggle(force: newValue) | |
} |
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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"regexp" | |
"strings" | |
) |
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
#!/usr/bin/env xcrun swift | |
print("Hello World") |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"time" | |
) |
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
package main | |
// /Users/nehayward/Library/Application Support/Sublime Text 3/Packages/User | |
//`"color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme",` | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" |
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
package main | |
import ( | |
"bufio" | |
"encoding/csv" | |
"fmt" | |
"io" | |
"log" | |
"os" | |
"strings" |
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
echo "Hello World" |
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
import UIKit | |
import Vision | |
import AVFoundation | |
import Foundation | |
class ScanViewController: UIViewController { | |
private lazy var cameraPreviewLayer: AVCaptureVideoPreviewLayer = { | |
let l = AVCaptureVideoPreviewLayer(session: captureSession) | |
l.videoGravity = .resizeAspectFill | |
l.connection?.videoOrientation = .portrait |
OlderNewer