Data URI manipulation made easy.
This isn't very robust, and will reject a number of valid data URIs. However, it meets the most useful case: a mimetype, a charset, and the base64 flag.
# A quick and dirty plugin for Jekyll by Eli Naeher | |
# | |
# This plugin creates a site.years template variable which allow you to group archive links by year and month. | |
# The structure of site.years is: | |
# site.years = 2001=>[[post1, post2...], [...]], 2002=>[...] | |
# | |
# Usage should look something like this: | |
# {% for year in site.years %} | |
# <h2>Year {{ year.first.first.date | date: "%Y" }}</h2> |
#include "pins_arduino.h" | |
#include "wiring_private.h" | |
void spiwrite(uint8_t c) | |
{ | |
int8_t i; | |
// MSB first, clock low when inactive (CPOL 0), data valid on leading edge (CPHA 0) | |
// Make sure clock starts low | |
// slow version - built in shiftOut function |
class EventEmitter | |
constructor: -> | |
@events = {} | |
emit: (event, args...) -> | |
return false unless @events[event] | |
listener args... for listener in @events[event] | |
return true | |
addListener: (event, listener) -> |
#!/bin/sh | |
# Parse audio track times from an audacity .aup project | |
# Copyright (C) 2012 William Heinbockel <heinbockel@redhat.com> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
global targetDomain | |
global folderName | |
-- options | |
set targetDomain to "dropcam.com" | |
set folderName to (path to desktop as text) & "Dropcam" | |
-- main code | |
global recordingFile | |
global newMovieRecording |
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
This game is copyright 2001, Michael "Epoch" Sullivan and Jeffrey Grant. If you want to repost it or whatever, drop me an email.
Characters in All Outta Bubblegum have one stat -- Bubblegum. It's technically a number which varies from 0 through 8, though the designers highly, highly recommend that you don't do anything so banal as write down a number, and, instead, pass out actual sticks of bubblegum to the players. This will also help when you play All Outta Bubblegum drunk, which is, let's be blunt, probably the only time you'd even consider playing this game.
Bubblegum always starts out at 8.
GNOME's tracker is a CPU and privacy hog. There's a pretty good case as to why it's neither useful nor necessary here: http://lduros.net/posts/tracker-sucks-thanks-tracker/
After discovering it chowing 2 cores, I decided to go about disabling it.
Directories