- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
function simpleSearch(text, str) { | |
var matches = []; | |
for (var i = 0; i <= text.length; i++) { | |
if (matchesAtIndex(i, text, str)) { | |
matches.push(i); | |
} | |
} | |
return matches; | |
} |
/* | |
CSS3 Carousel - Clifford Fajardo | |
The markup is very simple: | |
- Radio Inputs | |
- Labels with thumbnails to detect click event | |
- Main Image | |
*/ | |
/************************** CAROUSEL STYLES START **************************/ |
{ | |
"tab_size": 2, | |
"translate_tabs_to_spaces": true, | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme", | |
"theme": "Material-Theme-Darker.sublime-theme", | |
"font_options": | |
[ | |
"gray_antialias" |
TODO: create a mini-web app that will allow me to store all these quotes.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl |
### node etc ### | |
# Logs | |
logs | |
*.log | |
# Runtime data | |
pids | |
*.pid | |
*.seed |
# EditorConfig helps developers define and maintain consistent | |
# coding styles between different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
# Change these settings to your own preference |
{ | |
// JSHint Default Configuration File (as on JSHint website) | |
// See http://jshint.com/docs/ for more details | |
"maxerr" : 50, // {int} Maximum error before stopping | |
// Enforcing | |
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.) | |
"camelcase" : false, // true: Identifiers must be in camelCase | |
"curly" : true, // true: Require {} for every new block or scope |