start new:
tmux
start new with session name:
tmux new -s myname
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 |
/* 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; |
// 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 |
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 |
https://docs.google.com/gview?url=http://it-ebooks.info/read.php?id%3D3361-1415324224-d9dd6ce43c39767f0feaf646dfa95374&chrome=true |
https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ |
#! /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. |
select * into outfile '/tmp/users.csv' | |
fields terminated by ',' optionally enclosed by '"' | |
escaped by '\\' | |
lines terminated by '\n' | |
from registros_registro where registrante_id is not null; |
/* MicroGS */ | |
*, | |
*:after, | |
*:before { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} |