HTML5 Video

Install OS X pkg from command line

sudo installer -pkg package_name.pkg -target /


Customizing Bash



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



    Subscribe to Production Monkeys RSS

    Recent Updates

    • 0 sec ago
    • 0 sec ago
      PHP 5.3 adjustments to configure switches.
    • PHP
      0 sec ago
      Update from PHP 5.3 to 5.5
    • 0 sec ago
      CentOS 6 revisions
    • 0 sec ago