Skip to content

Instantly share code, notes, and snippets.

View diorahman's full-sized avatar

Dhi Aurrahman diorahman

  • Cokelatia
  • Bandung
View GitHub Profile
/* eslint-disable one-var */
/**
* Sanitize msisdn
*
* @param {string} msisdn - The MSISDN to be sanitized
* @param {object} config - The config: countryCode, stripCountryCode, leadingZero
* stripCountryCode means remove the countryCode from the msisdn
* leadingZero true means replace the stripped countryCode with zero
*/
import crypto from 'crypto';
/**
* @param {String} secret
* @param {String} href
* @param {Object} payload
*/
export default (secret, href, payload) => {
payload = JSON.stringify(payload);
calculated = crypto
  • Validation Errors (machine-to-machine)
  • Not eligible Error (to-user)
  • Internal Errors (to-user)
    • EV related err
cd repository
git checkout --orphan orphan_name
git rm -rf .
rm '.gitignore'
echo "#Title of Readme" > README.md
git add README.md
git commit -a -m "Initial Commit"
git push origin orphan_name
{
"data": [{
"val": "12345678901234567890.30"
}, {
"val": "12345678901234567890.20"
}]
}
{
"data": [{
"val": 12345678901234567890.30
}, {
"val": 12345678901234567890.20
}]
}
'use strict';
const rowProducer = (num) => {
return new Promise((resolve) => {
setTimeout(() => {
let rows = [];
for (let i = 0; i < num; i++) {
rows.push([['a' + i, 'b' + i], ['c' + i, 'd' + i]]);
}
return resolve(rows);
'use strict';
const rowProducer = (num) => {
return new Promise((resolve) => {
setTimeout(() => {
let rows = [];
for (let i = 0; i < num; i++) {
rows.push([['a' + i, 'b' + i], ['c' + i, 'd' + i]]);
}
return resolve(rows);
Nama Dokumen NotulensiRapatRestorasi R. 1201
Tempat/ Tanggal R. Staff Baru / Jum’at, 19 Februari 2016
Attendees:
DosenFisika ITB
1. Dr. Widayani
2. Dr. DoddySutarno
3. Dr. AsrilPramutadi
4. Dr. Fourier
5. Dr. TriatiDewiKencanaWungu
#!/usr/bin/env bash
echo 'WARNING: This script for documentation. Follow the steps it details as some are manual.'
exit 0;
# Before you start fork libchromiumcontent, brightray and electron. Brightray isn't strictly
# necessary as we patch it manually, but at some point it will need to be addressed.
GITHUB_USER=simongregory