Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
/* graph/math paper */ | |
background-color: #FFFAFA; | |
background-image: linear-gradient(#ADD8E6 2px, transparent 2px), | |
linear-gradient(0, #ADD8E6 2px, transparent 2px), | |
linear-gradient(rgba(100, 149, 237,.3) 1px, transparent 1px), | |
linear-gradient(0, rgba(100, 149, 237,.3) 1px, transparent 1px); | |
background-size:100px 100px, 100px 100px, 20px 20px, 20px 20px; | |
background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px |
/* Vertical stripes */ | |
background: #8B0000; | |
background-image: linear-gradient(0, transparent 50%, rgba(0,0,0,.5) 50%); | |
background-size: 150px; | |
/* | |
DarkRed #8B0000; | |
Maroon #800000; | |
*/ |
//Originally from http://trendmedia.com/news/infinite-rotating-images-using-jquery-javascript/ | |
var InfiniteRotator = | |
{ | |
itemInterval: 3000, | |
infiniteLoop: function() { | |
setInterval(function(){ | |
$('.sliderItem').eq(currentItem).stop().transition({opacity: 0},2000); | |
//if at last item, reset currentItem to 0 |
<body><div class="container"> | |
<div class="mouth"> | |
<ul> | |
<li>Right</li> | |
<li>Left</li> | |
<li></li><li></li><li></li><li></li><li></li> | |
</ul> | |
</div></div> |
/* | |
NOTE!!!! | |
The most updated version of this code is here: | |
https://github.com/scottjehl/iOS-Orientationchange-Fix | |
A fix for the dreaded iOS orientationchange zoom bug http://adactio.com/journal/5088/. Seems to work! | |
Authored by @scottjehl. Props to @wilto for addressing a tilt caveat. |
### JetBrains template | |
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm | |
*.iml | |
## Directory-based project format: | |
.idea/ | |
# if you remove the above rule, at least ignore the following: | |
# User-specific stuff: |
// disables interaction via css class on clickable elements | |
$(document).ready(function() { | |
$('.disabled').click(function(){ | |
return false; | |
}); | |
}); | |
/* possible css */ | |
.disabled { | |
cursor: not-allowed; |
// removes the value from the search input with non-jQuery JavaScript | |
function freez(obj) { | |
var id = obj.id; | |
if (obj.value == '') { | |
obj.value = defaultSearchValue[id]; | |
} else if (!defaultSearchValue[id]) { | |
defaultSearchValue[id] = obj.value; | |
obj.value = ''; | |
} else if (obj.value == defaultSearchValue[id]) { | |
obj.value = ''; |
/* removes default highlighting */ | |
::selection { | |
background: transparent; | |
} |