Patrick Lambert - Freelance Content Creator Follow me on...
Twitter DA Google+ Pinterest

Free downloads

  • UserDB Perl module

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Fri, Dec 19 2014 6:08:16 PST - [Permalink] - Category: code - by: Patrick Lambert

    Click here to download

    UserDB is a simple Perl management module for users and groups. It uses a flat file database to store information and as such does not rely on any external resource. It provides an interface to do simple functions for implementing users and groups, and handles errors gracefully.

    Example code:

    use UserDB;
    my $userdb = UserDB->new("user.db"); # Connect to the database
    $userdb->create_user("tanya"); # Create a new user
    $userdb->set_attributes("tanya", name => "Tanya Harding", email => "tanya.harding\@example.com"); # Set some attributes
    my %attrs = $userdb->get_attributes("tanya"); # Get attributes
    $userdb->create_group("Finance Staff"); # Create a group
    $userdb->add_to_group("tanya", "Finance Staff"); # Add user to group


  • Sanitize Perl module

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Tue, Dec 16 2014 9:51:30 PST - [Permalink] - Category: code - by: Patrick Lambert

    Click here to download

    This is a simple Perl module to sanitize user input. Here are some examples of its use:

    use Sanitize;
    sanitize("fd gfd*#(sd)", alpha => 1); # Returns: "fggfdsd"
    sanitize("The ip is 192.168.3.53:80", ip => 1); # Returns: "192.168.3.53"
    sanitize("The ip is 192.168.3.53:80", port => 1); # Returns: "80"
    sanitize("The ip is 192.168.3.53:80", ip => 1, port => 1); # Returns: "192.168.3.53:80"
    sanitize("Blah", password => 1); # Returns: "****"
    sanitize("sf d54_d <script>alert('test');", html => 1); # Returns: "sf d54_d &lt;script&gt;alert('test');"
    sanitize("Some email is: joe@test.com, email me now", email => 1); # Returns: "joe@test.com"
    sanitize(" some thing ", rtrim => 1); # Returns: " some thing"
    sanitize(" some thing ", ltrim => 1); # Returns: "some thing "
    sanitize(" some thing ", nospace => 1); # Returns: "something"
    sanitize("This is a %3Cscript%3Ealert('test');", noquote => 1, noencoding => 1); # Returns: "This is a scriptalert(test);"
    validate("invalid email@some!host", email => 1); # Returns: 0
    validate("10.0.0.1", ip => 1); # Returns: 1
    validate("invalid.ip.7.4", ip => 1); # Returns: 0


  • NodePoint

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Thu, Dec 11 2014 16:39:48 PST - [Permalink] - Category: apps - by: Patrick Lambert

    Click here to download

    NodePoint is a free ticket management system based on Bootstrap meant to be elegant, easy to install and easy to use, yet still offer many typical features such as user management, access levels, commenting, release tracking, email notifications and a JSON API. It can be used as a bug tracking site for a developer, products support for a company, help desk system, project tracking for a group or organization, and more.


  • Modern LaTeX template

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Mon, Nov 10 2014 2:43:00 PST - [Permalink] - Category: templates - by: Patrick Lambert

    Click here to download

    This is a modern looking LaTeX template including a title page for the creation of documents. It's meant to be compiled with XeLaTeX.


  • JSON Chat

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Wed, Oct 29 2014 16:32:25 PDT - [Permalink] - Category: code - by: Patrick Lambert

    Click here to download

    A simple Node.js chat client with a JSON API:

    ResourceDescription
    /help/API usage information
    /register/Register a user
    /users/See a list of users
    /post/Post a message to the public feed
    /message/Send a private message
    /feed/View the public feed and your messages

    To use, simply run the file with Node and load a browser to http://localhost:8080/.


  • PHP GeoIP

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Mon, Oct 27 2014 5:31:18 PDT - [Permalink] - Category: code - by: Patrick Lambert

    Click here to download

    This is a simple PHP script that provides country and country code information based on IP addresses.


  • Real Time Event Monitor

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Mon, Oct 20 2014 4:10:45 PDT - [Permalink] - Category: apps - by: Patrick Lambert

    Click here to download

    This is a real time event log monitor for Windows. This PowerShell script can be used to monitor local or remote systems.


  • Config::Win32

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Wed, Oct 15 2014 19:43:12 PDT - [Permalink] - Category: code - by: Patrick Lambert

    Click here to download

    This Perl module is a simple way to save and load configuration options in the Windows registry. While other Config modules exist, they mostly rely on flat files, which is the norm on Unix systems but not as useful on Windows.

    The registry provides an easy place to store values and this module takes advantage of that. It uses the Win32API::Registry low-level API to access the values.

    Synopsis:

    use Config::Win32;

    my $cfg = Config::Win32->new('Vendor name', 'Application name');

    $cfg->save('key', 'value');
    print $cfg->load('key');


  • DB 2 HTML

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Mon, Oct 6 2014 17:28:05 PDT - [Permalink] - Category: apps - by: Patrick Lambert

    Click here to download

    DB 2 HTML is a utility to export data from a database to HTML. It supports the following databases:

    - MS SQL Server
    - Oracle Server (requires Oracle 32bits client)
    - MySQL
    - SQLite 3
    - Generic ODBC

    Binaries for Windows and Linux are included.



  • Command line Twitter client

  • [Tweet] [Facebook] [Google Plus] [LinkedIn]Wed, Sep 24 2014 21:26:43 PDT - [Permalink] - Category: apps - by: Patrick Lambert

    Click here to download

    This is a simple unofficial command line Twitter client for Windows.



    Load more

    Categories: apps | code | models | textures | templates
    View full archive