⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
anon true, if the space may be omitted in anonymous function declarations | |
bitwise true, if bitwise operators should be allowed | |
browser true, if the standard browser globals should be predefined | |
cap true, if upper case HTML should be allowed | |
continue true, if the continuation statement should be tolerated | |
css true, if CSS workarounds should be tolerated | |
debug true, if debugger statements should be allowed | |
devel true, if logging should be allowed (console, alert, etc.) | |
eqeq true, if == should be allowed | |
es5 true, if ES5 syntax should be allowed |
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
# Statistics of the "450.000 leaked Yahoo accounts". | |
## More information available here: | |
http://blog.eset.se/statistics-about-yahoo-leak-of-450-000-plain-text-accounts/ | |
https://twitter.com/nilssonanders | |
Total entries = 442773 | |
Total unique entries = 342478 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Data Join Demo</title> | |
<style> | |
#control { | |
margin-bottom: 20px; | |
} | |
#chart { | |
width:500px; |
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
development: | |
adapter: mysql2 | |
database: DATABASE_NAME | |
username: USERNAME | |
password: PASSWORD | |
socket: /Applications/MAMP/tmp/mysql/mysql.sock | |
host: localhost | |
pool: 5 | |
timeout: 5000 | |
encoding: utf8 |
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
Handlebars.registerHelper('quotify', function (string) { | |
var string = string.replace(/[\u2018\u2019]/g, "'").replace(/[\u201C\u201D]/g, '"'); | |
return string; | |
}); |
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
// Remove elements of second array from the first array | |
// Ex. 1 JavaScript Filter (no IE 8 support) | |
var arr1 = ['A', 'B', 'C', 'D', 'E', 'F'], | |
arr2 = ['C', 'E', 'F'], | |
filteredArray; | |
filteredArray = arr1.filter(function(e, i) { | |
return !(arr2.indexOf(e) > -1); | |
}); |
OlderNewer