Skip to content

Instantly share code, notes, and snippets.

View kelvinsantos's full-sized avatar

Kelvin John Santos kelvinsantos

View GitHub Profile
const NOTIFICATION_PREFERENCES = ['email', 'sms', 'whatsapp'];
const CustomerNotificationPreferencesResource = Joi.object()
.keys({
invoice_created: Joi.array()
.items(Joi.string().valid(NOTIFICATION_PREFERENCES))
.optional()
.allow([]),
invoice_reminder: Joi.array()
.items(Joi.string().valid(NOTIFICATION_PREFERENCES))
@kelvinsantos
kelvinsantos / gist:863a055bd23cf6258046b00213e5cf35
Created May 4, 2021 16:40
Tradeartic - How to Open an Account
How to Open an Account:
1. Navigate to https://fbs.com/?ppu=15864506
If chrome is not working, use another browser
2. Once registered and email has been verified, Click > Open account
- choose Cent (if you are planning to invest below $1000)
- MetaTrader version: Metatrader 4
- Account currency: USD
- Leverage: 1:1000
- choose Standard (if you are planning to invest above $1000)
@kelvinsantos
kelvinsantos / install-redis.sh
Created March 28, 2020 06:50 — forked from jpickwell/install-redis.sh
Installing Redis 5.0.0 on Amazon Linux
#!/bin/bash
###############################################
# To use:
# chmod +x install-redis.sh
# ./install-redis.sh
###############################################
version=5.0.0
cl_crosshairalpha "255"; cl_crosshaircolor "5"; cl_crosshaircolor_b "0"; cl_crosshaircolor_r "0"; cl_crosshaircolor_g "250"; cl_crosshairdot "0"; cl_crosshairgap "-7"; cl_crosshairsize "1"; cl_crosshairstyle "2"; cl_crosshairusealpha "1"; cl_crosshairthickness "2.5"; cl_fixedcrosshairgap "-7"; cl_crosshair_outline "0"; cl_crosshair_outline_draw "0"