Keys | Action |
---|---|
cmd + d | Select word, additional presses select next occurrence |
cmd + k | Skip current selection when using cmd + d |
ctrl + cmd + up/down | Move the current line up or down |
ctrl + shift + k | Delete current line |
cmd + enter | Add a line below and take cursor there |
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
// Sets a timer | |
// @param timeleft - amount left in seconds | |
function setTimer(timeleft) { | |
//get the timer to timeleft seconds from now | |
var end_time = new Date(Date.now() + timeleft*1000); | |
var timer = setInterval(function() { | |
//find time remaining | |
var diff = end_time.getTime() - Date.now(); | |
//split it up into minutes and seconds |
This guide assumes you have Ubuntu version 14.04.02 LTS installed on your computer. It is meant to walk the user through the installation of some basic programs needed for web development.
Note: All hotkeys are in windows terms
- Open a terminal window - Shortcut: Ctrl + Alt + T
- Type
sudo apt-get update
to make sure you have the freshest package list.