Code
This is a listing of the various scripts and software projects I have created. Please use the menu to the left for more information.
All code is distributed under
Creative Commons.
Sources are available on Github.

Blog Script
Size: 8,894 bytes
ETA: 1.27 Seconds (at 5.6Kb/s)
License:
Creative Commons Downloads: 2631
I designed this blog system for the old threesquared.net.
It allows blog posts from verified users and comments from visitors.
The data is stored in a SQL database. The script includes an admin section to edit or remove blogs or comments.
Feel free to use this script and modify it. Please leave the credits in.
Download here |
View SourceUser Login Script
Size: 8,192 bytes
ETA: 1.3 Seconds (at 5.6Kb/s)
License:
Creative Commons Downloads: 13622
This login script is based on php session data and does not use cookies. It has the ability to let users register themselves.
The user inputs their name, username, email, website and password. This data is then stored in a text file.
Php sessions can be called on anywhere on your site, this means that you can include user information or block certain users,
or just people who have not registered, from certain web pages.
Download here |
View SourceDownload Script
Size: 762 bytes
ETA: 0.11 Seconds (at 5.6Kb/s)
License:
Creative Commons Downloads: 6288
This is a simple download counting script. It uses text files and not mysql databases.
The script simple adds one to a text file of the same name as the file wishing to be downloaded and then forwards
the user to the file.
** Following a security advisory the script has been updated. Download revised script now and turn on the "magic_quotes_gpc"
php option
Download here |
View SourceUsers online Script
Size: 1,010 bytes
ETA: 0.5 Seconds (at 5.6Kb/s)
License:
Creative Commons Downloads: 2258
Simple script to display how many users are browsing your website
The script simply adds the user's ip and the time they entered your site to a text file. After a certain time the user is
deleted unless they activate the script again.
Feel free to use this script and modify it. Please leave the credits in.
Download here |
View SourceLink Script
Size: 8,894 bytes
ETA: 1.27 Seconds (at 5.6Kb/s)
License:
Creative Commons Downloads: 1444
Simple script to display a frame from your site on external links.
The script opens your link in a frameset with a small frame the script also knows the page that the user came from and gives them
the option to return. Usefull if the user wants to return to your website. The script also gives an option for the frame to be removed.
Feel free to use this script and modify it. Please leave the credits in.
Download here |
View SourceEmail form Script
Size: 8,894 bytes
ETA: 1.27 Seconds (at 5.6Kb/s)
License:
Creative Commons Downloads: 3301
Simple script to allow users on your website to send you an email.
The script receives the subject and the address to send the message to it requires the user to input their name,
email and their message then it sends the email.
Feel free to use this script and modify it. Please leave the credits in.
Download here |
View SourceFFmpeg Screenshot Script
This is a bash script to extract screenshots at 20 minute intervals from video files using ffmpeg.
Usage: ./screenshot.sh [file] [number of screenshots]
#!/bin/bash
file=$1
times=$2
x=1
while [ $x -le $times ];
do
ffmpeg -ss $(echo "$x * 1200" | bc -l) -i "$file" -an -vframes 1 -f image2 images$(echo "$x").png;
x=$(( $x + 1 ))
done
Eggdrop RegEx Downloader
This is a TCL script for an
Eggdrop bot to scan a channel and download any urls that match regular expressions.
package require http
bind pubm -|- "*" dller
proc dller {nick uhost hand chan text} {
# Set your download dir here
set watchdir "/home/path/to/download/dir"
# Put your regex patterns here
set patterns(1) {^(Something|Else)\.*\.dll}
set patterns(2) {^(Test)\.*\.exe}
# Do not edit below here
set line [stripcodes bcruag $text]
foreach pattern [array names patterns] {
if { [regexp $patterns($pattern) line] } {
set token [::http::geturl $dll]
set outfile [open $watchdir/$line w]
fconfigure $outfile -translation binary
puts -nonewline $outfile [::http::data $token]
close $outfile
}
}
}
putlog "Regex downloader by Ben Speakman loaded..."