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
View gist:e020e2862596e6656ad6
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
View Knocked-Out-California.markdown
@crismanNoble
crismanNoble / bookmarklet.min
Created Nov 10, 2014
A minified version of the bookmarklet scaffolding
View bookmarklet.min
(function(){var s=document.createElement('script');s.type='text/javascript';s.src='{{scriptSrc}}'+(Math.random());document.querySelector('head').appendChild(s);}})();
@crismanNoble
crismanNoble / bookmarklet template
Created Nov 10, 2014
A quick scaffold to create a bookmarklet which will fetch external javascript
View bookmarklet template
(function(){
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = '{{scriptSrc}}' + (Math.random());
document.querySelector('head').appendChild(script);
}})();
@crismanNoble
crismanNoble / style-extra.css
Created Jun 17, 2014
watmm, you should use this css to make the CAT023 Digipack page not look quite so, um, odd.
View style-extra.css
div.inner.cover {
padding-top: 62px;
}
div.inner.cover {
text-align: left;
}
body,html {
height: auto!important;
min-height: 100%;
}
@crismanNoble
crismanNoble / index.html
Last active Aug 29, 2015
world's tiniest html boilerplate
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
Hello world.
</body>
</html>
View bookmarklet: new tab text field
javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="//ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.9.0",function($,L){
var src = 'data:text/html, <textarea style="font-size: 1.5em; width: 100%; height: 100%; border: none; outline: none" autofocus />';
var link = document.createElement('form');
link.action=src;link.id='superSecretLink';
link.target='_blank';
var target = document.getElementsByTagName('body')[0];
target.appendChild(link);
document.getElementsByTagName('form')[document.getElementsByTagName('form').length - 1].submit()
});
View Review of Scott McNealy's talk
Scott McNealy's Talk at 1871 on 1/22/2013
5 Lessons:
1) Have a Cause
- They didn't have a cause until like 2000 or so, but when they did people worked harder
- Their cause was to go green
2) Make Quality / Customer Service Top Priority at ALL levels
- Quality issues should always be #1 on the agenda
3) Define the decision making process (absolute v consensus v participative)
- Unless you are Steve Jobs you can't do absolute
View svgimg.html
<img src="images/noun_project_865.svg" />
You can’t perform that action at this time.