LUKS (Linux Unified Key Setup) is the standard for Linux hard disk encryption
apt-get install cryptsetup
LUKS (Linux Unified Key Setup) is the standard for Linux hard disk encryption
apt-get install cryptsetup
$ curl -s https://s3.amazonaws.com/download.draios.com/stable/install-sysdig | sudo bash
$ sysdig -w nome-do-arquivo
You can use .on() to bind a function to multiple events:
$('#element').on('keyup keypress blur change', function(e) {
// e.type is the type of event fired
});
font: stackoverflow
| gemdata: | |
| image: busybox | |
| volumes: | |
| - ~/docker/gems:/gems | |
| web: | |
| image: ruby:2.3 | |
| environment: | |
| - GEM_HOME=/gems | |
| command: tail -f /dev/null # substituir por rails s |
var gulp = require('gulp')
, imagemin = require('gulp-imagemin')
, clean = require('gulp-clean')
//, concat = require('gulp-concat')
//, htmlReplace = require('gulp-html-replace')
, uglify = require('gulp-uglify')
, usemin = require('gulp-usemin')
, cssmin = require('gulp-cssmin')| FROM buildpack-deps:jessie | |
| # https://www.ruby-lang.org/en/news/2015/12/25/ruby-2-3-0-released/ | |
| ENV RUBY_MAJOR 2.3 | |
| ENV RUBY_VERSION 2.3.0 | |
| ENV RUBY_DOWNLOAD_SHA256 ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507 | |
| # skip installing gem documentation | |
| RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc" |
| # De dentro do console do rails, temos a variavel app, | |
| # de onde podemos consultar a sessão ou executar get e post em rotas da nossa aplicação | |
| app.get "/dashboard/index" | |
| # Redirected to http://www.example.com/login | |
| # Filter chain halted as :require_logged_user rendered or redirected | |
| # Completed 302 Found in 20ms (ActiveRecord: 0.0ms) | |
| # => 302 | |
| app.session.to_hash |
quando ler <Prefix> será o padrão
Ctrl + b
###Modo normal:
Navegação com vim, hjkl.
Navegação por palavras, w, e
Indo pro vim, com $, pro começo com 0 ou ^ ou _
Indo pro começo, fim: gg, G
Indo pra linha: 5G
Indo pra cima, meio, baixo (High, Middle, Low): H, M, L
Indo pro primeiro caracter k: fk
Repetindo: ;