This file contains hidden or 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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"required": [ | |
"assignments" | |
], | |
"properties": { | |
"assignments": { | |
"type": "array", | |
"items": { |
This file contains hidden or 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
[format] | |
pretty = format:%C(auto, yellow)%h %C(auto, magenta)(%G?) %C(auto, cyan)%D \n%C(auto, cyan)%ar %C(auto, green)%aN \n%C(auto, red)%s \n\n%C(auto, reset)%b\n\n |
This file contains hidden or 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
{ | |
"openapi": "3.0.3", | |
"servers": [ | |
{ | |
"url": "https://__host__/" | |
} | |
], | |
"info": { | |
"description": "Test api", | |
"version": "1.0.0", |
This file contains hidden or 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
{ | |
"openapi": "3.0.3", | |
"servers": [ | |
{ | |
"url": "https://__host__/" | |
} | |
], | |
"info": { | |
"description": "Test api", | |
"version": "1.0.0", |
This file contains hidden or 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 | |
PSQL='psql -U freecodecamp -d periodic_table --tuples-only -c' | |
if [[ $1 ]] | |
then | |
ELEMENT=$1 | |
else | |
echo "Please provide an element as an argument." |
This file contains hidden or 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 | |
if [[ $1 == "test" ]] | |
then | |
PSQL="psql --username=postgres --dbname=worldcuptest -t --no-align -c" | |
else | |
PSQL="psql --username=freecodecamp --dbname=worldcup -t --no-align -c" | |
fi | |
# Do not change code above this line. Use the PSQL variable above to query your database. |
This file contains hidden or 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
//grep -e matches a string / returns "ssl_url" | |
curl 'https://api.github.com/users/jeremyfiel/repos' | grep -e 'ssh' | |