Snippets
v2
Languages
Bash
HTML
Javascript
PHP
SQL
My Snippets
Login
Register
Latest Snippets
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
1
2
3
4