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
openapi: 3.0.2 | |
info: | |
title: FastAPI | |
version: 0.1.0 | |
paths: | |
/oauth2/token: | |
post: | |
tags: | |
- OAuth2 | |
summary: Login For Access Token |
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 ( | |
"bufio" | |
"bytes" | |
"crypto/md5" | |
"crypto/rand" | |
"encoding/binary" | |
"encoding/hex" | |
"flag" |
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
<?php | |
/** | |
* Dump database schema to schema config files | |
* | |
*/ | |
$env = 'test'; | |
if (empty($_SERVER['argv'][1])) { | |
echo "Usage: php dump.php (production|test|dev) \n"; | |
exit(); |