This file contains hidden or 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
curl "https://api.github.com/users/craigbutcher/gists" | python -m json.tool | pbcopy |
This file contains hidden or 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
/* | |
* Accessibility wise, it may bring up various issues. | |
* | |
* Long file names with similar names, for example: | |
* | |
* + Gauntlet I - In The Beginning - becomes - Gauntlet I | |
* + Gauntlet II - In The Middle - becomes - Gauntlet I... | |
* + Gauntlet III - In The End - becomes - Gauntlet I... | |
* | |
* The only way to overcome this is to either produce shorter titles |
This file contains hidden or 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
// Get the href path | |
var path = linkClicked.attr('href'); | |
// Does it contain spaces? If so, convert them to HTML URL Encoding Reference - %20 | |
path = path.replace(/ +/g, '%20'); |
This file contains hidden or 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
ol { | |
counter-reset: item; | |
margin: 0 0 20px 20px; | |
} | |
ol li { | |
display: block; | |
position: relative; | |
} |
This file contains hidden or 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
<select> | |
<option value="" disabled selected>Select your option:</option> | |
<option value="One">One</option> | |
<option value="Two">Two</option> | |
<option value="Three">Three</option> | |
</select> |