Skip to content

Instantly share code, notes, and snippets.

View gist:98fb239cf41ba2a6c2a08aa5c0884c53
[
{
"phone": "+1 (870) 598-2578"
},
{
"phone": "+1 (999) 555-3160"
},
{
"phone": "+1 (998) 595-2277"
},
View exportjson.js
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';
View setup.sh
#!/bin/bash
set -euo pipefail
# Display message 'Setting up your Mac...'
echo "Setting up your Mac..."
sudo -v
# Homebrew - Installation
echo "Installing Homebrew"
View auth.test.js
import chai from 'chai';
import chaiHttp from 'chai-http';
import app from '../server';
// configure chai to use expect
chai.use(chaiHttp);
const { expect } = chai;
describe('Authentication tests', () => {
@NedyUdombat
NedyUdombat / task.html
Last active Jan 15, 2018
TheProDev TAsk
View task.html
<!DOCTYPE html>
<html>
<head>
<title>Landing Profile Page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
body{
background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("https://res.cloudinary.com/nedy123/image/upload/v1516020817/bac_e2bhfu.jpg");