Skip to content

Instantly share code, notes, and snippets.

View Sheeri's full-sized avatar

Sheeri K. Cabral Sheeri

  • Collibra
  • Boston, MA USA
  • X @sheeri
View GitHub Profile
@Sheeri
Sheeri / config.js yzqrr
Created January 25, 2022 14:15
for Mahabbat
const config = {
appName: 'WildAid O-FISH',
realmServiceName: 'mongodb-atlas',
realmAppId: 'o-fish-yzqrr',
database: 'ofish',
chartsConfig: {
baseUrl: "https://charts.mongodb.com/charts-o-fish-psrir",
"boarding-compliance":{
chartId: "60db4711-8016-49a0-8e9a-44c2c7464219"
},
@Sheeri
Sheeri / loadTest.js
Last active May 18, 2020 16:13
mdb wa load test
'use strict';
function getRandomString(length) {
let s = '';
while (s.length < length && length > 0) {
const r = Math.random();
if (r < 0.1) {
s += Math.floor(r * 100);
} else if (r > 0.5) {
s += String.fromCharCode(Math.floor(r * 26) + 97);
@Sheeri
Sheeri / php-cli.spec
Last active January 24, 2022 21:55
recompile php_cli using libmysqlclient, for use with LDAP authentication via pam.so
# IUS spec file for php70u, forked from
#
# Fedora spec file for php
#
# License: MIT
# http://opensource.org/licenses/MIT
#
# Please preserve changelog entries
#
# API/ABI check