Skip to main content
Easton's stuff

Main navigation

  • Code
  • SnackLinux
  • Home

Breadcrumb

  1. Home

script

By Easton , 5 December, 2011

Google Analytics to Twitter bot

The last week, I've been tinkering with Google's Analytics API. What I wanted to do was have daily reports on my website which then  tweets the difference from yesterday to today. The ideal situation was I would have it SMS me the results. The problem is that my phone carrier (Rogers) complicates things. For most carriers, you can email a carrier-supplied address (5555555@att.com for example) which in turn would send an SMS to that address. But, what Rogers does is once you receive a text, you have to respond back with REPLY to view it. Stupid huh.

To get around this, I subscribe to my bots account via text message and for every new tweet, I get a text message.

Tags
php
script
analytics
By Easton , 7 May, 2010

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.

Tags
flying monkeys
php
gehoorbeschermers
script
christmas sucks
irc
By Easton , 22 July, 2009

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.

 

Portfolio here. My prices are cheap (say, min $3 CAD) so I'm available to hire. If you have any offers, deals etc, post a comment or use the contact page.

Tags
flying monkeys
php
money
script
wtf
freelance
sale
By Easton , 5 April, 2009

Rokke Script Store

Rokke Script Store is a new PHP script store that offers low prices for quality PHP scripts. Currently it's in beta, but I'd suggest you to take a look!

Tags
php
script
rokke
store
By Easton , 9 March, 2009

WorkSimplel 1.2.2a released!

WorkSimple 1.2.2a has been released! Check the download page or click here to download [ZIP]

Comments and ideas are appreciated :)

Tags
php
free
worksimple
ws
script
1.2.2a. release
By Easton , 5 March, 2009

Microblogging

I'm not into social networking or that kind of stuff, but I decided to join Twitter instead. I installed two apps for my iPod for Twitter and I guess I exceed 100 requests an hour.
...So I decided to make my own microblogging site. Sounds like another useless script....but oh well, something to pass the time. Sounds like a good idea? Leave a comment and let me know.

EDIT:

It seems I get quite a number of hits from this blog entry. Below, I've included the microblogging script I made. 
 

Download here: http://geekness.eu/sites/default/files/team.zip

To install/use this script, create a directory called 'db' in your doc root and move 'team.csv' in there, also put 'ptb_ini.php' and 'pjjtextbase.php' in your doc root. And that's it. The script is quite infinished and exhibits horrible coding. Use at your own risk ;)

Tags
php
free
blog
script
wtf
microblogging
php script
By Easton , 2 March, 2009

Ideas

I just added a bunch of modules to 2500mhz, so I should be getting some more traffic (and perhaps money).
I turned 'Developer mode' on in Mobile Safari on my iPod touch, I don't know why I didn't turn it on sooner. I found out what was going on in my HTML pages and CSS's. Maybe this weekend, I'll fix up MailX Mobile, Server Stat and a mobile Wiki.
 Now that basketball is over, I'll be sure to get into my 'productivity mood' now. The top thing on my list is to work on WorkSimple (which needsafixin').

Tags
php
free
money
drupal
script
adsense
idea
analytics
By Easton , 24 February, 2009

Server Stat

There's an app in the AppStore called Server Database. A pretty simple app, made to manager servers and such. Enter the name, address, function for the server and you're good to go. Well, I decided to make my own version of it using iWebKit. You can check it out here. Its pretty simple, it's read only for now. I'll wrap it up in a tarball and put it on the 'Free PHP Scripts' page.  Anyway, just though I'd share that.

I haven't been up to much, other than creating useless PHP scripts. Just been browsing the LovingTech forums.... Well, I'll get to coding and such....

Tags
php
free
script
whatever
ipod touch
itouch
ipod
touch
iwebkit
By Easton , 19 February, 2009

Refernece Wiki

I modified one of my own wiki scripts to conform with iWebKit to make a reference wiki. I was inspired by a PHP reference app in the AppStore so I decided to make my own (sorta). In short, you search for a function and view the correct syntax, etc... Sorta pointless but time consuming
Our team might go to the Provincials which is in March sometime
Anyway, Friday tomorrow w00t!

And the plot thickens....

Tags
php
free
script
server
cwiki
wiki
free script
flippy
By Easton , 28 January, 2009

Torrentino.info

Just purchased 'torrentino.info' (hopefully I spelled it right), so it should be active in the next 24 hours.
Update: Done, check it out: http://torrentino.info/

Tags
flying monkeys
php
free
script
wtf
torrentino
tt
info
.info
tld

Pagination

  • 1
  • Next page
script

Navigation

  • GitHub Profile
  • SnackLinux
  • Popular pages
    • Restoring a Macintosh Plus
    • Getting root access on a $10 Aliexpress Wifi repeater
    • Remote code execution on no-name wifi repeaters: Part 2
    • Building your own handheld GPS with an ESP32
    • Remote code execution with Hitron CGNM-2250
    • NES controller and a RaspberryPi
    • 4000 series CMOS 24 hour clock
  • Toyota Overland
RSS feed



 

Powered by Drupal