Skip to content

Instantly share code, notes, and snippets.

View crismanNoble's full-sized avatar

Cris Noble crismanNoble

View GitHub Profile
{
"backdrop_path": "\/okhLwP26UXHJ4KYGVsERQqp3129.jpg",
"created_by": [
{
"id": 63554,
"name": "Dave Erickson",
"profile_path": null
},
{
"id": 1223867,
{
"adult": false,
"backdrop_path": null,
"belongs_to_collection": null,
"budget": 500000,
"genres": [
{
"id": 27,
"name": "Horror"
}
api key: Y0UR_AP1_K3Y
datacenter: us6
list id: 24d099dff7
<?php
//fill in these values for with your own information
$api_key = 'Y0UR_AP1_K3Y';
$datacenter = 'us6';
$list_id = '24d099dff7';
$email = $_POST['email'];
$status = 'pending';
if(!empty($_POST['status'])){
@crismanNoble
crismanNoble / mc-submit.js
Last active September 29, 2015 14:36
Simple form AJAX example
$('document').ready(function(){
$('.mc-form-example').submit(function(e){
//prevent the form from submitting via the browser redirect
e.preventDefault();
//grab attributes and values out of the form
var data = {email: $('#mc-email').val()};
var endpoint = $(this).attr('action');
@crismanNoble
crismanNoble / dabblet.css
Created February 9, 2012 20:05
Animated QR Code or Where it Goes Nobody Knows
/* Animated QR Code or Where it Goes Nobody Knows */
body {
background: #f5f5f5;
}
#container {
height: 210px;
width: 210px;
background: grey;
@crismanNoble
crismanNoble / index.html
Created July 16, 2012 23:00 — forked from mbostock/.block
SVG Linear Gradient (D3) Rainbow
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.27.1"></script>
</head>
<body>
<script type="text/javascript">
var w = 400,
h = 200;
@crismanNoble
crismanNoble / inlet.js
Created July 18, 2012 15:14
just another inlet to tributary
/
//
/
//////////////
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<div class="knockout"><a href="http://mksht.crisnoble.com" rel="Like cool shit? visit my site">mksht</a></div>