What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-05 21:37:14
.gitignore nodejs
# Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json # Runtime data pids *.pid *.seed *.pid.lock # Directory for instrumented... Add solution -
Other 2021-11-03 06:17:18
use env flutter
You can do that by inserting in the .env file: HOST=localhost PORT=3000 Add the .env file in the assets section of the pubspec.yaml: assets: - .env Then, you can change the main function in the main.dart to load the .env file: Future main() async {... Add solution -
Go 2021-10-29 20:50:09
golang jwt example
package main import "fmt" // example usage func main() { userData := map[string]interface{}{"id": 1, "email": "[email protected]", "github_name": "restuwahyu13"} accessToken, err := ... Add solution -
Other 2021-10-19 16:24:11
.gitignore for django
# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python env/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *... Add solution