zachharkey


Member since 02/15/2008

Name: Zach Harkey

Location: Atlanta

Website: http://harkeydesign.com

45 snippets

7 profile views

1 Comment(s) Posted

View their favorites

Profile

All time reputation: 84

Achievement

first submission:submitting first snipplet

zachharkey's Recent Snippets



« Prev 1 2
  1. FAV

    Modified Drupal 6 .htaccess + HTML5 Boilerplate tweaks

    Apache saved by 8 people 8 views posted 9 years ago zachharkey
  2. FAV

    Change Drupal file directory path

    MySQL saved by 3 people 2 views posted 9 years ago zachharkey
  3. FAV

    CKEditor CSS overrides for kama skin

    CSS 3 views posted 9 years ago zachharkey
  4. FAV

    Drupal theme preprocess - add classes

    PHP saved by 3 people 2 views posted 9 years ago zachharkey
  5. FAV

    Convert Drupal content fields from Markdown to Full HTML for display in CKEditor

    While these examples convert Markdown fields to HTML for use in CKEditor, the same method can be used to render the filters of any input_format.
    PHP 4 views posted 9 years ago zachharkey
  6. FAV

    Drupal htaccess php_values (increase limits)

    Other 2 views posted 9 years ago zachharkey
  7. FAV

    Add Drupal page template suggestions based on path alias.

    PHP saved by 4 people 2 views posted 10 years ago zachharkey
  8. FAV

    Programmatically modify

    Other 2 views posted 10 years ago zachharkey
  9. FAV

    CVS Checkout Drupal 6.15

    Other saved by 1 person 1 views posted 10 years ago zachharkey
  10. FAV

    Recursively remove all .svn directories

    Works as advertised on OS X.
    Bash 1 views posted 10 years ago zachharkey
  11. FAV

    Plesk Event Handler for New Subdomain

    Other 2 views posted 10 years ago zachharkey
  12. FAV

    CSS Scaffolding Bookmarklet

    Save as the target of your link. Change http://assets.harkeydesign.net/css/diagnose.css to your own hosted version if you want guaranteed permanence.
    JavaScript saved by 1 person 3 views posted 10 years ago zachharkey
  13. FAV

    Use drush sql dump to dump the database to the file system.

    Bash 5 views posted 10 years ago zachharkey
  14. FAV

    Use drush sql dump to dump the database to the file system.

    Bash saved by 5 people 8 views posted 10 years ago zachharkey
  15. FAV

    Force gzip compression for all relevant file types.

    These tweaks improved my Yslow score from F to B.
    Apache saved by 4 people 1 views posted 10 years ago zachharkey
  16. FAV

    Use drush to dump a space separated list of enabled modules to a text file.

    Dumps a space separated list of enabled modules to a text file mods_enabled.txt
    Bash saved by 1 person 3 views posted 10 years ago zachharkey
  17. FAV

    Set drupal cronjob via command line

    Bash saved by 4 people 2 views posted 10 years ago zachharkey
  18. FAV

    Change ownership of all files owned by user1 to user2

    <http://www.commandlinefu.com/commands/using/chown>
    Bash 4 views posted 10 years ago zachharkey
  19. FAV

    MySQL queries for performing bulk operations on Drupal nodes

    Administering more than one node at a time through the Drupal admin interface is like drinking a milkshake through a buckytube. [How to use phpmyadmin and sql to perform mass operations on nodes](http://drupal.org/node/134535)
    MySQL saved by 1 person 3 views posted 10 years ago zachharkey
  20. FAV

    MySQL queries for bulk editing Drupal url aliases

    In case you don't feel like loading 3 pages to edit a single url alias.
    MySQL saved by 1 person 4 views posted 10 years ago zachharkey
  21. FAV

    Resize images from the command line

    Bash 2 views posted 10 years ago zachharkey
  22. FAV

    Jquery SlideToggle Sidebar Categories

    Other 3 views posted 10 years ago zachharkey
  23. FAV

    FCKEditor config snippets

    Replace and append the following settings in modules/fckeditor/fckeditor.config.js. Has to be re applied after each update.
    JavaScript 2 views posted 10 years ago zachharkey
  24. FAV

    Add unique IDs to Drupal menu items

    Place the following function in your theme's template.php
    PHP saved by 5 people 5 views posted 10 years ago zachharkey
  25. FAV

    Custom FCKeditor config (full)

    Replacement config settings for the Drupal FCKeditor module. Replace contents of .../modules/fckeditor/fckeditor.config.js
    JavaScript 3 views posted 10 years ago zachharkey
  26. FAV

    Fix for Drupal 4 incompatibility with PHP 5

    PHP 2 views posted 10 years ago zachharkey
  27. FAV

    Rewrite Drupal's File system paths to remove redundant sites/example.com (alternate settings.php method)

    Alternate to <a href="http://snipplr.com/view/133530">this method</a>. Have not yet tested. In settings.php, put this code:
    PHP 1 views posted 10 years ago zachharkey
  28. FAV

    Rewrite Drupal's File system paths to remove redundant sites/example.com

    My [original post](http://drupal.org/node/84895) languished for years before someone pointed out a possible solution [here](http://drupal.org/node/53705). The following user-submitted code may be useful in redirecting URLs for the /files directory...
    Apache 2 views posted 10 years ago zachharkey
  29. FAV

    Selectively updating Drupal's pathauto aliases based on patterns

    We wanted to change all /films/example style paths to /film/example (basically remove the 's'). Here was the query that worked:
    MySQL saved by 1 person 5 views posted 10 years ago zachharkey
  30. FAV

    Restore Drupal 4 default input filters

    MySQL 5 views posted 10 years ago zachharkey
« Prev 1 2