I hereby claim:
- I am btsuhako on github.
- I am btsuhako (https://keybase.io/btsuhako) on keybase.
- I have a public key ASCFun2fxDNhezUTkNQrshqs70-w0v7hOWKjef0ffagydAo
To claim this, I am signing this object:
| import requests | |
| import os | |
| GITHUB_TOKEN = os.getenv('GITHUB_TOKEN') | |
| API_URL = 'https://api.github.com/orgs/{org}/actions/runners' | |
| def get_all_runners(org): | |
| runners = [] | |
| page = 1 | |
| while True: |
| FROM mdillon/postgis:11 | |
| RUN sed -i 's/$/ 10/' /etc/apt/sources.list.d/pgdg.list | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| postgresql-10 postgresql-10-postgis-2.5 postgresql-10-postgis-2.5-scripts \ | |
| && rm -rf /var/lib/apt/lists/* | |
| ENV PGBINOLD /usr/lib/postgresql/10/bin | |
| ENV PGBINNEW /usr/lib/postgresql/11/bin |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "ipcMode": null, | |
| "executionRoleArn": null, | |
| "containerDefinitions": [ | |
| { | |
| "dnsSearchDomains": null, | |
| "logConfiguration": null, | |
| "entryPoint": null, | |
| "portMappings": [ | |
| { |
| { | |
| "ipcMode": null, | |
| "executionRoleArn": null, | |
| "containerDefinitions": [ | |
| { | |
| "dnsSearchDomains": null, | |
| "logConfiguration": null, | |
| "entryPoint": null, | |
| "portMappings": [ | |
| { |
| // basic reimplementation of https://lodash.com/docs#get | |
| var util = require('util') | |
| var obj1 = { | |
| 'a': { | |
| 'b': { | |
| 'c': 1 | |
| } | |
| } |
| SET PORT_NAME = 8443 | |
| SET USER_NAME = everyone | |
| netsh http add urlacl url=http://+:PORT_NAME/ user=USER_NAME |
| const API_URL = "http://myapp.com/api/v1/object/:id"; | |
| const API_KEY = "1234567890"; | |
| //URL format of API call: | |
| //http://myapp.com/api/v1/object/1?access_token=1234567890 | |
| app.service("Service", function ($resource, $q) { | |
| var Resource = $resource(API_URL, { | |
| access_token: API_KEY |
| //assuming that you're using jQuery | |
| var myObject = { "my_key": "my_value" }; | |
| $.ajax({ | |
| type: "POST", | |
| url: "my_route", | |
| data: JSON.stringify(myObject), | |
| contentType: 'application/json', | |
| dataType: 'json', |