#!/usr/local/env/ python
# -*- coding:utf-8 -*-
import sys
import time
from threading import Thread, current_thread
#from queue import Queue
lista = [1,3,6,4,3]
#!/usr/bin/env bash
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2013-07-11
# _______________| netspeed : check download speed via command line.
# Usage: netspeed [tokyo, london, usw, use, east, west, URL]
# ^default U.S. west coast.
# [ -speed_KB/sec ]
# ^negation activates the Mbps converter.
#!/usr/bin/env python
from sys import argv,exit
import urllib2
import urllib
import json
print '\033[1;32m[+]\033[0m Reverse ip lookup by MMxM'
if(len(argv) != 2):
# OpenVPN road warrior installer for Debian, Ubuntu and CentOS
# This script will work on Debian, Ubuntu, CentOS and probably other distros
# of the same families, although no support is offered for them. It isn't
# bulletproof but it will probably work if you simply want to setup a VPN on
# your Debian/Ubuntu/CentOS box. It has been designed to be as unobtrusive and
# universal as possible.
#!/usr/local/env/ python
# -*- coding:utf-8 -*-
from import App
from kivy.lang import Builder
from kivy.uix.screenmanager import ScreenManager, Screen, FadeTransition
from kivy.config import Config
from kivy.core.window import Window
from kivy.uix.image import Image
from kivy.animation import Animation
#!/user/local/env python
# -*- coding:utf8 -*-
import os
import platform
filename = "registros"
if not os.path.isfile(filename):
open(filename, "w+").close()
View linux_on_android_debian_small_v4 python2.7
### in short
1. installed debian-small-v4 for Linux Complete Installer 2.8 from PlayStore
2. tried to install modules with PIP, seems not installed
3. tried to install with found at ( but ends with a happy "fuck you" cuz b"werwer" binary string is not "syntax ok". Okay, lets try with other Python
4. i've build python2.7 from sources but there are lot of missing modules, on of most importan the zlib, so i can't fetch gzipped content from websites :-/ so i cannot install
5. i think i will end finally using just QPython wich is GREAT and also includes Kivy and LOT OF MODULES.
6. the main problem is that i am using Debian Lenny, kinda outdated.
finally: well, it works, but i couldn't live with a system that even don't allow me to run basic python2.7 scripts, or pip itself.
View fetch_messages()
def get_message(cursor):
return (
def fetch_messages(lastindex):
if platform == 'android':
uriSms = Uri.parse('content://sms')
View blizzard-scrapper.php
* database.php
* Database access
* @category Data scrapper
* @package Blizzard
* @author erm3nda
# sample url:
# set a random filename for wget tmp data (html output)
# used 3:-33 instead 1:-32 to avoid $1 argument clash
tmpfile=/tmp/`< /dev/urandom tr -dc A-Za-z0-9 | head -c${2:-33}`.txt
tmpaudio=/tmp/`< /dev/urandom tr -dc A-Za-z0-9 | head -c${2:-33}`.mp3
# argument checking for $1 ("use quoted text")
if [ -z "$1" ]