This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEVICE=eth0.2 | |
INPUT_SPEED=9600kbit | |
OUTPUT_SPEED=960kbit | |
interface $DEVICE world-in input rate $INPUT_SPEED #balanced | |
class interactive commit 20% | |
match udp sport 53 | |
match tcp port 22 | |
match icmp | |
match tcp sports 5222,5228 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from decimal import Decimal | |
from fractions import Fraction | |
from lineal import numero | |
try: | |
entrada = raw_input | |
except: | |
entrada = input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from decimal import Decimal | |
from fractions import Fraction | |
try: | |
entrada = raw_input | |
except: | |
entrada = input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.vimrc | |
------ | |
syntax on | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set autoindent | |
set ruler | |
set hlsearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trackeo internacional | |
$ python correo.py RGxxx606xxxDE | |
Buscando información para: RGxxx606xxxDE ... | |
+-------------------+-----------+--------------------+------------------------------------------+--------+--------+ | |
| Fecha | País | Oficina | Evento | Motivo | Acción | | |
+-------------------+-----------+--------------------+------------------------------------------+--------+--------+ | |
| 13-Dec-2013 11:07 | GERMANY | | Receive item from customer (Otb) | | | | |
| 16-Dec-2013 12:08 | GERMANY | | Insert item into bag (Otb) | | | | |
| 17-Dec-2013 07:00 | GERMANY | | Send item abroad (EDI-received) | | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import argparse | |
from HTMLParser import HTMLParser | |
from datetime import datetime | |
from BeautifulSoup import BeautifulSoup | |
from prettytable import PrettyTable | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define PIN1 128 | |
#define PIN2 129 | |
#define PIN3 254 | |
#define PIN4 255 | |
int canal_a[2] = {PIN1, PIN2}; | |
int canal_b[2] = {PIN3, PIN4}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <16f84a.h> | |
#fuses NOWDT | |
#use delay(crystal=4MHz) | |
#use fast_io(b) | |
byte previous_b = 0b00000000; | |
int16 timeout = 1000; | |
boolean is_interruptable = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <16f84a.h> | |
#fuses XT,NOWDT | |
#use delay(clock=4000000) | |
void main(){ | |
set_tris_B(0b00000000); | |
while (True){ | |
output_B(0b00000001); | |
delay_ms(500); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xxx FanControllerTemp from FanController 0 | |
temp=1 from ATI Video Card@$0(onISA@$290) | |
MinTemp=30 | |
MaxTemp=70 | |
hysteresis=2 | |
ControlPoints=20 20 20 22 24 26 28 30 35 40 45 50 60 65 70 75 | |
xxx end |