Skip to content

Instantly share code, notes, and snippets.

View kigorw's full-sized avatar

Igor Kononuchenko kigorw

View GitHub Profile
@kigorw
kigorw / 0_reuse_code.js
Last active August 29, 2015 14:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
var dom_events = ["BeforeUnloadEvent", "CheckboxStateChange", "DOMAttrModified", "DOMAttributeNameChanged", "DOMCharacterDataModified", "DOMContentLoaded", "DOMElementNameChanged", "DOMMenuItemActive", "DOMMenuItemInactive", "DOMMouseScroll", "DOMNodeInserted", "DOMNodeInsertedIntoDocument", "DOMNodeRemoved", "DOMNodeRemovedFromDocument", "DOMSubtreeModified", "DragEvent", "HashChangeEvent", "MozAudioAvailable", "MozGamepadButtonDown", "MozGamepadButtonUp", "MozMousePixelScroll", "MozOrientation", "MozScrolledAreaChanged", "MutationEvent", "MutationNameEvent", "PageTransitionEvent", "PopStateEvent", "RadioStateChange", "SVGAbort", "SVGError", "SVGEvent", "SVGLoad", "SVGResize", "SVGScroll", "SVGUnload", "SVGZoom", "SVGZoomEvent", "SensorEvent", "TimeEvent", "ValueChange", "abort", "afterprint", "afterscriptexecute", "alerting", "animationend", "animationiteration", "animationstart", "audioprocess", "beforeprint", "beforescriptexecute", "beforeunload", "beginEvent", "blocked", "blur", "broadcast", "busy", "c
@kigorw
kigorw / dabblet.css
Created October 10, 2012 12:15
Untitled
span::selection {
background-color:rgb(207, 233, 253);
}
span {
position:relative;
width:0%;
-webkit-transition: all .5s, visibility 0s;
}
span::before {
content:"";
@kigorw
kigorw / dabblet.css
Created October 8, 2012 10:49
Untitled
span::selection {
background-color:rgb(207, 233, 253);
}
span {
position:relative;
width:0%;
-webkit-transition: all .5s, visibility 0s;
}
span::before {
content:"";
@kigorw
kigorw / dabblet.css
Created September 2, 2012 09:52
.nsp:before { content:"\a0"; color:transparent; position:absolute; border-bottom: 2px solid; border-color: inherit; margin-top:-2px } .nsp:after { content:"\a0\a0"; direction:ltr; color:transparent; position:absolute; border-bottom: 2px solid; border-colo
.switcher {
height:19px;
width:44px;
display:inline-block;
border-radius: 9px;
background-clip: padding-box;
background-color: #e86464;
box-shadow: inset 0 1px 3px rgba(0,0,0,.51),
0px 1px 1px 1px rgba(256,256,256,0.8),
2px 3px 5px 0 rgba(0, 0, 0, 0.1);
@kigorw
kigorw / dabblet.css
Created August 17, 2012 08:39
.nsp:before {
.switcher {
height:19px;
width:44px;
display:inline-block;
border-radius: 9px;
background-clip: padding-box;
background-color: #e86464;
box-shadow: inset 0 1px 3px rgba(0,0,0,.51),
0px 1px 1px 1px rgba(256,256,256,0.8),
2px 3px 5px 0 rgba(0, 0, 0, 0.1);
@kigorw
kigorw / dabblet.css
Created August 9, 2012 10:39
Untitled
span.gr-btn {
margin:20px;
color:#334d24;
font-family:arial;
font-size:18px;
text-shadow: 1px 1px 1px #cbefab;
padding: 6px 20px;
border-radius: 3px;
background-image: linear-gradient(90deg, #7baf62 0%, #7baf62 19.53%, #ccf0ac 100%), linear-gradient(95deg, #4a6f38 13.5%, #e8fede 86.5%);
background-repeat: repeat-x, repeat-x;
@kigorw
kigorw / dabblet.css
Created July 16, 2012 10:57
Untitled
span.gr-btn {
margin:20px;
color:#334d24;
font-family:arial;
font-size:18px;
text-shadow: 1px 1px 1px #cbefab;
padding: 6px 20px;
border-radius: 3px;
background-image: linear-gradient(90deg, #7baf62 0%, #7baf62 19.53%, #ccf0ac 100%), linear-gradient(95deg, #4a6f38 13.5%, #e8fede 86.5%);
background-repeat: repeat-x, repeat-x;