<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 06:37:43 +0000</lastBuildDate>
    <item>
      <title>(Bash) Convert Apple .plist file to from XML / binary - stiobhart</title>
      <link>https://snipplr.com/view/60213/convert-apple-plist-file-to-from-xml--binary</link>
      <description>&lt;p&gt;A pair of handy terminal commands for converting Apple .plist preference files from binary to XML format [allowing for easy editing with a text editor] and then back to binary again, afterwards.&lt;/p&gt;</description>
      <pubDate>Wed, 26 Oct 2011 19:30:16 UTC</pubDate>
      <guid>https://snipplr.com/view/60213/convert-apple-plist-file-to-from-xml--binary</guid>
    </item>
    <item>
      <title>(CSS) CSS - rounded corners - stiobhart</title>
      <link>https://snipplr.com/view/49720/css--rounded-corners</link>
      <description>&lt;p&gt;at least until HTML5 unifies all this crap into one tag, this helps me remember the three concurrent versions we need to use to cover all bases.&lt;/p&gt;</description>
      <pubDate>Sat, 26 Feb 2011 08:19:43 UTC</pubDate>
      <guid>https://snipplr.com/view/49720/css--rounded-corners</guid>
    </item>
    <item>
      <title>(CSS) CSS - drop shadow - stiobhart</title>
      <link>https://snipplr.com/view/49719/css--drop-shadow</link>
      <description>&lt;p&gt;CSS box shadow syntax - just because i can never remember the order of the attributes, off the top of my head!&lt;/p&gt;</description>
      <pubDate>Sat, 26 Feb 2011 08:02:07 UTC</pubDate>
      <guid>https://snipplr.com/view/49719/css--drop-shadow</guid>
    </item>
    <item>
      <title>(Bash) OSX - enable disable spotlight indexing - stiobhart</title>
      <link>https://snipplr.com/view/16424/osx--enable-disable-spotlight-indexing</link>
      <description>&lt;p&gt;how to enable or disable spotlight disc indexing from the terminal. all the following work on root "/".  to specify another volume, put its path at end of the command&lt;/p&gt;</description>
      <pubDate>Mon, 29 Jun 2009 03:48:22 UTC</pubDate>
      <guid>https://snipplr.com/view/16424/osx--enable-disable-spotlight-indexing</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript - cuepoint listener for FLV video in flash - stiobhart</title>
      <link>https://snipplr.com/view/16301/actionscript--cuepoint-listener-for-flv-video-in-flash</link>
      <description>&lt;p&gt;basic structure of the actionscript function to listen for cuepoints embedded in a piece of FLV [flash video]. note: cuepoints need to have been embedded when the video was converted from its original format to FLV - prior to importing it into flash&lt;/p&gt;</description>
      <pubDate>Thu, 25 Jun 2009 09:01:16 UTC</pubDate>
      <guid>https://snipplr.com/view/16301/actionscript--cuepoint-listener-for-flv-video-in-flash</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript -  trace actions to get info about cuepoints in FLV video - stiobhart</title>
      <link>https://snipplr.com/view/16299/actionscript---trace-actions-to-get-info-about-cuepoints-in-flv-video</link>
      <description>&lt;p&gt;this is a handy snippet to trace the info about any cuepoints actionscript encounters, embedded in a FLV [flash video]. these traces will display the name, type and time of the cuepoint - in a nicely formatted list&lt;/p&gt;</description>
      <pubDate>Thu, 25 Jun 2009 08:55:37 UTC</pubDate>
      <guid>https://snipplr.com/view/16299/actionscript---trace-actions-to-get-info-about-cuepoints-in-flv-video</guid>
    </item>
    <item>
      <title>(ActionScript 3) actionscript 3  - button action [listen for multiple events.  eg. MOUSE_OVER, MOUSE_OUT, MOUSE_UP] - stiobhart</title>
      <link>https://snipplr.com/view/15830/actionscript-3---button-action-listen-for-multiple-events--eg-mouseover-mouseout-mouseup</link>
      <description>&lt;p&gt;actionscript3 version of a more complex button action, which responds to rollover, rollout and clicking.  this method uses one single 'buttonstuff' function with a  'switch'  inside which causes the function to respond differently, depending on what the user action on the button was.&#13;
&#13;
i think this is a neater way to do it than to have each individual 'addEventListener' trigger a separate function.&#13;
&#13;
in actionscript3, button actions can no longer be attached to the buttons themselves or called from the main timeline. you need to put an 'addEventListener' in the timeline to 'listen' for interaction with the button and then call an appropriate function to deal with that action.&#13;
&#13;
the button needs to have an instance name. in this case it is called 'stupidbutton'&lt;/p&gt;</description>
      <pubDate>Thu, 11 Jun 2009 06:44:00 UTC</pubDate>
      <guid>https://snipplr.com/view/15830/actionscript-3---button-action-listen-for-multiple-events--eg-mouseover-mouseout-mouseup</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript 3  - button action [listen for a single event.  eg. MOUSE_UP] - stiobhart</title>
      <link>https://snipplr.com/view/15829/actionscript-3---button-action-listen-for-a-single-event--eg-mouseup</link>
      <description>&lt;p&gt;actionscript3 version of the basic button action. in actionscript3,  button actions can no longer be attached to the buttons themselves or called from the main timeline.  you need to put an 'addEventListener' in the timeline to 'listen' for interaction with the button and then call an appropriate function to deal with that action.&#13;
&#13;
the button needs to have an instance name.  in this case it is called 'stupidbutton'&lt;/p&gt;</description>
      <pubDate>Thu, 11 Jun 2009 06:27:12 UTC</pubDate>
      <guid>https://snipplr.com/view/15829/actionscript-3---button-action-listen-for-a-single-event--eg-mouseup</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript - button action [to attach directly to button] - stiobhart</title>
      <link>https://snipplr.com/view/15827/actionscript--button-action-to-attach-directly-to-button</link>
      <description>&lt;p&gt;basic actionscript button action that can be attached directly to a button on the stage.  this will NOT work in actionscript 3, which does not allow actionscript to be attached directly onto buttons.&#13;
&#13;
make sure you're attaching this action to a button and not to a keyframe on the timeline.  the actions window should say "actions - button" when you open it.  if it says "actions - frame" you're trying to attach this action to the timeline and flash will blow a fuse!&lt;/p&gt;</description>
      <pubDate>Thu, 11 Jun 2009 05:45:59 UTC</pubDate>
      <guid>https://snipplr.com/view/15827/actionscript--button-action-to-attach-directly-to-button</guid>
    </item>
    <item>
      <title>(Bash) openSSH - server commands - stiobhart</title>
      <link>https://snipplr.com/view/15655/openssh--server-commands</link>
      <description>&lt;p&gt;commands for starting, stopping etc openSSH&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 17:46:25 UTC</pubDate>
      <guid>https://snipplr.com/view/15655/openssh--server-commands</guid>
    </item>
    <item>
      <title>(Bash) *nix - tar create and expand archives - stiobhart</title>
      <link>https://snipplr.com/view/15650/nix--tar-create-and-expand-archives</link>
      <description>&lt;p&gt;commands for dealing with tar files&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 17:43:20 UTC</pubDate>
      <guid>https://snipplr.com/view/15650/nix--tar-create-and-expand-archives</guid>
    </item>
    <item>
      <title>(Bash) *nix - tar create and expand archives - stiobhart</title>
      <link>https://snipplr.com/view/15649/nix--tar-create-and-expand-archives</link>
      <description>&lt;p&gt;commands for dealing with tar files&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 17:43:19 UTC</pubDate>
      <guid>https://snipplr.com/view/15649/nix--tar-create-and-expand-archives</guid>
    </item>
    <item>
      <title>(Bash) *nix - find and change - stiobhart</title>
      <link>https://snipplr.com/view/15646/nix--find-and-change</link>
      <description>&lt;p&gt;find all files owned by xxx and change them to be owned by yyy&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 17:34:11 UTC</pubDate>
      <guid>https://snipplr.com/view/15646/nix--find-and-change</guid>
    </item>
    <item>
      <title>(Bash) *nix - change user's home directory - stiobhart</title>
      <link>https://snipplr.com/view/15642/nix--change-users-home-directory</link>
      <description>&lt;p&gt;change user's home directory&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 17:32:19 UTC</pubDate>
      <guid>https://snipplr.com/view/15642/nix--change-users-home-directory</guid>
    </item>
    <item>
      <title>(Apache) apache2 - enabling and disabling sites - stiobhart</title>
      <link>https://snipplr.com/view/15626/apache2--enabling-and-disabling-sites</link>
      <description>&lt;p&gt;enable and disable sites and modules in apache 2&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 11:29:48 UTC</pubDate>
      <guid>https://snipplr.com/view/15626/apache2--enabling-and-disabling-sites</guid>
    </item>
    <item>
      <title>(MySQL) mySQL - granting access permissions - stiobhart</title>
      <link>https://snipplr.com/view/15625/mysql--granting-access-permissions</link>
      <description>&lt;p&gt;granting DB specific and general access priveleges from the CLI&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 11:24:31 UTC</pubDate>
      <guid>https://snipplr.com/view/15625/mysql--granting-access-permissions</guid>
    </item>
    <item>
      <title>(MySQL) mySQL - database backup commands - stiobhart</title>
      <link>https://snipplr.com/view/15624/mysql--database-backup-commands</link>
      <description>&lt;p&gt;CLI commands for backing up mySQL database&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 11:23:02 UTC</pubDate>
      <guid>https://snipplr.com/view/15624/mysql--database-backup-commands</guid>
    </item>
    <item>
      <title>(Bash) UNB - file permissions - stiobhart</title>
      <link>https://snipplr.com/view/15622/unb--file-permissions</link>
      <description>&lt;p&gt;permissions for various folders in UNB installation&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 11:16:36 UTC</pubDate>
      <guid>https://snipplr.com/view/15622/unb--file-permissions</guid>
    </item>
    <item>
      <title>(Bash) *nix symbolic link - stiobhart</title>
      <link>https://snipplr.com/view/15621/nix-symbolic-link</link>
      <description>&lt;p&gt;making a symbolic link&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 11:14:08 UTC</pubDate>
      <guid>https://snipplr.com/view/15621/nix-symbolic-link</guid>
    </item>
    <item>
      <title>(Bash) *nix - basic commands - stiobhart</title>
      <link>https://snipplr.com/view/15620/nix--basic-commands</link>
      <description>&lt;p&gt;some basic *nix terminal commands&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 11:10:46 UTC</pubDate>
      <guid>https://snipplr.com/view/15620/nix--basic-commands</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript - load in XML [with attached  stylesheet info] - stiobhart</title>
      <link>https://snipplr.com/view/15617/actionscript--load-in-xml-with-attached--stylesheet-info</link>
      <description>&lt;p&gt;load in XML and style the text via CSS&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 10:44:55 UTC</pubDate>
      <guid>https://snipplr.com/view/15617/actionscript--load-in-xml-with-attached--stylesheet-info</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript - date object - stiobhart</title>
      <link>https://snipplr.com/view/15616/actionscript--date-object</link>
      <description>&lt;p&gt;actionscript date object and some date calculations&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 10:39:50 UTC</pubDate>
      <guid>https://snipplr.com/view/15616/actionscript--date-object</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript - paypal button in flash - stiobhart</title>
      <link>https://snipplr.com/view/15615/actionscript--paypal-button-in-flash</link>
      <description>&lt;p&gt;code to implement a paypal button in flash&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 10:34:29 UTC</pubDate>
      <guid>https://snipplr.com/view/15615/actionscript--paypal-button-in-flash</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript - sorting [with an external javascript] - stiobhart</title>
      <link>https://snipplr.com/view/15614/actionscript--sorting-with-an-external-javascript</link>
      <description>&lt;p&gt;an external javascript sort function, which you can import into flash to help sort arrays of objects. include the script thus:&#13;
&#13;
#include "objSort.js"&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 10:29:05 UTC</pubDate>
      <guid>https://snipplr.com/view/15614/actionscript--sorting-with-an-external-javascript</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript - object introspection - stiobhart</title>
      <link>https://snipplr.com/view/15613/actionscript--object-introspection</link>
      <description>&lt;p&gt;this will loop through an object and get all its properties&lt;/p&gt;</description>
      <pubDate>Sun, 07 Jun 2009 10:23:29 UTC</pubDate>
      <guid>https://snipplr.com/view/15613/actionscript--object-introspection</guid>
    </item>
    <item>
      <title>(Bash) ubuntu - ID ports &amp; running services - stiobhart</title>
      <link>https://snipplr.com/view/15604/ubuntu--id-ports--running-services</link>
      <description>&lt;p&gt;identify listening ports and services running on these ports&lt;/p&gt;</description>
      <pubDate>Sat, 06 Jun 2009 11:51:57 UTC</pubDate>
      <guid>https://snipplr.com/view/15604/ubuntu--id-ports--running-services</guid>
    </item>
    <item>
      <title>(Bash) apt-get completely uninstall a package - stiobhart</title>
      <link>https://snipplr.com/view/15603/aptget-completely-uninstall-a-package</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 06 Jun 2009 11:13:16 UTC</pubDate>
      <guid>https://snipplr.com/view/15603/aptget-completely-uninstall-a-package</guid>
    </item>
    <item>
      <title>(ActionScript 3) actionscript3 -  trace actions to get info about cuepoints in FLV video - stiobhart</title>
      <link>https://snipplr.com/view/15599/actionscript3---trace-actions-to-get-info-about-cuepoints-in-flv-video</link>
      <description>&lt;p&gt;this is a handy snippet to trace the info about any cuepoints actionscript encounters, embedded in a FLV [flash video].  these traces will display the name, type and time of the cuepoint - in a nicely formatted list&lt;/p&gt;</description>
      <pubDate>Sat, 06 Jun 2009 06:47:17 UTC</pubDate>
      <guid>https://snipplr.com/view/15599/actionscript3---trace-actions-to-get-info-about-cuepoints-in-flv-video</guid>
    </item>
    <item>
      <title>(ActionScript) actionscript switch statement - stiobhart</title>
      <link>https://snipplr.com/view/15598/actionscript-switch-statement</link>
      <description>&lt;p&gt;shows the basic structure of a switch statement. switches are useful when you want to respond to a series of possible  values that a variable might have, without having to write a shitload of  "if(blah blah){do blah}" code which, as we know soon  ends up as curly bracket spaghetti!&lt;/p&gt;</description>
      <pubDate>Sat, 06 Jun 2009 06:26:07 UTC</pubDate>
      <guid>https://snipplr.com/view/15598/actionscript-switch-statement</guid>
    </item>
    <item>
      <title>(ActionScript 3) import necessary  actionscript to work with FLV  &amp; metadata [ie. cuepoints] - stiobhart</title>
      <link>https://snipplr.com/view/15597/import-necessary--actionscript-to-work-with-flv---metadata-ie-cuepoints</link>
      <description>&lt;p&gt;this code loads in the necessary actionscript classes for dealing with FLV [flash video] and metadata [in this case cuepoints].  this needs to be loaded right at the beginning of your code, so flash knows how to handle cuepoints embedded in FLV [flash video] files.&lt;/p&gt;</description>
      <pubDate>Sat, 06 Jun 2009 06:07:56 UTC</pubDate>
      <guid>https://snipplr.com/view/15597/import-necessary--actionscript-to-work-with-flv---metadata-ie-cuepoints</guid>
    </item>
    <item>
      <title>(ActionScript 3) actionscript cuepoint listener for FLV video in flash - stiobhart</title>
      <link>https://snipplr.com/view/15596/actionscript-cuepoint-listener-for-flv-video-in-flash</link>
      <description>&lt;p&gt;basic structure of the actionscript function to listen for cuepoints embedded in a piece of FLV [flash video]. note: cuepoints need to have been embedded when the video was converted from its original format to FLV - prior to importing it into flash&lt;/p&gt;</description>
      <pubDate>Sat, 06 Jun 2009 05:59:41 UTC</pubDate>
      <guid>https://snipplr.com/view/15596/actionscript-cuepoint-listener-for-flv-video-in-flash</guid>
    </item>
    <item>
      <title>(Other) ubuntu version check - stiobhart</title>
      <link>https://snipplr.com/view/15595/ubuntu-version-check</link>
      <description>&lt;p&gt;prob works on other linuces too!&lt;/p&gt;</description>
      <pubDate>Sat, 06 Jun 2009 05:51:30 UTC</pubDate>
      <guid>https://snipplr.com/view/15595/ubuntu-version-check</guid>
    </item>
  </channel>
</rss>
