Skip to content

Instantly share code, notes, and snippets.

@dotnetCarpenter
dotnetCarpenter / dabblet.css
Created May 20, 2014 14:47
indecks logo animation
/**
* indecks logo animation
*/
background: #fff;
@dotnetCarpenter
dotnetCarpenter / dabblet.css
Created May 20, 2014 16:52
indecks logo animation
/**
* indecks logo animation
*/
background: #fff;
@dotnetCarpenter
dotnetCarpenter / dabblet.css
Created September 7, 2014 18:32
indecks logo animation
/**
* indecks logo animation
*/
background: #fff;

SVG Filters Gray -> Non-linear Color

Using SVG filters to turn a grayscale image into a multi-toned image with pure whites and blacks but colored mid-tones. Not sure if there is a name for this in traditional graphic printing.

If you un-comment the section of CSS, the color becomes a hover effect.

See the Fun with Color Filters collection for more.

Forked from Amelia Bellamy-Royds's Pen CSS Filters Gray -> Color.

// GUID generated @http://www.somacon.com/p113.php
$.ajaxSetup({
beforeSend: function(xhr){
xhr.setRequestHeader("GUID", "8A555800-B9D2-11DF-99DA-39E8DFD72085");
}
});
"define metadata";
({
"description": "Provides a clear command to the command line",
"provides": [
{
"ep": "command",
"name": "clear",
"pointer": "#clear"
}
],
@dotnetCarpenter
dotnetCarpenter / keeper.js
Created February 21, 2011 07:05
nice C# like formattin structure in js
/**
* Format all arguments into the first argument. This is a
* convenience function similar to the C sprintf function, though
* only with simple replacements. Replacements are formatted like
* #{i} where i is a zero based index into the additional
* arguments passed in to format beyond the first.
*
* Additional parameters not used will be ignored.
*
* Including formatting requests for parameters that don't exist
@dotnetCarpenter
dotnetCarpenter / gist:854427
Created March 4, 2011 10:15
Enumerates in js
//http://jsfiddle.net/dotnetCarpenter/47KmD/6/
var dir = {
up: 1,
right: 2,
down: 4,
left: 8,
other: 16
@dotnetCarpenter
dotnetCarpenter / index.html
Created October 20, 2012 08:09
An idea to create easy regex authoring and debugging.
<h1>RegEx Tooling</h1>
<p>An idea to create easy regex authoring and debugging.
</p>
<section class="synopsis">
<h2>Synopsis</h2>
<ul>
<li>Show immidiate response to author</li>
<li>Show patterns in input text</li>
<li>Make transformations a one-step process
<ol>
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE