Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
set encoding=utf-8 | |
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
Bundle 'gmarik/vundle' |
set encoding=utf-8 | |
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
Bundle 'gmarik/vundle' |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
### | |
Module dependencies | |
### | |
require.paths.unshift "#{__dirname}/lib/support/express-csrf/" | |
require.paths.unshift "#{__dirname}/lib/support/node_hash/lib/" | |
express = require 'express' | |
app = module.exports = express.createServer() | |
RedisStore = require 'connect-redis' |
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"A File Icon", | |
"AutoHotkey", | |
"ayu", |
[ | |
{ | |
"keys": ["j", "j"], "command": "set_action", | |
"args": {"action": "vi_esc"}, | |
"context": | |
[ | |
{"key": "vi_mode_insert"}, | |
{"key": "vi_is_buffer"} | |
] | |
}, |
app = angular.module("MyApp") | |
app.controller 'TodoCtrl', ($scope) -> | |
$scope.todos = [{text: 'learn angular', done: true}, | |
{text: 'learn coffeescript', done: false}] | |
$scope.addTodo = -> |
// Scraping Made Easy with jQuery and SelectorGadget | |
// (http://blog.dtrejo.com/scraping-made-easy-with-jquery-and-selectorga) | |
// by David Trejo | |
// | |
// Install node.js and npm: | |
// http://joyeur.com/2010/12/10/installing-node-and-npm/ | |
// Then run | |
// npm install jsdom jquery http-agent | |
// node numresults.js | |
// |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# The other answers are correct, in that chmod -R 755 will set this as permissions to all files and folders in the tree. But why on earth would you want to? It might make sense for the directories, but why set the execute bit on all the files? | |
# I suspect what you really want to do is set the directories to 755 and either leave the files alone or set them to 644. For this, you can use the find command. For example: | |
# To change all the directories to 755 (-rwxr-xr-x): | |
find /opt/lampp/htdocs -type d -exec chmod 755 {} \; | |
# To change all the files to 644 (-rw-r--r--): |