mattkenefick


Member since 05/19/2008

15 snippets

8210 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

mattkenefick's Recent Snippets



« Prev 1 Next »
I should've wrote this function a LONGGG time ago. foreach($myArray, function($k, $v){ console.log($k + " :: " + $v); });
3 1676 posted 15 years ago by mattkenefick
Returns an array of files that match a search term in a certain directory.
1 1260 posted 15 years ago by mattkenefick
Gets all meta data keys/values for a particular post
1 1826 posted 15 years ago by mattkenefick
Removes trailing slashes from URLs, forces all urls to index.php
0 1166 posted 15 years ago by mattkenefick
find . | xargs grep 'string' -sl The -s is for summary and won't display warning messages such as grep: ./directory-name: Is a directory The -l is for list, so we get just the filename and not all instances of the match displayed in the results...
2 1968 posted 16 years ago by mattkenefick
Simple enough.
3 1811 posted 17 years ago by mattkenefick
I deleted the old one by accident trying to edit it.
9 3037 posted 17 years ago by mattkenefick
Unzip files with PHP.
1 1615 posted 17 years ago by mattkenefick
Expands a MySQL / Gzipped file and executes it's queries.
0 1483 posted 17 years ago by mattkenefick
Usage:
1 1236 posted 17 years ago by mattkenefick
Usage coming soon.
6 1786 posted 17 years ago by mattkenefick
Paging class. Details on use to come later.
8 1784 posted 17 years ago by mattkenefick
0 1121 posted 17 years ago by mattkenefick
Recursively trace an array or object in Actionscript.
0 1230 posted 17 years ago by mattkenefick
Just to include and implement the SWFObject to an HTML body from a generic "/js/" directory with some basic varibles. [applies to OLD version of SWF Object]
1 1095 posted 17 years ago by mattkenefick
« Prev 1 Next »