Skip to content

Instantly share code, notes, and snippets.

@NedyUdombat
NedyUdombat / task.html
Last active January 15, 2018 21:37
TheProDev TAsk
<!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");
@NedyUdombat
NedyUdombat / auth.test.js
Last active March 20, 2019 01:23
Sample Test
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 / setup.sh
Created November 28, 2019 22:14 — forked from chris-sev/setup.sh
Mac Setup
#!/bin/bash
set -euo pipefail
# Display message 'Setting up your Mac...'
echo "Setting up your Mac..."
sudo -v
# Homebrew - Installation
echo "Installing Homebrew"
// 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';
[
{
"phone": "+1 (870) 598-2578"
},
{
"phone": "+1 (999) 555-3160"
},
{
"phone": "+1 (998) 595-2277"
},
import { PostHog } from 'posthog-node';
const posthogClient = new PostHog(process.env.POSTHOG_API_KEY, {
host: process.env.POSTHOG_API_HOST,
});
const group = async (
userId: string,