HTML5 Video

Install OS X pkg from command line

sudo installer -pkg package_name.pkg -target /

Technology:

Customizing Bash

SASS

AirPrint

Apple Remote Desktop

Send UNIX Command

  • Get Hardware UUID from the client:
    system_profiler|grep "Hardware UUID" | awk '{print $3}'
  • Repair disk permissions:
    diskutil repairPermissions /
  • Open Source CalDAV and CardDAV Servers

    Transfer iPhone data back to a Mac

    Stop image bandwidth theft

    Prevent other websites from stealing your bandwidth by including your images in their pages.

    • Apache
      This example services up a different image instead:

      RewriteEngine On
      RewriteCond %{HTTP_REFERER} !^http://(www\.)?example\.com [NC]
      RewriteCond %{HTTP_REFERER} !^$
      RewriteCond %{HTTP_REFERER} ^http://.*$
      RewriteRule \.(jpe?g|gif|bmp|png)$ /media/nohotlinks.png [L]
    • Lighttpd
      $HTTP["referer"] !~ "^(http://example\.com|http://www\.example\.com)" {
        $HTTP["referer"] != "" {
          url.access-deny = ( ".jpg", ".jpeg", ".png", ".gif", ".pdf" )
        }
      }

    Managing Code Snippets

    Utilities for managing snippets of code

    Technology:

    Pages

    Subscribe to Production Monkeys RSS

    Recent Updates