<?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 09:06:25 +0000</lastBuildDate>
    <item>
      <title>(Bash) Linux command (like cat) to read a specified quantity of characters - lamebollock</title>
      <link>https://snipplr.com/view/55135/linux-command-like-cat-to-read-a-specified-quantity-of-characters</link>
      <description>&lt;p&gt;Is there a command like cat in linux which can return a specified quantity of characters from a file?&lt;/p&gt;</description>
      <pubDate>Sat, 11 Jun 2011 00:03:27 UTC</pubDate>
      <guid>https://snipplr.com/view/55135/linux-command-like-cat-to-read-a-specified-quantity-of-characters</guid>
    </item>
    <item>
      <title>(CSS) Wrapping Long URLs and Text Content with CSS - lamebollock</title>
      <link>https://snipplr.com/view/52317/wrapping-long-urls-and-text-content-with-css</link>
      <description>&lt;p&gt;To wrap long URLs, strings of text, and other content, just apply this carefully crafted chunk of CSS code to any block-level element (e.g., perfect for &lt;pre&gt; tags).&lt;/p&gt;</description>
      <pubDate>Tue, 19 Apr 2011 21:41:06 UTC</pubDate>
      <guid>https://snipplr.com/view/52317/wrapping-long-urls-and-text-content-with-css</guid>
    </item>
    <item>
      <title>(CSS) When and How to Visually Hide Content - lamebollock</title>
      <link>https://snipplr.com/view/51354/when-and-how-to-visually-hide-content</link>
      <description>&lt;p&gt;Better way to hide content whilst still making it available to&lt;/p&gt;</description>
      <pubDate>Thu, 31 Mar 2011 03:18:41 UTC</pubDate>
      <guid>https://snipplr.com/view/51354/when-and-how-to-visually-hide-content</guid>
    </item>
    <item>
      <title>(jQuery) jQuery.getScript() does not cache â€“ Jamie Thompson - lamebollock</title>
      <link>https://snipplr.com/view/49050/jquerygetscript-does-not-cache--jamie-thompson</link>
      <description>&lt;p&gt;Cache control when pulling in scripts, redefined "getScript" function&lt;/p&gt;</description>
      <pubDate>Tue, 15 Feb 2011 21:18:57 UTC</pubDate>
      <guid>https://snipplr.com/view/49050/jquerygetscript-does-not-cache--jamie-thompson</guid>
    </item>
    <item>
      <title>(jQuery) Find closest previous sibling with class - lamebollock</title>
      <link>https://snipplr.com/view/47795/find-closest-previous-sibling-with-class</link>
      <description>&lt;p&gt;$('li.current_sub').prevAll("li.par_cat:first");&#13;
&#13;
Tested it with your markup:&#13;
&#13;
$('li.current_sub').prevAll("li.par_cat:first").text("woohoo");&#13;
&#13;
will fill up the closest previous li.par_cat with "woohoo".&lt;/p&gt;</description>
      <pubDate>Mon, 24 Jan 2011 22:04:58 UTC</pubDate>
      <guid>https://snipplr.com/view/47795/find-closest-previous-sibling-with-class</guid>
    </item>
    <item>
      <title>(CSS) Clearing a float container (:after method) - lamebollock</title>
      <link>https://snipplr.com/view/47022/clearing-a-float-container-after-method</link>
      <description>&lt;p&gt;When a float is contained within a container box that has a visible border or background, that float does not automatically force the container's bottom edge down as the float is made taller. Instead the float is ignored by the container and will hang down out of the container bottom like a flag. Those familiar only with Explorer for Windows may scratch their heads and say "That's not right!" True, IE/Win does enclose a float within a container 'automatically', but only if the container element happens to possess the MS-only quality called hasLayout.&#13;
&#13;
This site has other methods of achieving the same effect, [http://blogs.sitepoint.com/2005/02/26/simple-clearing-of-floats/](http://blogs.sitepoint.com/2005/02/26/simple-clearing-of-floats//) , depends on your scenario.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Jan 2011 03:38:11 UTC</pubDate>
      <guid>https://snipplr.com/view/47022/clearing-a-float-container-after-method</guid>
    </item>
    <item>
      <title>(Bash) Find and Replace with Sed - lamebollock</title>
      <link>https://snipplr.com/view/45593/find-and-replace-with-sed</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 11 Dec 2010 05:02:13 UTC</pubDate>
      <guid>https://snipplr.com/view/45593/find-and-replace-with-sed</guid>
    </item>
    <item>
      <title>(Bash) mplayer dump raw audio - lamebollock</title>
      <link>https://snipplr.com/view/45584/mplayer-dump-raw-audio</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 11 Dec 2010 01:11:50 UTC</pubDate>
      <guid>https://snipplr.com/view/45584/mplayer-dump-raw-audio</guid>
    </item>
    <item>
      <title>(CSS) Clearing a float container - lamebollock</title>
      <link>https://snipplr.com/view/45363/clearing-a-float-container</link>
      <description>&lt;p&gt;No need for markup&lt;/p&gt;</description>
      <pubDate>Tue, 07 Dec 2010 01:38:37 UTC</pubDate>
      <guid>https://snipplr.com/view/45363/clearing-a-float-container</guid>
    </item>
    <item>
      <title>(Bash) Set &amp; store audio levels - lamebollock</title>
      <link>https://snipplr.com/view/45103/set--store-audio-levels</link>
      <description>&lt;p&gt;Set audio using "alsamixer -c 0", store using "alsactl"&lt;/p&gt;</description>
      <pubDate>Wed, 01 Dec 2010 21:32:21 UTC</pubDate>
      <guid>https://snipplr.com/view/45103/set--store-audio-levels</guid>
    </item>
    <item>
      <title>(jQuery) Prevent default event action - lamebollock</title>
      <link>https://snipplr.com/view/44161/prevent-default-event-action</link>
      <description>&lt;p&gt;Description: If this method is called, the default action of the event will not be triggered.&#13;
&#13;
For example, clicked anchors will not take the browser to a new URL. We can use event.isDefaultPrevented() to determine if this method has been called by an event handler that was triggered by this event.&lt;/p&gt;</description>
      <pubDate>Mon, 15 Nov 2010 05:12:25 UTC</pubDate>
      <guid>https://snipplr.com/view/44161/prevent-default-event-action</guid>
    </item>
  </channel>
</rss>
