Snippets
v2
Languages
Apache Log
Bash
HTML
Javascript
PHP
SQL
My Snippets
Login
Register
Member: tsucharoku
Stats
Registered:
30th March, 2009
Last Login:
30th March, 2009
Submitted Snippets:
1
Comments Posted:
0
Contact tsucharoku
Submitted Snippets
Update All SVN checkouts with one command
Bash
Recursive Addition of files to SVN
Bash
Search all file contents recursively
Bash
Remove Thumbs.db files from a Directory recursively
Bash
Remove SVN data from a Directory recursively
Bash
PHP Lint Checker
Bash
Count the number of Grep Matches in files
Bash
Find files recursively, ignoring SVN data
Bash
Execute a command in the background
PHP
jQuery: Attaching Functions to Dom Nodes
Javascript
start
HTML
Restrict .svn Directories with Apache Config (.htaccess)
Apache Log
Javascript Packer
PHP
Import a Gzipped Mysql Dump file
Bash
Mount a SMB share in Redhat/Centos
Bash
Implode an Array only for non-empty values
PHP
Truncate a long string and add Ellipsis
PHP
Check Field data before exporting to CSV format
PHP
Format a Filesize from the bytes
PHP
Generate a Random String of any length
PHP
Convert Hex Colour codes to their RGB values
PHP
Get the Filename part of a Path from a String
Javascript
Extend Prototype with more DOM functions
Javascript
Password Strength Check Function
Javascript
Password Strength Check Function
PHP
Disable Enter Key Within Forms
Javascript
Bubblesort
PHP
Decoding HTML Entities
PHP
Convert minutes to hours
PHP
Find matching HTML tags (greedy)
PHP
Getting the scrollbar width in pixels
Javascript
Counting Records from 3 tables, 2 of which are joined together by a common data element
SQL
Counting records across tables
SQL
Select Data from Left Join that doesn't exist in b
SQL
Select Data from Left Join
SQL
Preloading Images
Javascript
AutoExecute UPDATE with ADODB
PHP
Get the true IP address of a visitor every time
PHP
Use a Button as a link to another page
HTML
Select SQL with ADODB
PHP
Execute SQL with ADODB
PHP
Generate a random string of any length
Javascript
Check if an element is visible to the user
Javascript
Remove a class name from an element
Javascript
Add a class name to an element
Javascript
Event Listener Cross Browser
Javascript
getElementsByTagName Cross Browse
Javascript
Check if one radio option was chosen
Javascript
Focus and select text in an Input field
Javascript
Hide an Element using CSS Style
Javascript
Show a hidden element using CSS Style
Javascript
Search for an element UP the DOM tree
Javascript
Only submit a form once
Javascript
Jump to a location depending on a question
Javascript
Trim Whitespace from Strings
Javascript
innerHtml Cross Browser
Javascript
getElementById Cross Browser
Javascript
Remove All Children from a Node
Javascript
Popup Window that is centered on screen
PHP
Emulate Magic Quotes On
PHP
Highlight Search Terms in Text
PHP
Limit a string to a certain character length grace
PHP
Convert Smart Quotes back to normal
PHP
Filter out HTML code from String
PHP
Readfile over internet connection
PHP
Remove extension from a filename
PHP
Get Filename from full file path
PHP
Get Extension of a Filename
PHP
Convert bytes to Textual Format
PHP
Generate URL Safe Page Name
PHP
Get Intelligent description from Filename
PHP
Generate a Safe Filename from string
PHP
Append and Prepend a string
PHP
Addslashes on Arrays
PHP
Stripslashes on Arrays
PHP
Email address validator
PHP
Strip all characters out that are not numeric
PHP
Number of Lines in a file using PHP
PHP
Apache Status in XML using PHP
PHP
Mysql-status in XML
PHP