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
git clone https://github.com/GoogleCloudPlatform/anthos-service-mesh-samples | |
cd anthos-service-mesh-samples/docs/helloserver | |
python3 server/server.py | |
Open another terminal window so that you can send requests to the server | |
curl http://localhost:8080 | |
Cd anthos-service-mesh-samples/docs/helloserver/loadgen | |
export SERVER_ADDR=http://localhost:8080 | |
export REQUESTS_PER_SECOND=5 | |
virtualenv --python python3 env | |
source env/bin/activate |
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
" int sum_odd_n(int n) ". | |
For example : | |
input : 5 | |
output: 25 | |
input : 6 | |
output : 36 |
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
For example: | |
https://www.xyz.com:1080/index.htm | |
protocol://host:port/filename |
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
INPUT: | |
00001 | |
00001 | |
00001 | |
00001 | |
00001 | |
OUTPUT: | |
11110 |
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
For example: | |
input : 5 | |
output: | |
* | |
* * | |
* * * | |
* * | |
* |
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
- name: Azure CLI script to create a new Web App for Container | |
uses: azure/CLI@v2 | |
with: | |
azcliversion: latest | |
inlineScript: | | |
az account show | |
az webapp deployment slot create --debug --resource-group ${{ env.AZURE_RESOURCE_GROUP }} --name ${{ env.AZURE_WEBAPP_NAME }} --slot ${{ env.GITHUB_HEAD_REF }} |
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
{:dls_required_question_count => {[:tag_id, :min_ques_count, :max_ques_count], [:tag_id, :min_ques_count, :max_ques_count]}} |
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
[{"custom_id":1,"name":"Exam1518","countdown_configuration":"360,360,360"}] |