Skip to content

Instantly share code, notes, and snippets.

View robynitp's full-sized avatar

Robyn Overstreet robynitp

  • NYU ITP
  • New York, NY
View GitHub Profile
[
{
"id": "1",
"start_time": "2013-12-30 7:45",
"end_time": "2013-12-30 8:21",
"activity": "Initial search with radio for sakis"
},
{
"id": "2",
"start_time": "2013-12-30 8:21",
{
"last_names":[
"Smith",
"Johnson",
"Williams",
"Jones",
"Brown",
"Davis",
"Miller",
"Wilson",
[
{
"Name": "Brett Stiller",
"URL": "http://brettstiller.xyz/?cat=6"
},
{
"Name": "Catherine Rehwinkel",
"URL": "http://www.catherinerehwinkel.com/itp-nyu/"
},
{
[
{
"name": "Robyn",
"number": "3543"
},
{
"name": "Opal",
"number": "1123"
},
{
@robynitp
robynitp / weather_example.json
Last active August 29, 2015 13:58
Example JSON text
{
"coord": {
"lon": -76.61,
"lat": 39.29
},
"sys": {
"message": 0.0441,
"country": "United States of America",
"sunrise": 1396953525,
"sunset": 1397000248
@robynitp
robynitp / object_literal.js
Last active August 29, 2015 13:57
A basic Javascript object literal
var employee = {
name: 'Jane',
dob: '04-09-80',
position: 'Art Director',
start_date: '10-14-2011',
subordinates: ['Jack','Jill','Edward'],
work: function(){
console.log('I make stuff');
},
employee_id: 23452
@robynitp
robynitp / html5_basic.html
Created March 10, 2014 20:05
A base HTML5 to use for a single page site. Javascript, jQuery, and CSS need to be added.
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html">
<!-- css and js references are just placeholders here. add your own -->
<link rel="stylesheet" type="text/css" media="all" href="css/style.css">
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/myscript.js"></script>
<title>HTML5</title>
@robynitp
robynitp / weathercolors.php
Created March 5, 2014 00:31
Example PHP logic using a simple weather app
<!DOCTYPE HTML>
<html>
<head>
<title>The colors of weather</title>
<?php
$temp = 45;
$conditions = 'rain';
/*
@robynitp
robynitp / foursquare_output.json
Created February 27, 2014 20:17
JSON output from Foursquare
{
"meta": {
"code": 200
},
"response": {
"neighborhoods": [],
"venues": [{
"id": "4b8aa3e1f964a520e77632e3",
"name": "NYU Stern School of
Business",
@robynitp
robynitp / file_put.php
Last active August 29, 2015 13:56
Writing to a file with PHP
<?php
/*
Add a new line to a file that contains records of names and phone numbers
For example, the file might be called clients.txt and look like this:
Chan,Roger,345-9876
Garcia,Victoria,456-1234
Stevens,Julie,678-9872
*/