gdvickery


Member since 03/02/2009

Name: Gavin Vickery

gdvickery

Location: British Columbia, Canada

Website: http://geekforbrains.com

9 snippets

3420 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 789 posted 14 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 1021 posted 14 years ago by gdvickery
This command will count the number of files in the given directory and sub-directories.
0 1373 posted 14 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 1013 posted 14 years ago by gdvickery
Connects to a web page, reads in the content and strips whitespace.
2 932 posted 15 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 1309 posted 15 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 957 posted 15 years ago by gdvickery
« Prev 1 Next »