start new:
tmux
start new with session name:
tmux new -s myname
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: autosshd | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: autosshd initscript | |
| # Description: This file should be used to construct scripts to be | |
| # placed in /etc/init.d. |
| https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ |
| https://docs.google.com/gview?url=http://it-ebooks.info/read.php?id%3D3361-1415324224-d9dd6ce43c39767f0feaf646dfa95374&chrome=true |
| execute pathogen#infect() | |
| syntax on | |
| filetype plugin indent on | |
| set t_Co=256 | |
| set ai | |
| set ts=4 | |
| set sts=4 | |
| set et | |
| set sw=4 |
| // Se incluye la liberia del sensor DHTXX | |
| #include <DHT.h> | |
| // Se incluye la libreria del LCD | |
| #include <LiquidCrystal.h> | |
| // objeto LiquidCrystal, configuracion de pines | |
| LiquidCrystal lcd(12, 11, 5, 4, 3, 2); | |
| // Configuracion pin y tipo de sensor DHTXX | |
| #define DHTPIN 13 // El pin en el que esta conectado el sensor |
| /* SELECT INSERT */ | |
| INSERT INTO ecos.articulos_articulo (usuario_id, titulo, contenido, estado, destacado, creado, modificado) | |
| SELECT 1, title, body, 'a', 0, now(), now() FROM ecos_back.posts | |
| /* REPITED ROWS in VALUE */ | |
| SELECT name, COUNT(*) c FROM table GROUP BY name HAVING c > 1; |
| export PATH="/usr/local/mysql/bin:$PATH" | |
| export CLICOLOR=1 | |
| export LSCOLORS=GxFxCxDxBxegedabagaced | |
| alias clr='clear' | |
| alias l='ls -lh' | |
| alias ll='ls -lah' | |
| #Configuracion virtualenvwrapper |