Date: [date]
Between us [company name] and you [customer name].
In short; neither of us will share any confidential information about each-other, by any means, with anyone else.
// See http://javascriptweblog.wordpress.com/2011/08/08/fixing-the-javascript-typeof-operator/ | |
(function(global) { | |
// Maintain a map of already-encountered types for super-fast lookups. This | |
// serves the dual purpose of being an object from which to use the function | |
// Object.prototype.toString for retrieving an object's [[Class]]. | |
var types = {}; | |
// Return a useful value based on a passed object's [[Class]] (when possible). | |
Object.toType = function(obj) { |
function getp(puzzle, x, y) { | |
var hash = {}; | |
for (var u = 0; u < 9; u++) hash[ puzzle[y][u] ] = 1; | |
for (var u = 0; u < 9; u++) hash[ puzzle[u][x] ] = 1; | |
for (var u = 0; u < 9; u++) hash[ puzzle[ 3*((y/3)|0) + ((u/3)|0) ][ 3*((x/3)|0) + (u%3) ] ] = 1; | |
var poss = []; | |
for (var i = 1; i <= 9; i++) if (!(i in hash)) poss.push(i); | |
return poss; | |
} |
@mixin grid-spans($col-span){ | |
@while $col-span > 0{ | |
.grid-span-#{$col-span}{ | |
width: grid-span($col-span); | |
} | |
$col-span: $col-span - 1; | |
} | |
} | |
if (typeof Promise === 'undefined') { | |
require.ensure([], (require) => { | |
require('imports?this=>window!es6-promise') | |
}) | |
} | |
if (typeof fetch === 'undefined') { | |
require.ensure([], (require) => { | |
require('imports?self=>window!whatwg-fetch') | |
}) |
import connect from 'koa-connect'; | |
import compose from 'koa-compose'; | |
import webpack from 'webpack'; | |
import webpackDev from 'webpack-dev-middleware'; | |
import webpackHot from 'webpack-hot-middleware'; | |
export default function (config = {}) { | |
let compiler = webpack(config); | |
return compose([ |
<?php | |
// you can't just get this as JSON in the first place, can you ...? | |
$xml = simplexml_load_file( "http://readability.com/christopherburton/latest/feed" ); | |
$json = json_encode( $xml ); | |
$array = json_decode( $json,TRUE ); | |
$items = $array['channel']['item']; | |
// we're doing this now so we can sanitize the data without requiring a second loop | |
// (substitute your actual DB credentials) | |
$DB = new mysqli( DB_HOST,DB_USER,DB_PASS,DB_NAME ); |
db = db.getSisterDB("config"); | |
var mongosConn = db; // assume we connected to a mongos to get going | |
var res = null; | |
function check() { | |
printjson(res); | |
if( !res || !res.ok ) { | |
throw "check(): not ok, stopping"; |
/* ============================================================================= | |
CSS Declarations | |
========================================================================== */ | |
/* ==|== The Standard Way =================================================== */ | |
.foo::before { | |
/* ...css rules... */ | |
} |
$base-font-size: 16px; | |
$base-line-height: 1.5; | |
// this value may vary for each font | |
// unitless value relative to 1em | |
$cap-height: 0.68; | |
@mixin baseline($font-size, $scale: 2) { |