$ docker stop $(docker ps -a -q)
$ docker rm $(docker ps -a -q)
{ | |
"AF": "Afghanistan", | |
"AX": "Aland Islands", | |
"AL": "Albania", | |
"DZ": "Algeria", | |
"AS": "American Samoa", | |
"AD": "Andorra", | |
"AO": "Angola", | |
"AI": "Anguilla", | |
"AQ": "Antarctica", |
[^] -> any character that is not in the empty set of characters | |
. -> any number of non-newline characters | |
(+, *, ?, and {}) -> Greedy | |
(+?, *?, ??, {}?) -> Nongreedy | |
\b -> word boundary | |
\w -> alpha numerical [A-Za-z0-9_] | |
\d -> number | |
\s -> single white space |
license: gpl-3.0 |
var config = { | |
entry: './app.js', | |
output: { | |
filename: 'bundle.js' | |
}, | |
module: { | |
loaders: [{ | |
test: /\.css$/, | |
loader: 'style!css?sourceMap' | |
}, { |
// 1. Put yout fonts in the compiled folder of your projec. Ex.: www.yoursite.com/css/fonts/ | |
// 2. To enable relative paths to assets via compass helper functions on config.rb uncomment relative_assets = true | |
// Import the Compass Font Face module | |
@import "compass/css3/font-face"; | |
// regular | |
@include font-face('cabin', | |
font-files( | |
'Cabin-Regular-webfont.woff', woff, |
./mysql -u root -p | |
Change admin password of MySQL server: | |
UPDATE mysql.user SET Password=PASSWORD('root') WHERE User='root'; FLUSH PRIVILEGES; | |
Duration | |
http://codepen.io/ufukomer/pen/yePazw |
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 |