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
brew cask install \ | |
firefox \ | |
1password \ | |
spotify \ | |
flycut \ | |
visual-studio-code \ | |
dotnet \ | |
dotnet-sdk \ | |
google-chrome && \ | |
brew install \ |
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
enum CardinalDirection: String { | |
case North = "North" | |
case South = "South" | |
case East = "East" | |
case West = "West" | |
case InBetween = "InBetween" | |
} | |
enum RotationDirection { | |
case Clockwise |
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
enum CardinalDirection: String { | |
case North = "North" | |
case South = "South" | |
case East = "East" | |
case West = "West" | |
case InBetween = "InBetween" | |
} | |
func getCardinalDirectionFromYaw(yaw: Double, accuracy: QuaternionAccuracy) { | |
let cardinalDirection: CardinalDirection |
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
var thisThing: String = "hello" |
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
extension MapViewController: SensorDispatchHandler { | |
/* | |
After initializing a WearableDeviceSession and calling sensorDispatch.handler = self in viewDidLoad(), | |
Your view controllers can receive raw heading information with the receivedRotation delegate method. | |
We use this information to render a custom vision cone on screen. | |
*/ | |
func receivedRotation(quaternion: Quaternion, accuracy: QuaternionAccuracy, timestamp: SensorTimestamp) { |
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
# 1) Install Docker Desktop from https://hub.docker.com/editions/community/docker-ce-desktop-mac/ | |
# This install the docker and docker-compose CLI as well | |
# 2) Run `docker-compose up` in the directory containing this docker-compose.yml file | |
# 3) Run some GraphQL queries against a NEO4J DB without even having it installed on your machine | |
version: "3" | |
services: | |
neo4j: | |
image: neo4j | |
ports: |
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
# 0) Save this raw text to a file titled `docker-compose.yml` somewhere on your machine | |
# 1) Install Docker Desktop from https://hub.docker.com/editions/community/docker-ce-desktop-mac/ | |
# This install the docker and docker-compose CLI as well | |
# 2) Run `docker-compose up` in the directory containing the docker-compose.yml file | |
# 3) Go to `http://localhost:4000` to run run some GraphQL queries against a NEO4J DB without even having it installed on your machine | |
# 4) Go to `http://localhost:7474`, choose "No Authentication" and click connect to interact directly with data in the local Neo4J DB | |
version: "3" | |
services: | |
neo4j: |
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
upstream client { | |
server client:3000; | |
} | |
upstream api { | |
server api:3001; | |
} | |
server { | |
listen 80; |
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
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: backend-ingress | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
spec: | |
rules: | |
- http: | |
paths: |
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
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: kafkas.kafka.strimzi.io | |
labels: | |
app: strimzi | |
strimzi.io/crd-install: "true" | |
spec: | |
group: kafka.strimzi.io | |
names: |
OlderNewer