This file contains hidden or 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 | |
# ws.sh Web Server in Shell Scripting | |
# @author: maop www.maop.mx | |
# INSTALL: Just add to your /etc/inetd.conf: | |
# http-alt stream tcp nowait nobody /home/maop/Proyectos/ws-sh/ws.sh | |
# restart inetd and launch your browser to 127.0.0.1:8080 | |
# --[ Config ]-- | |
htdocs="/home/maop/Proyectos/ws-sh" |
This file contains hidden or 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/python | |
# RandomFollowFriday.py | |
# [email protected] @maop | |
# You have to use this patch: http://python-twitter.googlecode.com/issues/attachment?aid=6509573335595538436&name=friends-followers-cursor.patch | |
# Since current twitter.py does not paging right (http://code.google.com/p/python-twitter/issues/detail?id=113) | |
import twitter | |
import random | |
USERNAME = "XXXXXX" |
This file contains hidden or 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/python | |
# | |
# quick and dirty script to mauropm <3 | |
# with love | |
# maop... xD | |
# | |
# Todo, parse types (mp3, youtube, etc..) and add code or perhaps | |
# feed youtube-dl with sources from here and later mencoder powa! | |
# |
This file contains hidden or 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 | |
import urllib | |
def show_ip(): | |
print urllib.urlopen("http://tuip.info/ip").read() | |
if __name__ == "__main__": | |
show_ip() |
NewerOlder