MVpybot: Update

Well, i’ve finally gotten around to putting out some decent source for the bot. Here it is. There is also an addon system. To make an addon, simply make a python file in the botplugins/ folder and put your code in, like this:

#!/usr/bin/python 

def test():
 return("PRIVMSG %s :test" %(channel))

This would make a function called test. The variables channel, sender, nick, cmd, and run are passed to the function. The functions syscmd() and getlevel() are also passed to the plugin.

The default plugins that are included with the bot are ping, for pinging addresses, testplugin, for testing the bot, yacas, for doing math with yacas (delete it if you don’t have yacas installed) and getlevel, for demonstrating the ability to use the getlevel function in a plugin.

I have also set up a page for the bot, see the links bar below the logo.

Python IRC Bot in the Works

*** Update ***: Main page for bot here

I am currently writing a small, fast, small-footprint IRC bot in Python. More details as I finish the bot. The functions created so far:

  • Help (Displays Help)
  • Echo (Echo back a message)
  • Say (Send a message to a channel)
  • Spam (Send a message to a channel a specified amount of times)
  • Join (Join a channel)
  • Part (Part a channel)
  • Authorization (username+password)
  • Deauthorization
  • User lookup
  • Raw (Use raw IRC commands)
  • Uptime (Display uptime)
  • Math (Do math functions with Yacas)

Planned functions:

  • Encrypted passwords
  • Data storage, either in a text file or a MySQL DB
  • Channel mode control

This bot is not meant to be a complex bot, it is intended to be a fast, light bot that can be easily reprogrammed.

Linux iPhone Tethering over Bluetooth

A while ago I wrote about how to do a wifi iPhone tether with a SOCKS proxy. Now, I’ll be writing about a Bluetooth tether on 3.0/3.0.1 with a 3G/3GS. To make this work on 3.1, you will need to enable tethering separately, which can usually be done by installing the “Internet Tethering” package in Cydia. This does NOT rely on that uit.sh script floating around, and will work on any Linux system with bluetooth. I used my Fedora 10 laptop for this.

Read the rest of this entry »

A (Mostly) Complete OpenWRT Tutorial

I’ve attempted to write a complete OpenWRT setup tutorial, since many out there lack certain parts. This will cover the basics and the more advanced things you can do with OpenWRT. Read more for the tutorial.

Read the rest of this entry »

Back Up

Mattventura.net and all of its services are back up after a power outage last night.

Roundicity Theme

The WordPress theme Roundicity that I made (well, actually modified, read the style.css file) is sort of complete, just needs better IE support. If you want to help, just send me an email. (mattventura.at.mattventura.net)

Feedback is welcomed in the comments, along with any questions you might have.

This theme does not work well in IE6. If you have IE6 users visiting your site, you should probably tell them to upgrade.

roundicity-0.9-alpha.tar.gz

Installing Debian on an External Drive

If you want to install Debian on an external drive, you can follow these instructions. THis has the advantage of being portable and persistent, and works for hard drives and flash drives.

Read the rest of this entry »

Linux iPhone Tethering scripts

Seeing how inconvenient the whole tethering process is, I decided to simplify it with these scripts. You will probably want to keep the SUID bit on these, or use sudo and set it up to not ask for a password for this command. Be sure to replace wlan0 with your wifi interface.
Read the rest of this entry »

Tethering the iPhone in Linux

Since I want to be able to use my Linux laptop on the go without paying for a “tethering plan” or paying for a separate plan, I decided to try tethering my iPhone. Doing this with network-manager is simple.

Read the rest of this entry »