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
# Add RVM to PATH for scripting | |
export PATH="$PATH:$HOME/.rvm/bin" | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |
# user-defined aliases | |
alias rm='rm -vi' | |
alias cp='cp -vi' | |
alias mv='mv -vi' | |
alias clean='rm -f "#"* "."*~ *~ *.bak *.dvi *.aux *.log' | |
alias svim='sudo vim' |
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
set nocompatible | |
filetype off | |
syntax on | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" Plugins start here |
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
/*Replace username with your own. You can also try ~/.rvm/bin/rvm-auto-ruby, but it didn't work for me */ | |
{ | |
"cmd": ["/home/username/.rvm/bin/rvm-auto-ruby", "$file"], | |
"file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
"selector": "source.ruby" | |
} |
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
{ | |
"cmd": ["/usr/bin/nodejs", "$file"], | |
"selector": "source.js" | |
} |
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
// Place this file within Packages/User of your Sublime install folder | |
[ | |
{ "command": "set_mark" }, | |
{ "command": "move_to", "args": {"to": "eol"} }, | |
{ "command": "insert_snippet", "args": {"contents": "${TM_LINE_TERMINATOR:;}"} }, | |
{ "command": "swap_with_mark" } | |
] | |
/* |
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
/* Move to the next open line up or down (made to emulate line empty line jumping in Vim/Emacs). | |
Open keybindings via Preferences -> Key Bindings - User and past in between the [] brackets. */ | |
{ | |
"keys": ["ctrl+up"], | |
"command": "move", | |
"args": {"by": "stops", "empty_line": true, "forward": false} | |
}, | |
{ | |
"keys": ["ctrl+down"], | |
"command": "move", |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
//pkg: grunt.file.readJSON('package.json'), | |
jshint: { | |
files: ['Gruntfile.js', 'js/*.js'] | |
}, | |
watch: { | |
scripts: { | |
files: ['Gruntfile.js','js/*.js'], | |
tasks: 'jshint', |
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
var gulp = require('gulp'); | |
var browserSync = require('browser-sync').create(); | |
var options = { | |
javascript:'client/public/src/**/*.js', | |
styles:'client/public/src/assets/css/*.css', | |
html:'client/public/src/**/*.html', | |
host: 'localhost:8000' | |
}; |
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
(function(){ | |
'use strict'; | |
}()); | |
var gulp = require('gulp'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'), | |
sass = require('gulp-sass'), | |
maps = require('gulp-sourcemaps'), | |
del = require('del'), |
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
/* | |
Instructions: | |
This solution requires Node to be installed on the target system. | |
No version requirement exists, but it is suggested that you use | |
6.0 or higher. | |
Your node version may be checked by typing `node -v` into your terminal. | |
To run the solution, simply type `node numberToEnglish.js`. |
OlderNewer