$ sudo rm -rf /System/Library/Caches/* /Library/Caches/* ~/Library/Caches/*
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 | |
set -eu | |
NAME=$1 | |
ghq create $NAME | |
cd $(ghq root)/github.com/msh5/$NAME | |
poetry init --no-interaction --name $NAME --dev-dependency pylint |
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
# Run container | |
docker run --name some-mysql -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -e MYSQL_DATABASE=mydb -p 3306:3306 -d mysql | |
# Connect to DB in container | |
mysql -h localhost -P 3306 -u root --protocol tcp mydb |
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
//usr/bin/env go run $0 $@ | |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
"strings" | |
) |
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 | |
set -eu | |
# Accept parameters via command argments. | |
PROJECT_NAME=$1 | |
# Create a project directory and move to there. | |
mkdir $PROJECT_NAME | |
cd $PROJECT_NAME |
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 | |
echo "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
#!/bin/sh | |
set -eu | |
mkdir $PROJECT_NAME | |
cd $PROJECT_NAME | |
git init | |
go mod init | |
echo "#$PROJECT_NAME" > README.md | |
gibo dump go > .gitignore |
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
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" |
- OpenRTB 2.5
- FINAL (Dec, 2016) - OpenRTB Spec v2.5 - OpenRTB-API-Specification-Version-2-5-FINAL.pdf
- OpenRTB 3.0
- AdCOM 1.0
NewerOlder