$ brew update && brew install kubectl && brew cask install docker minikube virtualbox
$ brew cask reinstall minikube
$ minikube delete
$ rm -fr ~/.minikube/
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
clip-path: polygon( 0% 0%,100% 0%,100% 85.974%,100% 85.974%,99.883% 88.249%,99.546% 90.407%,99.005% 92.419%,98.28% 94.257%,97.388% 95.891%,96.349% 97.293%,95.181% 98.434%,93.901% 99.284%,92.529% 99.816%,91.082% 100%,8.919% 100%,8.919% 100%,8.213% 99.956%,7.515% 99.825%,6.83% 99.61%,6.159% 99.312%,5.506% 98.932%,4.873% 98.474%,4.265% 97.939%,3.683% 97.329%,3.131% 96.646%,2.612% 95.892%,2.612% 95.892%,2.132% 95.075%,1.698% 94.207%,1.31% 93.293%,0.97% 92.336%,0.679% 91.341%,0.438% 90.314%,0.248% 89.26%,0.111% 88.181%,0.028% 87.084%,-0% 85.974%,0% 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Stars</title> | |
<style> | |
.star, |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Slideshow</title> | |
<style> | |
.card { | |
height: 200px; |
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: 0.1 | |
backend: | |
phases: | |
build: | |
commands: | |
- '# Get Amplify CLI Cloud-Formation stack info from environment cache' | |
- export STACKINFO="$(envCache --get stackInfo)" | |
- '# Execute Amplify CLI with the helper script' | |
- amplifyPush --environment $AWS_BRANCH - '# Store Amplify CLI Cloud-Formation stack info in environment cache' | |
- > |
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
https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac |
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
SHOW TABLE: | |
Postgres psql needs escaping for capital letters. | |
Database=# \d+ "TestTable1" | |
Describe Table: | |
\d "myTable" describe table | |
\d+ "myTable" | |
Switch Database | |
\c tableName |
Based off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demo
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
function searchWikipedia (term) { | |
return $.ajax({ | |
url: 'https://en.wikipedia.org/w/api.php', | |
dataType: 'jsonp', | |
data: { | |
action: 'opensearch', | |
format: 'json', | |
search: term | |
} | |
}).promise(); |
NewerOlder