Skip to content

Instantly share code, notes, and snippets.

View crismanNoble's full-sized avatar

Cris Noble crismanNoble

View GitHub Profile
@crismanNoble
crismanNoble / index.html
Last active August 29, 2015 13:56
world's tiniest html boilerplate
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
Hello world.
</body>
</html>
@crismanNoble
crismanNoble / style-extra.css
Created June 17, 2014 18:54
watmm, you should use this css to make the CAT023 Digipack page not look quite so, um, odd.
div.inner.cover {
padding-top: 62px;
}
div.inner.cover {
text-align: left;
}
body,html {
height: auto!important;
min-height: 100%;
}
@crismanNoble
crismanNoble / bookmarklet template
Created November 10, 2014 16:41
A quick scaffold to create a bookmarklet which will fetch external javascript
(function(){
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = '{{scriptSrc}}' + (Math.random());
document.querySelector('head').appendChild(script);
}})();
@crismanNoble
crismanNoble / bookmarklet.min
Created November 10, 2014 16:43
A minified version of the bookmarklet scaffolding
(function(){var s=document.createElement('script');s.type='text/javascript';s.src='{{scriptSrc}}'+(Math.random());document.querySelector('head').appendChild(s);}})();
@crismanNoble
crismanNoble / Knocked-Out-California.markdown
Created January 13, 2015 07:48
Knocked Out California
@crismanNoble
crismanNoble / gist:e020e2862596e6656ad6
Created July 22, 2015 18:48
my favorite editorconfig
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
@crismanNoble
crismanNoble / bookmarklet-boilerplate.js
Last active August 29, 2015 14:25
Bookmarklet that does nothing
javascript:(function(){console.log('nothing');})();
{
"bold_folder_labels": true,
"color_scheme": "Packages/Monokai Extended/Monokai Extended Bright.tmTheme",
"convert_tabspaces_on_save": true,
"ignored_packages":
[
"Vintage"
],
"save_on_focus_lost": true,
"tab_size": 2,
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
var tid = setInterval(function(){if (document.readyState!=='complete' ) return;clearInterval( tid );var head = document.head || document.getElementsByTagName('head')[0],style = document.createElement('style'), cssContent = ':before,:after{content:none !important}';style.type = 'text/css';if (style.styleSheet){style.styleSheet.cssText = cssContent;} else {style.appendChild(document.createTextNode(cssContent));}head.appendChild(style);setTimeout(function(){head.removeChild(style);}, 0);}, 40 );document.onreadystatechange;