Skip to content

Instantly share code, notes, and snippets.

@bonnie
bonnie / enroll_custom_attributes.php
Last active August 29, 2015 14:24
Setting Custom Attributes via the enroll End Point
<?php
$secret_key = YOUR_SECRET_KEY_HERE;
$uuid = YOUR_UUID_HERE;
$endpoint = '/api/enroll.json';
$email = "[email protected]";
echo $email . "<br><br>";
$url_data = array(
"uuid" => $uuid,
@bonnie
bonnie / update_attributes.php
Last active August 29, 2015 14:24
Editing Custom Attributes via the update_attributes End Point
<?php
$secret_key = YOUR_SECRET_KEY_HERE;
$uuid = YOUR_UUID_HERE;
$endpoint = '/data/customer/update_attributes.json';
$email = "[email protected]";
$url_data = array(
"uuid" => $uuid,
"email" => $email
@bonnie
bonnie / README.md
Created November 23, 2017 02:00
Foundations -> Practice Live Code Practice Challenge

test

@bonnie
bonnie / placeholder.txt
Created November 23, 2017 02:06
Foundations -> Practice Live Code Practice Challenge
just a placeholder file for now
@bonnie
bonnie / README.md
Last active November 23, 2017 06:09
Foundations -> Practice Live Code Practice Challenge

Foundations -> Practice practice challenge

Notes on this Practice challenge (please read carefully)

  • This is intended to give you an idea of the type of tasks you will be asked to do for the live coding interview.

  • You may choose either Pug or EJS as a template engine (here and in the live coding interview).

  • The live coding interview will have all the same sections as this practice exam, but the exact tasks will vary. For example, you might be asked to:

  • write a different kind of SQL query

@bonnie
bonnie / thursday_instruction.md
Last active June 5, 2018 22:37
Plan and links for Thursday's Algorithms / Data Structures instruction

Salary Negotiation Strategies

Meetup at Runway.js, Feb 27, 2018

The Panel

  • Mabel Chan, Co-founder, Albert's List
  • Artur Meyster, Founder, Breaking into Startups
  • Erin Wilson, Co-founder, Talent Engineer, Hirepool.io
  • Abbie Isidro, Creative and Marketing Recruiter - Beauty, Aquent
  • Noah Wisna, Head of Talent and Operations, 10 x 10
import { Switch, Route, Link } from "react-router-dom";
import Home from "./Home";
import Menus from "./Menus";
import Locations from "./Locations";
import About from "./About";export default function App() {
return (
<div>
<nav>
<Link to="/">Our Restaurant</Link>
<Link to="/menus">Menus</Link>
import { useParams, Link } from "react-router-dom";
export default function Locations() {
// We can use the `useParams` hook here to access
// the dynamic pieces of the URL.
const { id } = useParams();// in a real app, this info would come from the server
const locationData = {
"san-francisco": {
name: "San Francisco",