Skip to content

Instantly share code, notes, and snippets.

exports.transferHandler = function transferHandler(event, context) {
context.callbackWaitsForEmptyEventLoop = false;
const time = new Date();
const current_time_unix = moment().unix();
connectToDatabase()
.then(() => {
BookingModel
.find({})
.then((bookings) => {
/**
* Created by Kareem on 12/18/16.
*/
public class swap1 {
public static void main (String[] args) {
int arr[] = {1, 9, 8, 4, 0, 0, 2, 7, 0, 6, 0, 9};
swapZeros(arr);
/**
*
* @author Kareem Khattab
*/
/**
*Given a string, return this output
*“3[a]4[b]” → aaabbbb
*“5[c3[b]]” → cbbbcbbbcbbbcbbbcbbb
*“2[z]3[z2[a]]” → zzzaazaazaa