gdvickery


Member since 03/02/2009

Name: Gavin Vickery

gdvickery

Location: British Columbia, Canada

Website: http://geekforbrains.com

9 snippets

413 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

gdvickery's Recent Snippets



« Prev 1 Next »
Dumps the contents of a mysql database to a .sql file named by the current date.
0 71 posted 9 years ago by gdvickery
This function takes a list of string and sorts them based on their similarity. The percent at which they match can be defined in the second parameter (default 75%).
0 116 posted 10 years ago by gdvickery
This command will count the number of files in the given directory and sub-directories.
0 192 posted 10 years ago by gdvickery
This is a function that will show a progress bar of the given percentage. Useful when performing time consuming tasks.
1 113 posted 10 years ago by gdvickery
Connects to a web page, reads in the content and strips whitespace.
2 119 posted 11 years ago by gdvickery
These 4 lines of code can be used to extract and return all links from any page using regex patterns. If links are found, an array is returned, else boolean false is returned.
4 165 posted 11 years ago by gdvickery
This method is a bit faster and more reliable then using the "explode" method. Works with PHP 4.0.3 and up.
4 119 posted 11 years ago by gdvickery
« Prev 1 Next »