Easton's stuff Geek, coding and other madness....

PHP IRC bot

Been bored lately, so I'd thought I'd make an IRC bot in PHP. I wasn't sure how they worked, so I found this to be great: http://www.hawkee.com/snippet/5330/

I added a little more to it, using switch() instead of an if statement. So, instead of:


if ($rawcmd[1] == "!sayit") {

I changed it to

 

 switch(rtrim($rawcmd[1])) {

 

and of course everything else in between. 
See the full code here: http://pastebin.com/4F9XPkVx or here http://pastebin.org/205819
Not much has changed, but with switch() I found it easier to add more commands. Again, I didn't write most of it. Feel free to test it out though.

Znaj

Blog has turned to shit, no post in almost a month now. I guess due to the loss of my domain (geekness.eu), there's less traffic and less of a motivation to do anything. Any links to this site would be using the geekness.eu domain.

Again, my work has come to a standstill. Nothing new has happened. Absolutely nothing. Guess I should start doing something. Happy that I can get Opera on my iPhone though, heh.

 

Yet another blog post telling my readers that I'm alive...

Progress on nothing

Domain expired little while ago (geekness.eu), so all my links are now dead. Ugh. I didn't raise any money whatsoever through donations so I couldn't renew the domain. The URL for my blog is the original, easton.4fd.us

 

Anyway, Sysode got some new features. Users can now make projects publicly available for viewing. Public users can view the overview of the project, bugs and tasks. More to come, as well. Speed could be an issue down the road, Sysode is one of my bigger projects. Conversion to MySQL or PostreSQL might be needed down the road, as it uses pjjTextBase instead. For the amount of users now (that is, none), it runs fine. 

Quick post is quick

Life's been the same, my blogging life has swindled down as well. I have an old 5" TV/radio (it has a handle on top!) of which I connected to a VCR hooked to one of my spare computers. You get a mess of cables and a very very small monitor. I had to sit an inch away from it to read anything.

Sysode has caught my interest again, I've added some new features too. Fixed some bugs and added the ability for public viewing of the project, check it out.

Celebrated 100 days of uptime on my fileserver the other day. I mainly use it as a SMB/FTP/NFS server and I can say it's pretty solid. 500MHz with 512MB's of RAM, and my first RAID experience as well.

Other than that, it's been quite boring. This is meant as a recap of the things that I've done, though I'm not in a rush.

 

 

 

So it just had to be the Windows box

Photo by MarkyBon

About last week my Windows Server [2003] (I had 2008 on there, then went back to 2003) server wouldn't boot. Since it's not accessed externally, I run TVersity to transcode by movies of which I watch on my 360.  

So, it wouldn't boot up which was great. Kept going into an endless loop, after POST it would keep rebooting. Dead RAM? You'd think it would beep if it was. But nope. Swapped the power supply and still nothing. Loose connection to the case fan? Still, nothing. Only other object that was still plugged in was the hard drive. Unplugged it. Booted normally (though it couldn't since it was the only one). Awesome. Ended up re-installing Server 2003 last night, turned out fine. 

Still puzzles me that it wouldn't boot at all. BIOS detected it fine, but once it tried to boot from the hard drive an endless loop occurred. Working well now, which is a surprise.

 

PPTP server on pfSense

 One of the servers that are at my disposal has a very low CPU usage percentage (if that makes sense). On my way to set up a PPTP VPN server on the box, I realized my router running pfSense could do it out of the box. In this short tutorial, I'll show you how to get a PPTP VPN working so that you can connect to it anywhere.

Head under VPN -> PPTP

Next, click on the Enable PPTP server radio button. For the Server address put in your WAN (public) IP. For the Remote address range, put in a local IP of which the range will start at. Near the end of the page, check Require 128-bit encryption.

So, what's new?

Back in school, so that's just great. Thought I'd write a post, since I haven't for a couple weeks now. Was planning on working on WorkSimple the other day, but didn't. Set up a CS:S server, running pretty good too @ 1.8ghz with 512MB (Debian with XFS of course). 

 

I found myself having a TI-83+, but no sync cable. So, I tried to use the same type of cable that was used for a PDA but no luck. There's some pretty cool stuff you can do with the TI's. Just and update, I'll write another post in the coming days with some stuff that I've been doing.

Monitor your Linux boxen with iStat for the iPhone

So I came upon an app the other day while browsing on my iPhone. iStat. It monitors your uptime, network I/O, RAM usage, etc.. There was another app that just needed SSH access but that was another $2. Anyways, iStat has a Mac OS X, Linux, FreeBSD and Solaris port of the agent. Just simply install the agent on your boxen and done!

 

It's pretty simple to get it working, I'll go over the steps that I used on Lenny.

Grab the latest release here (at this time, 0.5.4), and extract it somewhere. For me to get it working in Debian, I had to install the libxml2-dev package first. Go ahead and type 

./configure

 

Then

WorkSimple 1.3.2 released

WorkSimple 1.3.2 has been released, download it or read about it.

Subscribe to