I hereby claim:
- I am anakin-hao on github.
- I am akua28 (https://keybase.io/akua28) on keybase.
- I have a public key ASAbwDF51V85JV2RsTplvgAn-FaAUXBMVrgcSetctLOhUQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
SELECT puff_id, timestamp, ST_X(location::geometry) AS lon, ST_Y(location::geometry) AS lat, lte, lmr from location | |
where realm_id = 'tait-internal-trial' AND puff_id = 'dc1a7f60-5047-48d7-8fb4-a1fe06044b3a' | |
AND timestamp between 1566435600000 and 1566450000000; |
import requests | |
from requests.auth import HTTPBasicAuth | |
import time | |
headers = {'Content-Type': 'application/json', 'performAsync': 'True', 'timeToLiveSeconds': '99999999999'} | |
body = {'test':123} | |
auth=HTTPBasicAuth('test', 'changeme') | |
baseurl = "http://infinispan-server-http/rest" | |
# baseurl = "http://infinispan-server-http.anakin-dev.svc.cluster.local/rest" |
kubectl exec -it infinispan-server-0 -- /opt/jboss/infinispan-server/bin/ispn-cli.sh --connect "/subsystem=datagrid-infinispan/cache-container=clustered:read-attri | |
bute(name=cluster-size)" |
from pyignite import Client | |
from pyignite.datatypes.cache_config import CacheMode | |
from pyignite.datatypes.prop_codes import * | |
from pyignite.exceptions import SocketError | |
import time | |
nodes = [('100.108.0.16',10800)] | |
nodes = [('100.108.0.2', 10800), ('100.108.0.5',10800), ('100.108.0.6',10800)] |
import requests | |
from requests.auth import HTTPBasicAuth | |
import time | |
headers = {'Content-Type': 'application/json', 'performAsync': 'True', 'timeToLiveSeconds': '99999999999'} | |
body = {'test':123} | |
auth=HTTPBasicAuth('test', 'changeme') | |
baseurl = "http://infinispan-server-http/rest" |
import requests | |
from requests.auth import HTTPBasicAuth | |
import time | |
headers = {'Content-Type': 'application/json', 'performAsync': 'True', 'timeToLiveSeconds': '99999999999'} | |
body = {'test':123} | |
auth=HTTPBasicAuth('test', 'changeme') | |
baseurl = "http://infinispan-server-http/rest" |
Get-ChildItem .\containers\api\ -Filter albi_*_rest | Foreach-Object { | |
$name = $_.BaseName | |
ECHO $name | |
$short = $name.replace("albi_", "") | |
$tag = "$short" + ":latest" | |
ECHO $short | |
docker build -t 440617634381.dkr.ecr.ap-southeast-2.amazonaws.com/albi/$tag .\\containers\\api\\ -f .\\containers\\api\\$name\\Dockerfile --no-cache | |
docker push 440617634381.dkr.ecr.ap-southeast-2.amazonaws.com/albi/$tag | |
kubectl delete pods -l app=$short} |
BEGIN; | |
ALTER TABLE albi_puff drop constraint albi_puff_realm_id_fkey; | |
ALTER TABLE albi_puff add constraint albi_puff_realm_id_fkey | |
FOREIGN KEY (realm_id) | |
REFERENCES realm(id) | |
ON DELETE CASCADE; | |
COMMIT; |
map $ssl_client_s_dn $ssl_client_s_dn_cn { | |
default ""; | |
~CN=(?<CN>[^\/,]+) $CN; | |
} | |
map $ssl_client_s_dn $ssl_client_s_dn_o { | |
default ""; | |
~O=(?<O>[^\/,]+) $O; | |
} |