I hereby claim:
- I am valeriansaliou on github.
- I am valerian (https://keybase.io/valerian) on keybase.
- I have a public key ASAoeFcGq8cTxJMg6NVKnrqOa8YafbxlxNmDmA00RyqURwo
To claim this, I am signing this object:
#!/bin/sh | |
if [ "$1" ]; then | |
# Upgrade both GitLab CE + GitLab CI | |
upgrade_gitlab_ce "$1"; | |
upgrade_gitlab_ci "$1"; | |
else | |
echo "[upgrade_gitlab] Please feed me with upgrade branch (X-X-stable)" | |
fi |
// CRISP_READY_TRIGGER is read as a "crisp ready" callback | |
CRISP_READY_TRIGGER = function() { | |
// Set user email once crisp is ready | |
$crisp.user.email.set("USER_EMAIL_THERE"); | |
}; |
#!/bin/bash | |
# Script to instruct the Mac how to route packets to the | |
# software defined network where containers created via boot2docker | |
# reside. This lets you casually directly to ports (ssh, http, etc. etc.) | |
# on those containers. | |
function ERROR(){ echo "ERROR: $*" ; } | |
function FAIL(){ echo "FAILING: $*" ; exit 1; } |
defaults delete com.apple.dock expose-animation-duration; killall Dock |
#!/bin/bash | |
# Cron wrapper, call this directly from your cron. Depends on renew script (letsencrypt_manual_renew.sh). | |
ADMIN_EMAIL=hostmaster@server.tld | |
RENEWLOG=`/srv/data_server/certs/tools/letsencrypt_manual_renew.sh 2>&1` | |
rc=$? | |
if [[ $rc -ne 0 ]]; then |
I hereby claim:
To claim this, I am signing this object:
** File Read Latency Histogram By Level [default] ** | |
2019/03/31-08:53:54.017088 7fc4977f6700 [WARN] [db/db_impl.cc:669] ------- DUMPING STATS ------- | |
2019/03/31-08:53:54.017165 7fc4977f6700 [WARN] [db/db_impl.cc:670] | |
** DB Stats ** | |
Uptime(secs): 41400.5 total, 600.0 interval | |
Cumulative writes: 17M writes, 17M keys, 17M commit groups, 1.0 writes per commit group, ingest: 13.88 GB, 0.34 MB/s | |
Cumulative WAL: 17M writes, 0 syncs, 17597384.00 writes per sync, written: 13.88 GB, 0.34 MB/s | |
Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent | |
Interval writes: 0 writes, 0 keys, 0 commit groups, 0.0 writes per commit group, ingest: 0.00 MB, 0.00 MB/s | |
Interval WAL: 0 writes, 0 syncs, 0.00 writes per sync, written: 0.00 MB, 0.00 MB/s |
#!/bin/bash | |
BACKUP_DATE=$(date +"%Y-%m-%d_%H-%M-%S") | |
AWS_CONTAINER="s3://xxx-backup/xxx_backup" | |
AWS_DESTINATION="$AWS_CONTAINER/$BACKUP_DATE" | |
GPG_RECIPIENT=xxx@xxx.xxx | |
ADMIN_EMAIL=xxx@xxx.xxx |
var mongoose = require("mongoose"); | |
var SonicChannelSearch = require("sonic-channel").Search; | |
var MessageModel = mongoose.model("message", new mongoose.Schema({ | |
website_id : String, | |
type : String, | |
content : Object | |
})); | |
var query_count = 0; |
var mongoose = require("mongoose"); | |
var SonicChannelIngest = require("sonic-channel").Ingest; | |
var MessageModel = mongoose.model("message", new mongoose.Schema({ | |
session_id : String, | |
website_id : String, | |
type : String, | |
content : Object | |
})); |