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/local/bin python | |
# -*- coding: iso-8859-1 -*- | |
# autor: Silvio Giunge (kanazuchi) | |
# export content in txt file to csv file | |
import re | |
import os | |
import sys | |
from string import digits | |
from subprocess import check_output |
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> | |
#include <time.h> | |
#include <stdlib.h> | |
#include <curl/curl.h> | |
#include <string.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#define MAX_STRING_LEN 6000002 | |
#define NUMT 4 |
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> | |
#include <stdlib.h> | |
#include <curl/curl.h> | |
#include <string.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#define MAX_STRING_LEN 6000002 | |
size_t read_data (char *bufptr, size_t size, size_t nitems, void *userp) |
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
def findserie(serie,season,srange,frange): | |
import os | |
nserie = serie.replace(" ","_") | |
os.system("firefox -P default &") | |
for x in range(srange,frange): | |
os.system("firefox -p default --new-tab http://thepiratebay.se/search/%s\ s%se%s\/0\/7\/0" % (nserie,"{:02d}".format(season),"{:02d}".format(x))) |
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> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(){ | |
char letra; | |
float numb1, numb2, result; | |
printf("Digite o primeiro numero da operacao:"); |
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/local/bin/env python | |
# | |
# written by kanazuchi | |
# | |
import re | |
import sys | |
from urllib2 import urlopen | |
def search_pkts(url, pkt): |
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
from collections import defaultdict | |
dicionario = defaultdict(list) | |
fox1982 = {"ano" : "2008", "cor" : "branco", "revisao" : "ok"} | |
fox8219 = {"ano" : "2009", "cor" : "branco", "revisao" : "not ok"} | |
dicionario['carros'].append(fox1982) | |
dicionario['carros'].append(fox8219) |
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 "stdlib.h" | |
#include "stdio.h" | |
int main(){ | |
int x=0,y; | |
while(x<=20){ | |
printf("Digite um numero\n"); |
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 re | |
from subprocess import check_output as ck | |
get_ifaces = ck(['/sbin/ifconfig'], shell=1).split() | |
if_ips = [] | |
for item in [re.sub('addr:','',item) for item in get_ifaces if re.match(r'eth[0-9](:[0-9])?|addr:[0-9]',item)]: |
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
"***************************************************************************** | |
"" NeoBundle core | |
"***************************************************************************** | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
" Required: | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif |
OlderNewer