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
# example of kubernetes config file php+nginx | |
# some volume types | |
# if use minikube should run command | |
# minikube mount /home/ganbatte/Desktop/project:/home/host2 | |
# create file index.php on shared path /home/ganbatte/Desktop/project/minikubeshared | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: nginx-conf | |
data: |
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
network: | |
ethernets: | |
ens160: | |
addresses: | |
- 192.168.1.2/16 | |
gateway4: 192.168.0.1 | |
nameservers: | |
addresses: | |
- 8.8.8.8 | |
version: 2 |
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
[ | |
"--extra-vars", | |
"git_branch=test" | |
] |
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
// disable changes of chmod | |
git config core.fileMode false | |
// change remote origin with personal token | |
git remote set-url origin https://[email protected] |
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
import 'dart:js_interop'; | |
import 'dart:typed_data'; | |
import 'package:web/web.dart' as web; | |
void webOpenFilePicker( | |
Function(web.File f, Uint8List bytes) hookSuccess, | |
Function(String) hookError, | |
bool openFileInBrowser, | |
) { | |
final input = |