Skip to content

Instantly share code, notes, and snippets.

View nehayward's full-sized avatar

Nick Hayward nehayward

View GitHub Profile
@nehayward
nehayward / gifLookup.go
Created March 7, 2019 23:17
Find Gif From Google
package main
import (
"fmt"
"io/ioutil"
"net/http"
"regexp"
"strings"
)
@nehayward
nehayward / macOSMode.swift
Last active June 26, 2018 16:26
Get the current AppleInterface (Dark or Light)
import Foundation
struct macOSMode {
static var isEnabled: Bool {
get {
return UserDefaults.standard.string(forKey: "AppleInterfaceStyle") == "Dark"
}
set {
toggle(force: newValue)
}
# 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)
@nehayward
nehayward / newMac.sh
Last active July 27, 2016 14:35
This is a small script to download all the tools I use for development in the terminal
#!/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