mattkenefick


Member since 05/19/2008

15 snippets

15 profile views

1 Comment(s) Posted

View their favorites

Profile

All time reputation: 99

Achievement

first submission:submitting first snipplet

mattkenefick's Recent Snippets



« Prev 1 Next »
  1. FAV

    foreach | Javascript

    I should've wrote this function a LONGGG time ago. foreach($myArray, function($k, $v){ console.log($k + " :: " + $v); });
    JavaScript saved by 12 people 7 views posted 9 years ago mattkenefick
  2. FAV

    match_files_in_directory

    Returns an array of files that match a search term in a certain directory.
    PHP saved by 4 people 4 views posted 9 years ago mattkenefick
  3. FAV

    Wordpress | Get All Meta Data

    Gets all meta data keys/values for a particular post
    PHP saved by 4 people 7 views posted 9 years ago mattkenefick
  4. FAV

    Remove Trailing Slashes, Force Index

    Removes trailing slashes from URLs, forces all urls to index.php
    Apache 3 views posted 9 years ago mattkenefick
  5. FAV

    Linux: Find in Files

    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...
    Bash saved by 8 people 6 views posted 10 years ago mattkenefick
  6. FAV

    CSS Form Labels

    Simple enough.
    CSS saved by 27 people 11 views posted 11 years ago mattkenefick
  7. FAV

    PHP Class: MySQL DB Class

    I deleted the old one by accident trying to edit it.
    PHP saved by 144 people 36 views posted 11 years ago mattkenefick
  8. FAV

    PHP Class: Unzip files

    Unzip files with PHP.
    PHP saved by 4 people 11 views posted 11 years ago mattkenefick
  9. FAV

    PHP Class: Expand MySQL File

    Expands a MySQL / Gzipped file and executes it's queries.
    PHP 9 views posted 11 years ago mattkenefick
  10. FAV

    Javascript: Keyboard Capture

    Usage:
    JavaScript saved by 1 person 3 views posted 11 years ago mattkenefick
  11. FAV

    PHP Class: ImageUpload

    Usage coming soon.
    PHP saved by 54 people 15 views posted 11 years ago mattkenefick
  12. FAV

    PHP Class: Paging

    Paging class. Details on use to come later.
    PHP saved by 32 people 21 views posted 11 years ago mattkenefick
  13. FAV

    Array: Duplicate

    ActionScript 3 views posted 11 years ago mattkenefick
  14. FAV

    Print Recursive

    Recursively trace an array or object in Actionscript.
    ActionScript 3 views posted 11 years ago mattkenefick
  15. FAV

    Include / Implement SWFObject

    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]
    JavaScript saved by 4 people 2 views posted 11 years ago mattkenefick
« Prev 1 Next »