Skip to content

Instantly share code, notes, and snippets.

// Required global settings and mixins for Foundation
// @import "foundation/foundation-global";
// Settings file to override Foundation variables
// You can find the variables for each component at the bottom of their
// doc page. We tried to name them to where they'd make sense just by reading them.
// Go to http://foundation.zurb.com/docs/ to find what you need.
//
//
// Foundation Variables
//
// The default font-size is set to 100% of the browser style sheet (usually 16px)
// for compatibility with browser-based text zoom or user-set defaults.
$base-font-size: 100% !default;
// $base-line-height is 24px while $base-font-size is 16px
// $base-line-height: 150%;
//
// Random Credit Card Number Generator
//
// By: Brad Conte (http://bradconte.com)
//
function cc_gen() {
var pos;
var str = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var sum = 0;

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

//
// AskForCleanDate.swift
// My Clean Date
//
// Created by Tim Smith on 4/24/15.
// Copyright (c) 2015 WebRuin. All rights reserved.
//
import UIKit
@webrune-tim
webrune-tim / Rise Up Home Page Temp.markdown
Last active February 2, 2016 00:22
Rise Up Home Page Temp
[{
"id": 1,
"name": "Topicstorm",
"location_lat": "41",
"location_long": "-8.4667",
"date_found": "12/16/2015",
"last_confirmed ": "12/25/2015",
"description ": "Maecenas pulvinar lobortis est. Phasellus sit amet erat. Nulla tempus."
}, {
"id": 2,
d66618859fdd2ac6bea30fae443071b2
import React from "react";
export default class Index extends React.Component {
render() {
return (
<div>
<h1>Index</h1>
</div>
);
}
import React from 'react'
// Flux
import * as TodoActions from '../../actions/TodoActions'
export default class Todo extends React.Component {
constructor(props) {
super(props)
this.handleDeleteTodo = this.handleDeleteTodo.bind(this)
this.handleCompleteToggle = this.handleCompleteToggle.bind(this)