dom111


Member since 03/05/2008

14 snippets

18 profile views

2 Comment(s) Posted

View their favorites

Profile

All time reputation: 33

Achievement

first submission:submitting first snipplet

dom111's Recent Snippets



« Prev 1 Next »
  1. FAV

    php-log - Process log files with PHP

    I’ve recently had to quickly parse an Apache log file, to get basic usage statistics for a site over a month and wanted the ability to quickly process any general logs and store them in a MySQL table, so I’ve made a small package class.log. In...
    PHP saved by 32 people 16 views posted 9 years ago dom111
  2. FAV

    chunk - Break A Large XML File Into Manageable Chunks

    I’ve recently had to parse some pretty large XML documents, and needed a method to read one element at a time. Here’s a fairly simple solution in PHP.
    PHP 13 views posted 9 years ago dom111
  3. FAV

    chunk - break a large XML file into manageable chunks

    I’ve recently had to parse some pretty large XML documents, and needed a method to read one element at a time. Here’s a fairly simple solution in Ruby form.
    Ruby 7 views posted 9 years ago dom111
  4. FAV

    jQuery Parallax

    I’ve seen some very cool parallax effect around lately, especially liking the Silverback site. But none of them are particularly interactive, so I thought I’d make a small implementation of the Parallax effect that interacts with the mouse. Ve...
    jQuery saved by 9 people 3 views posted 9 years ago dom111
  5. FAV

    jQuery addCaptions

    A simple script that will add captions to images and allow for easy styling.
    jQuery saved by 9 people 4 views posted 9 years ago dom111
  6. FAV

    Object Oriented Image Manipulation

    I’ve been working on a CMS lately and having to create thumbnails for uploaded images is always a pain, lots of maths working out the correct sizes and such, so I’ve created a fairly small script to manipulate images in an object-oriented style.
    PHP 8 views posted 9 years ago dom111
  7. FAV

    mootools dropdownify

    So recently I was asked to change a navigation style of an existing site to drop-down menus. Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (so...
    JavaScript 4 views posted 9 years ago dom111
  8. FAV

    jQuery - Dropdownify

    So recently I was asked to change a navigation style of an existing site to drop-down menus. Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (so...
    jQuery 5 views posted 9 years ago dom111
  9. FAV

    autoPopulate 0.1 - Automatically populate form fields using a bookmarklet

    I\'m constantly testing forms over and over for one reason or another, and am fed up with making a typo and autocomplete not populating all the data, so I made this little snippet. It searches for form elements on the page (input, textarea and select...
    JavaScript saved by 4 people 7 views posted 9 years ago dom111
  10. FAV

    xmlentnties and xml_entitiy_decode

    Because htmlentities just doesn't cut it. Recently needed this to work with 3rd part software, ended up having to make it pretty robust so thought I'd share!
    PHP 3 views posted 10 years ago dom111
  11. FAV

    JSS 0.1 - Nested CSS using Javascript

    Ever wanted nested stylesheets? I have! Now you can have them! If you code your stylesheets as JSON and parse them using JSS 0.1. You could have the following: JSS({ 'html': { 'body': { background: '#ff...
    JavaScript 5 views posted 10 years ago dom111
  12. FAV

    Webkit (Safari) - Speed Dial bookmarklet

    A bookmarklet that enabled a speed dial storing the data in webkit's SQL engine. There are bugs and a few conditions, read: [http://www.dom111.co.uk/blog/coding/webkit-speed-dial-bookmarklet/59](http://www.dom111.co.uk/blog/coding/webkit-speed-dial-b...
    JavaScript saved by 1 person 6 views posted 11 years ago dom111
  13. FAV

    submitEvents - Javascript form submission handler

    Requires Mootools 1.2<br/> http://mootools.net/download Based on the mootools javascript framework a re-usable class for easily implementing an array of on submit events. * Confirmation - Provides an Ok, Cancel input box before proceeding furt...
    JavaScript saved by 16 people 4 views posted 11 years ago dom111
  14. FAV

    PHP - Lightweight Database and Rowset class, ActiveRecord style functions

    Been wanting to made one of these for a while and finally I got round to it. For some examples please visit the post: http://www.dom111.co.uk/blog/coding/db/8 Any comments suggestions appreciated. CreativeCommons ShareAlike
    PHP saved by 75 people 17 views posted 11 years ago dom111
« Prev 1 Next »