- have fun with them
- projections
- filters
- resource-keys
- scripting-gcloud
- gcloud alpha interactive
- https://medium.com/@Joachim8675309/getting-started-with-gcloud-sdk-part-1-114924737
- https://medium.com/@Joachim8675309/getting-started-with-gcloud-sdk-part-2-4d049a656f1a
- https://gist.github.com/bborysenko/97749fe0514b819a5a87611e6aea3db8
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
| #!/bin/bash | |
| shopt -s extglob | |
| #echo -n "Username: "; | |
| #read username; | |
| #echo -n "Password: "; | |
| #Disabling echo, so that password will not be visible on screen | |
| #read -s password | |
| #Enabling echo | |
| echo ""; | |
| echo -n "Location deploy in: "; |
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
| 1234 | |
| ({ | |
| "request_id": 12453, | |
| "response_params": [{ | |
| "allcount": 10, | |
| "curcount": 3, | |
| "device_id": 263, | |
| "rid": -1, | |
| "picname": "", | |
| "profileid": "0104", |
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
| 1234 | |
| ({ | |
| "request_id":1234, | |
| "response_params":{ | |
| "ieee":"00137A000003F189", | |
| "ep":"01", | |
| "operatortype":0, | |
| "param1":1, | |
| "param2":2, | |
| "param3":3 |
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
| 000000 XEROX CORPORATION | |
| 000001 XEROX CORPORATION | |
| 000002 XEROX CORPORATION | |
| 000003 XEROX CORPORATION | |
| 000004 XEROX CORPORATION | |
| 000005 XEROX CORPORATION | |
| 000006 XEROX CORPORATION | |
| 000007 XEROX CORPORATION | |
| 000008 XEROX CORPORATION |
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
| 1234 | |
| ({ | |
| "request_id": "1234", | |
| "response_params": [ | |
| { | |
| "allcount": 24, | |
| "curcount": 1, | |
| "house_ieee": "00137A0000012EDD", | |
| "device_id": 7, | |
| "rid": -1, |
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
| port: 9000 | |
| log : | |
| file: /tmp/users.log | |
| level: debug | |
| jwt_secret": secret | |
| database: | |
| mongo: | |
| host: localhost | |
| uri: mongodb://admin:*@qcoop-cluster0-shard-00-00-ty5r7.gcp.mongodb.net:27017,qcoop-cluster0-shard-00-01-ty5r7.gcp.mongodb.net:27017,qcoop-cluster0-shard-00-02-ty5r7.gcp.mongodb.net:27017/test?replicaSet=QCOOP-Cluster0-shard-0&authSource=admin | |
| name: LogSystem |
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
| version: '3' | |
| services: | |
| # The Application | |
| brazn-php: | |
| image: restaff/brazn-php | |
| working_dir: /var/www | |
| volumes: | |
| - /var/www/storage | |
| environment: | |
| DB_HOST: brazn-mysql |
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
| json output ==> {"name":"Allen","age":30,"married":true,"f":14500.6} | |
| name: "Allen" | |
| age: 30 | |
| married: true | |
| f: 14500.6 |
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
| <?php | |
| public function getFilterVehiclesV2($currentPage = 1, $pageSize = 10, $filterData, $sortData) | |
| { | |
| $stageFilter = []; | |
| if (count($filterData->make_model['make']) > 0 || $filterData->make_model['model']) { | |
| $stageFilter[] = [ | |
| '$or' => [ | |
| [ |