$ minikube service list
|-------------|----------------------|-----------------------------|
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/sh | |
# | |
# Licensed to the Apache Software Foundation (ASF) under one or more | |
# contributor license agreements. See the NOTICE file distributed with | |
# this work for additional information regarding copyright ownership. | |
# The ASF licenses this file to You under the Apache License, Version 2.0 | |
# (the "License"); you may not use this file except in compliance with | |
# the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
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
cdmacken@ohaton:~/cmput391-a3>cat test.txt | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX schema: <http://schema.org/> | |
PREFIX dbr: <http://dbpedia.org/resource/> | |
PREFIX dbo: <http://dbpedia.org/ontology/> | |
SELECT ?city WHERE { | |
?aaa ?bbb ?city . | |
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
CREATE DATABASE IF NOT EXISTS diamond; | |
USE diamond; | |
CREATE TABLE metrics ( | |
id int not null auto_increment, | |
col_time int(11), -- Stored in Seconds | |
col_metric varchar(255) not null, -- Name of metric in diamond form. | |
col_value double not null, -- value of the recorded metric | |
primary key(id) | |
); |
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
# Update packages | |
yum update -y --security | |
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
cat << EOF > /etc/yum.repos.d/centos-extras.repo | |
[centos-extras] | |
name=centos | |
baseurl=http://mirror.centos.org/centos/7/extras/x86_64/ | |
gpgcheck=0 | |
enabled=1 |
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
Host * | |
AddKeysToAgent yes | |
UseKeychain yes | |
IdentityFile ~/.ssh/id_rsa | |
# Helps prevent timeout of connections due to inactivity | |
ServerAliveInterval 30 | |
TCPKeepAlive yes | |
# Use key forwarding so I don't have to put my private key on the servers |
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 | |
# | |
# Inspects branch name and checks if it begins with a Jira ticket number (i.e. ABCD-123). | |
# If yes, commit message will be automatically prepended with [ABCD-123]. | |
# Resources: | |
# - https://gist.github.com/bartoszmajsak/1396344 | |
# - https://stackoverflow.com/questions/34213120/find-branch-name-during-git-rebase | |
# - https://github.com/typicode/husky/issues/311#issuecomment-580237182 | |
# - https://gmurphey.github.io/2013/02/02/ignoring-git-hooks-when-rebasing.html#.XkK1AhNKjOQ |
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
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
version: '3.7' | |
services: | |
dynamodb-local: | |
image: amazon/dynamodb-local:latest | |
container_name: dynamodb-local | |
ports: | |
- "8000:8000" | |
dynamodb-admin: | |
image: aaronshaf/dynamodb-admin |
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
implementation("com.expediagroup:graphql-kotlin-spring-server:3.7.0") |
OlderNewer