Skip to content

Instantly share code, notes, and snippets.

View nikhilatjumpcut's full-sized avatar
👻
straight to the ramp

Nikhil Arora nikhilatjumpcut

👻
straight to the ramp
View GitHub Profile
@nikhilatjumpcut
nikhilatjumpcut / spacetime.gql
Created August 3, 2019 06:06
spacetime.gql
mutation createHtmlTag {
createHtmlTag(
data: {
title: "SPACETIME"
selector: "head"
isGlobal: false
position: PREPEND_TO
html: "<script\n src=\"https://unpkg.com/spacetime@5.9.1/builds/spacetime.min.js\"\n ></script>"
}
) {
@nikhilatjumpcut
nikhilatjumpcut / countdown.js
Last active August 5, 2019 11:11
enroll_countdown.js
(function startCountdown() {
var funnelAccess = window.__TSUNAMI__.funnelAccess;
var currentStep = funnelAccess.find(function(access) {
if (access.isCurrentStep) {
return true;
}
return false;
});
@nikhilatjumpcut
nikhilatjumpcut / create_migration.sh
Created October 4, 2018 20:52 — forked from MarkyMarkMcDonald/create_migration.sh
Create Flyway migration versioned by timestamp: ./bin/create_migration.sh "Add_Unique_Constraint_To_User_Email"
#!/bin/bash
echo "-- New Migration" > "`dirname $0`/../src/main/resources/db/migrations/V`date +%s`__$1.sql"
@nikhilatjumpcut
nikhilatjumpcut / comments_api.yml
Created September 29, 2018 00:21
Paris Comments API
swagger: '2.0'
info:
title: Paris Comments API
description: Provide virtual classroom feature for online education
version: "1.0.0"
# the domain of the service
host: api.jumpcut.com
# array of all schemes that your API supports
schemes:
- https
Item{19}
author (Map){6}
adminLevel (Number): 2
fName (String): John
id (String): e22e1f3b-e248-4a81-b243-9c6a60c8d377