- Run the minikube
minikube start --nodes 1
- Proxy and expose kubernetes server api
kubectl proxy --address='0.0.0.0' --accept-hosts='^*$'
- Expose the proxy port to access your cluster from outside
minikube start --nodes 1
kubectl proxy --address='0.0.0.0' --accept-hosts='^*$'
A quick cheatsheet of useful snippet for Flutter
A widget is the basic type of controller in Flutter Material.
There are two type of basic Widget we can extend our classes: StatefulWidget
or StatelessWidget
.
StatefulWidget are all the widget that interally have a dynamic value that can change during usage. It can receive an input value in the constructor or reference to functions. You need to create two classes like:
<?php | |
/* | |
* PHP: Recursively Backup Files & Folders to ZIP-File | |
* MIT-License - 2012-2018 Marvin Menzerath | |
*/ | |
// Make sure the script can handle large folders/files | |
ini_set('max_execution_time', 600); | |
ini_set('memory_limit', '1024M'); |