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 python2 | |
# -*- coding: utf-8 -*- | |
from platform import architecture | |
from BeautifulSoup import BeautifulSoup | |
import urllib2 | |
from sys import argv | |
BASE_URL = "http://vabs.archlinux-br.org/" |
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 python2 | |
# -*- coding: utf-8 -*- | |
''' | |
Programa responsável por realizar testes de performance na detecção e análise | |
de endereços IPs utilizando códigos de Python puro e expressões regulares. | |
Autor: Magnun Leno | |
Licença: GPLv3 | |
Nome do Arquivo: valida_ip.py | |
''' |
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 | |
# encoding: utf-8 | |
# Licença: GPL3 | |
# Autor: Magnun Leno (magnun [dot] leno [at] gmail [dot] com) | |
import sys | |
from os import mkdir | |
def print_ajuda(): |
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
#!/bin/bash | |
# encoding: utf-8 | |
################################################## | |
# Variaveis # | |
################################################## | |
# Nome do Computador | |
HOSTN=Arch-VM | |
# Localização. Verifique o diretório /usr/share/zoneinfo/<Zone>/<SubZone> |
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
#!/bin/bash | |
# encoding: utf-8 | |
################################################## | |
# Variaveis # | |
################################################## | |
# Nome do Computador | |
HOSTN=Arch-VM | |
# Localização. Verifique o diretório /usr/share/zoneinfo/<Zone>/<SubZone> |
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
#!/bin/bash | |
# encoding: utf-8 | |
################################################## | |
# Variables # | |
################################################## | |
# Computer Name | |
HOSTN=Arch-VM | |
# Keyboard Layout |
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
#!/bin/bash | |
# encoding: utf-8 | |
################################################## | |
# Variables # | |
################################################## | |
# Computer Name | |
HOSTN=Arch-VM | |
# Keyboard Layout |
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 | |
# encoding: utf-8 | |
# Python plotting "module" based in the graph found here: | |
# http://www.techdrivein.com/2012/09/chrome-overtakes-ie-to-become-worlds.html | |
# | |
# License: GPLv3 | |
# Credits: Magnun Leno (@mind_bend) | |
# Site: http://www.mindbending.org |
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
echo "Cleaning build dir..." | |
rm build/* | |
echo | |
echo "Compiling files" | |
gcc -c lib/myprint.c -o build/myprint.o | |
echo | |
echo "Building lib archive" | |
ar rcs build/libmyprint.a build/myprint.o |
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
import javax.xml.parsers.DocumentBuilderFactory; | |
import javax.xml.parsers.DocumentBuilder; | |
import org.w3c.dom.Document; | |
import org.w3c.dom.NodeList; | |
import org.w3c.dom.Node; | |
import org.w3c.dom.Element; | |
import java.io.File; | |
import java.util.ArrayList; | |
import java.util.logging.Logger; |
OlderNewer