php

nginx + php + Solaris 10

I wanted to set up a development server to test more intensive PHP applications, and also a sandbox so I opted to get a typical web server stack on Solaris.

First thing's first: grab nginx from  Cool Stack page. There's some great packages there, like Apache, PHP and MySQL all in one. I decided to go with nginx for something light and something new. 

No votes yet

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.

Your rating: None Average: 3 (1 vote)

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. 

Your rating: None Average: 2.9 (7 votes)

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.

Your rating: None Average: 4 (1 vote)

WorkSimple 1.3.0 released!

WorkSimple 1.3.0 has just been released, download here:http://geekness.eu/sites/default/files/worksimple_1.3.0.zip

Your rating: None Average: 3.1 (9 votes)

Macedonia Elite Hackers

 My web hoster got hacked last night, not something to be proud of, by Macedonia Elite Hackers.  Taking from my post here, they certainly did not cover their tracks:

[start]

Alright, here's my findings:

Your rating: None Average: 4 (1 vote)

I'm scared of MySQL

Photo taken by me!

I've been using PHP for a bit over a year and half. It's come to my conclusion, that I've never used MySQL in any of my applications. I think I'm scared of reliance.

I tend to use either a simple flat file (like WorkSimple) or pjjTextBase (Torrentino for example) because they're quite easy to manipulate. I'm not sure why I don't use MySQL, being PHP's soul. Everything you see nowadays for PHP uses MySQL.

None of my applications use MySQL (or anything that is 'modern'). Hell, Sysode, Torrentino and Ticketo (my larger projects) all use PTB. Plus, flat file is faster. Skip the middleman, and write directly to the file system. Additionally, I tend to keep my projects/scripts small.

No votes yet

I'm for sale.

 I'm starting to freelance now, so I'm up for any work and make an attempt to build my portfolio. I'm available to do any work, small to medium sized projects. Stuff I can do:

  • Code PHP
  • Remote adminstration of Linux boxen
  • Some MySQL stuff (though I hate it)
  • Installl scripts (Wordpress, Drupal, WHMCS, etc..)
  • Help with hosters (I know my way around WHM, cPanel, WHM and so forth)
  • And probably a lot more useless stuff.

 

Your rating: None Average: 2.9 (9 votes)

$explode[2]

Finally, school is almost done so maybe I'll have a little more time for my projects and such.

I've been working on Sysode lately, and it's been coming along. It's still very beta, so register if you must.
 
Me birthday is on the 23rd, and I've been thinking of getting a pi tattoo, maybe shoulder blade or chest somewhere. If not, was thinking about a Blackberry 8330. The G1 is on Rogers and I'm on Bell for the next 2 years....
 
Anyway, finally get some time off so going to go play ET:QW

Your rating: None Average: 2.9 (7 votes)

Friday

It's finally Friday, been waiting all week. I now have four spare processors, dual Xeon socket 604 processors. It'd be great if I could use them.... Also have some RAM too, 4GB's in total!

Torrentino has been running fine so far, server load has been low. PunBB uses a small amount of CPU usage, Torrentino itself (the system) uses next to nothing. One server for the front end + PHP, another for static content (CSS, images, etc.). I could have another server just for PHP processing, if needed. Well, atleast I'll have the hardware to expand ;)

No votes yet

Syndicate content
Powered by Drupal, an open source content management system