Skip to content

Instantly share code, notes, and snippets.

Cris Noble crismanNoble

Block or report user

Report or block crismanNoble

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@crismanNoble
crismanNoble / dabblet.css
Created Feb 9, 2012
Animated QR Code or Where it Goes Nobody Knows
View dabblet.css
/* Animated QR Code or Where it Goes Nobody Knows */
body {
background: #f5f5f5;
}
#container {
height: 210px;
width: 210px;
background: grey;
@crismanNoble
crismanNoble / index.html
Created Jul 16, 2012 — forked from mbostock/.block
SVG Linear Gradient (D3) Rainbow
View index.html
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.27.1"></script>
</head>
<body>
<script type="text/javascript">
var w = 400,
h = 200;
@crismanNoble
crismanNoble / inlet.js
Created Jul 18, 2012
just another inlet to tributary
View inlet.js
/
//
/
//////////////
View queenOfHearts.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@crismanNoble
crismanNoble / Chrome to Kippt
Created Aug 28, 2012
Importing Chrome Bookmarks to Kippt
View Chrome to Kippt
//Export Chrome bookmarks as html
//Manually add a id="target" to the <d1> under the <h3> of the folder you want to import
//Initialize your list
var list = '';
//save the children of your target
var target = document.getElementById('target').children;
//grab all the titles and links, format them for easy importation to Kippt API
@crismanNoble
crismanNoble / wordFrequency.js
Created Sep 5, 2012
Get frequency of words on a webpage.
View wordFrequency.js
//todos: 1) moar than just <p>s, just words. 2)strip out &amp;s and stuff 3)Order by top use
//via: https://www.squarefree.com/bookmarklets/seo.html
javascript:(function(){
var T={},W=[],C=0,s,i;
function F(n){
var i,x,a,w,t=n.tagName;
if(n.nodeType==3){
a=n.data.toLowerCase().split(/[\s\(\)\:\,\.;\<\>\&\'\"]/);
for(i in a)if(w=a[i]){
w=" "+w;T[w]=T[w]?T[w]+1:1;++C;}
View index.html
<div class="knockout"><a href="http://mksht.crisnoble.com" rel="Like cool shit? visit my site">mksht</a></div>
View SVG data as a js var
var noun_project_865 = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><g><polygon points="35.009,97.063 35.009,97.063 47.875,50.553 25.601,51.904 42.521,7.001 67.758,2.937 49.133,36.511 74.399,33.256 "></polygon></g></svg>';
View jQuery html fill
$('.noun_project_865').html(noun_project_865);
You can’t perform that action at this time.