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
[2022-04-19T00:48:29.775Z] Remote-Containers 0.232.6 in VS Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977). | |
[2022-04-19T00:48:29.775Z] Start: Resolving Remote | |
[2022-04-19T00:48:29.797Z] Start: Run: ssh devcloud /bin/sh | |
[2022-04-19T00:48:29.799Z] Start: Run in host: id -un | |
[2022-04-19T00:48:30.554Z] dc-user | |
[2022-04-19T00:48:30.555Z] | |
NOTICE | |
This is a private computer system. |
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
[2022-04-18T20:15:32.079Z] Remote-Containers 0.232.6 in VS Code 1.66.1 (8dfae7a5cd50421d10cd99cb873990460525a898). | |
[2022-04-18T20:15:32.079Z] Start: Resolving Remote | |
[2022-04-18T20:15:32.101Z] Start: Run: ssh devcloud /bin/sh | |
[2022-04-18T20:15:32.105Z] Start: Run in host: id -un | |
[2022-04-18T20:15:32.896Z] dc-user | |
[2022-04-18T20:15:32.897Z] | |
NOTICE | |
BLAH BLAH | |
Oracle 8.3 |
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
FROM python:3.9 | |
WORKDIR /app | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt | |
COPY . . | |
ENTRYPOINT ["python", "-m", "gunicorn", "--bind", ":8080", "--workers", "1", "--threads", "8", "--timeout", "0", "main:app"] |
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
### Keybase proof | |
I hereby claim: | |
* I am sorenisanerd on github. | |
* I am soren (https://keybase.io/soren) on keybase. | |
* I have a public key ASAZ7oxndpchLRfYXZZc5qN_U0MEoYEmBz2eOJp3o2ZTxQo | |
To claim this, I am signing this object: |
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
#!/bin/bash | |
install_docker() { | |
apt-get install -y screen | |
screen -dmS dockerinstall sh -c 'curl https://get.docker.com/ | sh' | |
} | |
install_and_launch_finish_install_script() { | |
cat > /tmp/finish-install.sh <<EOF | |
#!/bin/sh -x |
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
#!/usr/bin/env python | |
import re | |
import yaml | |
nodes = ['ct1', 'stmonleader1', 'stmon1', 'stmon2', 'st1', 'ocdb1', 'oc1', 'gcp1', 'haproxy1', 'bootstrap1'] + ['cp%d' % x for x in range(1,100)] | |
with open('upgrade.yaml', 'r') as fp: | |
data = yaml.load(fp) | |
groups = {} |
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
#include <zmq.h> | |
#include <malloc.h> | |
#include <assert.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
int main(int argc, char *argv[]) { | |
void *ctx, *socket; |
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
#include <zmq.h> | |
#include <malloc.h> | |
#include <assert.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
int main(int argc, char *argv[]) { | |
void *ctx, *socket; |
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
$ ifmap-view localhost 8443 visual visual | |
MAP server connection = localhost:8443 | |
MAP server credentials = visual:visual | |
Start node = None | |
Skip List = ['id-perms'] | |
Verbose = 0 |
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
soren@stmonleader1-production:~$ sudo ceph pg 6.6fe query | |
{ "state": "active+undersized+degraded", | |
"snap_trimq": "[]", | |
"epoch": 2556, | |
"up": [ | |
41, | |
56], | |
"acting": [ | |
41, | |
56], |
NewerOlder