Skip to content

Instantly share code, notes, and snippets.

@aza
aza / moop.js
Created November 16, 2017 00:59
(function(){
const options = {
name: 'RotateColor',
numberOfInputs: 1
}
var shader = {
name: options.name,
numberOfInputs: options.numberOfInputs,
@aza
aza / map.other.js
Last active December 8, 2016 22:43
const {fetch, Feature} = require('other')
const feature = new Feature({
name: 'Map',
version: '0.0.12',
dependencies: {
otherjs: '^3.6.x',
},
})
@aza
aza / translate.other.js
Last active December 8, 2016 05:51
Translate
const {fetch, Feature} = require('other')
const feature = new Feature({
name: 'Translate',
version: '0.0.1',
dependencies: {
otherjs: '^3.2.x',
},
})
@aza
aza / geometrydaily-big
Last active December 17, 2015 23:09
http://geometrydaily.tumblr.com's historical feed with big images
<?xml version="1.0"?><feed xmlns:media="http://search.yahoo.com/mrss/" xmlns:gr="http://www.google.com/schemas/reader/atom/" xmlns:idx="urn:atom-extension:indexing" xmlns="http://www.w3.org/2005/Atom" idx:index="no" gr:dir="ltr"><!--
Content-type: Preventing XSRF in IE.
--><generator uri="http://www.google.com/reader">Google Reader</generator><id>tag:google.com,2005:reader/feed/http://feeds.feedburner.com/GeometryDaily</id><title>Geometry Daily</title><subtitle type="html">Each day a new minimal geometric composition</subtitle><link rel="self" href="http://www.google.com/reader/atom/feed/http://feeds.feedburner.com/GeometryDaily?n=2000"/><link rel="alternate" href="http://geometrydaily.tumblr.com/" type="text/html"/><updated>2013-05-30T18:59:21Z</updated><entry gr:is-read-state-locked="true" gr:crawl-timestamp-msec="1369940361045"><id gr:original-id="http://geometrydaily.tumblr.com/post/51723853131">tag:google.com,2005:reader/item/df7d62afa62ad19a</id><category term="user/03912465134196497605/state/com.googl
var bling = $('.bling'),
ratingWidth = 320
var lastTime = new Date()
$(function() {
bling.show()
var animateBling = function () {
console.log( "Elapsed: " + (new Date() - lastTime) )
lastTime = new Date()
import os
import BaseHTTPServer
import SimpleHTTPServer
PORT = 8000
def run(server_class=BaseHTTPServer.HTTPServer,
handler_class=SimpleHTTPServer.SimpleHTTPRequestHandler,
port=PORT):
server_address = ('', port)
@aza
aza / CSS Animation for jQuery.js
Created June 11, 2010 21:08
jQuery CSS Animation Extension
/* Copyright (c) 2011 Aza Raskin
|
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
| documentation files (the "Software"), to deal in the Software without restriction, including
| without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
| copies of the Software, and to permit persons to whom the Software is furnished to do so, subject
| to the following conditions:
|
| The above copyright notice and this permission notice shall be included in all copies or substantial portions
| of the Software.
asdf