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
let | |
text, | |
base36 = (number) => number.toString(36), | |
randomStr = (length) => { | |
for ( | |
text = ""; | |
text.length < length; | |
text = base36(Math.random()).slice(2, length + 2) | |
); | |
return text |
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
// Bookmark help for phones | |
var isMobile = { | |
Android: navigator.userAgent.match(/Android/i), | |
BlackBerry: navigator.userAgent.match(/BlackBerry/i), | |
iOS: navigator.userAgent.match(/iPhone|iPad|iPod/i), | |
Opera: navigator.userAgent.match(/Opera Mini/i), | |
Windows: navigator.userAgent.match(/IEMobile/i), | |
any: function() { | |
return isMobile.Android || isMobile.BlackBerry || isMobile.iOS || isMobile.Opera || isMobile.Windows; | |
} |
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
$.fn.equalheight = function( remove ) { | |
// Reset heights from the last viewport resize so that values do not get wacky-large. | |
this.height('auto'); | |
// if remove is true, just reset the heights and return | |
if ( remove ) { | |
return; | |
} |
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
Show hidden characters
[ | |
// Shows the build console, or at least it use to | |
{ "keys": ["ctrl+shift+b"], "command": "show_panel", "args": {"panel": "output.exec"} }, | |
// Makes it so Ctrl + Tab or Ctrl + Shift + Tab go between tabs in the | |
// order that they are displayed and not the order that they were opened. | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" } | |
] |
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
-- ********************************************************************************** -- | |
-- ** ** -- | |
-- ** Minecraft Mining Turtle Ore Quarry v0.6c by AustinKK, Aeolun, nick1n ** -- | |
-- ** --------------------------------------------------- ** -- | |
-- ** ** -- | |
-- ** For instructions on how to use: ** -- | |
-- ** ** -- | |
-- ** http://www.youtube.com/watch?v=PIugLVzUz3g ** -- | |
-- ** ** -- | |
-- ** Change Log: ** -- |
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
TODO: | |
some indication to the user when clicking the submit button without a username (...maybe more than just a red border) |