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

    • 2 years 2 days ago
    • 2 years 2 days ago
    • 2 years 4 days ago
      php 8.x
    • 2 years 6 days ago
      10.6.7
    • 2 years 1 week ago
      Drop Centos 5/6 stuff