I hereby claim:
- I am arturoleon on github.
- I am arturoleon (https://keybase.io/arturoleon) on keybase.
- I have a public key ASCL9p60WKHjon-YrkXcNh1WnVr_pJtVh4FD8tNb8RRn5Qo
To claim this, I am signing this object:
[Unit] | |
Description=supervisord - Supervisor process control system for UNIX | |
Documentation=http://supervisord.org | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/bin/supervisord -c /etc/supervisord/supervisord.conf | |
ExecReload=/bin/supervisorctl reload | |
ExecStop=/bin/supervisorctl shutdown |
-- Los códigos de estado corresponden al estándar ISO 3166-2:MX | |
-- Deberás cambiar el nombre de la tabla si estás utilizando un prefijo | |
INSERT INTO `directory_country_region` (`country_id`, `code` , `default_name`) | |
VALUES | |
('MX', 'AGU', 'Aguascalientes'), | |
('MX', 'BCN', 'Baja California'), | |
('MX', 'BCS', 'Baja California Sur'), | |
('MX', 'CAM', 'Campeche'), | |
('MX', 'CHP', 'Chiapas'), | |
('MX', 'CHH', 'Chihuahua'), |
I hereby claim:
To claim this, I am signing this object:
//Usage example | |
var win = Ti.UI.createWindow(); | |
var loadingWindow = require('LoadingWindow')(); | |
win.add(loadingWindow); | |
//win.remove(loadingWindow) | |
win.open(); |
import MySQLdb | |
import sshtunnel | |
with sshtunnel.SSHTunnelForwarder( | |
("remote_ip", 22), | |
ssh_username="centos", | |
ssh_pkey="~/.ssh/id_rsa", | |
remote_bind_address=("mysql_host", 3306), | |
) as tunnel: | |
connection = MySQLdb.connect( |
//http://j.mp/ejemplomodulos | |
(function(){ | |
var db = Titanium.Database.open('tabla'); | |
db.execute('CREATE TABLE IF NOT EXISTS favoritos (fila INTEGER)'); | |
var tabla = require('tabla'); | |
var favoritos = require('favoritos'); | |
var mapa = require('mapa'); | |
var tabGroup = Ti.UI.createTabGroup(); |
//http://j.mp/ejemplomodulos | |
(function(){ | |
var db = Titanium.Database.open('tabla'); | |
db.execute('CREATE TABLE IF NOT EXISTS favoritos (fila INTEGER)'); | |
var tabla = require('tabla'); | |
var favoritos = require('favoritos'); | |
var tabGroup = Ti.UI.createTabGroup(); | |
var win1 = tabla(), |
(function(){ | |
var bd = Ti.Database.open('baseDeDatosCompleta'); | |
bd.file.setRemoteBackup(false); | |
bd.execute('CREATE TABLE IF NOT EXISTS entradas(id INTEGER PRIMARY KEY, nombre TEXT, apellido TEXT);'); | |
var ventanaInicio = require('ventanaInicio'); | |
ventanaInicio(bd).open(); | |
})(); |
cat access_log |awk '{print $1}' |sort | uniq -c | sort -n |
require 'rubygems' | |
require 'aws-sdk' | |
backup_dir = "/backup/cpbackup/" #end with / | |
users = "appspinc,arturo" #cpanel accounts to backup | |
users = users.split(",") | |
bucket = 'BUCKET_NAME' |