Quantcast
Channel: Snipplr
Browsing all 35 articles
Browse latest View live

(PHP) Login Class - beneberle

View Article



(CSS) Clear floats without structural markup - beneberle

".clearfix" is the container that holds all of your floated elements. Works in all browsers that support "float" and "clear".

View Article

(Bash) Copy A Directory From A Remote Server - beneberle

Use on a command line to copy a whole directory on a remote server down to your computer. Requires SSH access to remote server.

View Article

(HTML) HTML Test Page for CSS Style Guide - beneberle

Great page for testing the style guide for a website.

View Article

(JavaScript) Cool Javascript Validation - beneberle

A very easy to use script for validating your forms.

View Article


(HTML) Pill Button Wrapper - beneberle

Creates a "pill" button with rounded corners; expands with text.

View Article

(SVN) Remove all .svn externals - beneberle

View Article

(JavaScript) get base path - beneberle

View Article


(PHP) PHP Export MySql Table to Xls - beneberle

Face it! Whenever you make a website/app you always need to make XLS export for the simple people. I mean heaven to betsy if they have to take a csv file, or use phpMyAdmin. So Here are 3 little...

View Article


(PHP) How to Display Any RSS Feed on Your WordPress Blog - beneberle

View Article

(Apache) Multiple Virtual Hosts on Mac - beneberle

Instructions for enabling multiple virtual hosts on Mac OSX. Based on default Apple Apache install. If you don't want to be manually changing these files, checkout the very slick GUI application -...

View Article

(PHP) Wordpress Browser Detection Function - beneberle

Place in your functions.php file and call it in your theme like this:

View Article

(Bash) Delete SVN Files - beneberle

delete all svn files recursive

View Article


(Bash) Recursively chmod directories or files - beneberle

This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only. find . -type d -exec chmod 755 {} \; Similarly, the following will chmod all files only...

View Article

(PHP) See the full path of current page - beneberle

View Article


(PHP) Debug a variable - beneberle

When working in PHP I sometimes want to know exactly what is in a variable. This is easy enough to find out, but having this function around it is even easier, as it includes the HTML pre tag making...

View Article

(PHP) Display Wordpress tags as list items - beneberle

View Article


(Other) joomla dbdump - beneberle

This will create the perfect database dump on the shell commandline of a Joomla 1.5 website. Run this command when you're in the root of the website.

View Article

(PHP) Login Class - beneberle

View Article

(CSS) Clear floats without structural markup - beneberle

".clearfix" is the container that holds all of your floated elements. Works in all browsers that support "float" and "clear".

View Article
Browsing all 35 articles
Browse latest View live




Latest Images