Instantly share code, notes, and snippets.

View config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
View ZVZLEEPORT
ZVZLEEPORT ;
INI ;
; prueba lectura puerto
; lanza rutina ZVZLEEPORT3
; que es la que tratará lo leido
;
S S="#"
S $ZT="TRAP"
; solo lo ejecutamos en el shadow
I '$D(^["%SYS"]ZDISFAR("SHADOW")) Q
View ping_vitales.pyw
#-------------------------------------------------------------------------------
# Name: ping_nodos_vitales
# Purpose: ping a los puntos de acceso de radiofrecuencia
# y al router netlan
# y a los concentradores
# cada 5 min de forma aleatoria
# solounocadavez = random.randrange(151,153)
#
# Author: julio
View dhcp_nuevos.pyw
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import poplib, smtplib, datetime, os
import locale, unicodedata
from email.Parser import Parser
from email.mime.text import MIMEText
from email.mime.image import MIMEImage
from email.mime.multipart import MIMEMultipart
View procesos_grupo.pyw
import os,shutil,re,sys
import poplib,os,sys,subprocess,time,datetime
import urllib
from envia_email import mandaemail
#
equipo=os.getenv('COMPUTERNAME')
servidores='server1,server2,server3,server4,server5'
grupo='/node:'+servidores
namelista=r'procesos_grupo_'+servidores.replace(',','_')+'_lista.txt'
View random_picture_imac.py
#-------------------------------------------------------------------------------
# Name: module1
# Purpose:
#
# Author: JULIO
#
# Created: 24/08/2014
# Copyright: (c) JULIO 2014
# Licence: <your licence>
#-------------------------------------------------------------------------------