This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ------------------------------------------ | |
PURE CSS SPEECH BUBBLES | |
by Nicolas Gallagher | |
- http://nicolasgallagher.com/pure-css-speech-bubbles/ | |
http://nicolasgallagher.com | |
http://twitter.com/necolas | |
Created: 02 March 2010 | |
Version: 1.2 (03 March 2011) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on('mouseup touchend', function(e) { | |
$('.my-elem').each(function() { | |
if($(this).has(e.target).length === 0) { | |
// hide this element? | |
} | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
var pkg = grunt.file.readJSON('package.json'); | |
var config = { | |
options: { | |
includePaths: [ | |
'<%=wpThemeDir%>/<%= wpParentThemeDir %>/sass/partials/' | |
] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Authenticate with GitHub to increase your rate limit and allow you to pull from private repositories. To do that, add the following entry to your ~/.netrc file: | |
machine api.github.com | |
login <username> | |
password <token> | |
You can quickly create a new GitHub token here https://github.com/settings/tokens/new. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix() { | |
select { | |
height: auto; | |
} | |
} | |
http://stackoverflow.com/questions/3123063/what-does-moz-document-url-prefix-do/3123073#3123073 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#html5 | |
#whatwg | |
#gruntjs | |
#yeoman | |
##javascript | |
#jquery | |
#angularjs | |
#requirejs | |
#node.js | |
#css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
dom nodes | |
*/ | |
var $btn; | |
$(document).ready(function () { | |
$btn = $('.js-btn'); | |
fadeFromView({ | |
element: $btn, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).mouseup(function (e) | |
{ | |
var container = $("YOUR CONTAINER SELECTOR"); | |
if (!container.is(e.target) // if the target of the click isn't the container... | |
&& container.has(e.target).length === 0) // ... nor a descendant of the container | |
{ | |
container.hide(); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Football game like swing copters, player dodges tackles as they dribble. Going up the screen. | |
Use super hexagon style input, hold left to dribble left, hold right to dribble right. | |
Opponents come flying in trying to tackle you. | |
At the end the keeper comes flying out and you have to round them. | |
Make the player the goalie, you have no teammates and have to dribble all the way through the 11 opponents. |
OlderNewer