<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - kossmoss</title>
<link>http://snipplr.com/users/kossmoss</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 14 Feb 2012 00:55:43 GMT</pubDate>
<item>
<title>(Bash) Getting a GPG KEY for apt-get at Debian/Ubuntu systems</title>
<link>http://snipplr.com/view/54967/getting-a-gpg-key-for-aptget-at-debianubuntu-systems/</link>
<description><![CDATA[ <p>change KEY to key code you get at error message</p> ]]></description>
<pubDate>Tue, 07 Jun 2011 23:35:52 GMT</pubDate>
<guid>http://snipplr.com/view/54967/getting-a-gpg-key-for-aptget-at-debianubuntu-systems/</guid>
</item>
<item>
<title>(Bash) Delete site temporary files older than 1 day</title>
<link>http://snipplr.com/view/39320/delete-site-temporary-files-older-than-1-day/</link>
<description><![CDATA[ <p>Change path to your site temporary files dir (there are many files like sess_*) and add it at daily crontab</p> ]]></description>
<pubDate>Thu, 19 Aug 2010 23:32:04 GMT</pubDate>
<guid>http://snipplr.com/view/39320/delete-site-temporary-files-older-than-1-day/</guid>
</item>
<item>
<title>(Bash) Show only big files and directories at current directory and subdirs</title>
<link>http://snipplr.com/view/35890/show-only-big-files-and-directories-at-current-directory-and-subdirs/</link>
<description><![CDATA[ <p>1st shows only files and directories bigger than 1 Megabyte
2nd shows only files and directories bigger than 100 Megabyte</p> ]]></description>
<pubDate>Sat, 19 Jun 2010 02:09:24 GMT</pubDate>
<guid>http://snipplr.com/view/35890/show-only-big-files-and-directories-at-current-directory-and-subdirs/</guid>
</item>
<item>
<title>(JavaScript) Modular grid in bookmarklet</title>
<link>http://snipplr.com/view/35204/modular-grid-in-bookmarklet/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 25 May 2010 22:03:29 GMT</pubDate>
<guid>http://snipplr.com/view/35204/modular-grid-in-bookmarklet/</guid>
</item>
<item>
<title>(Bash) Copy directory structure (without files)</title>
<link>http://snipplr.com/view/33638/copy-directory-structure-without-files/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 30 Apr 2010 04:22:55 GMT</pubDate>
<guid>http://snipplr.com/view/33638/copy-directory-structure-without-files/</guid>
</item>
<item>
<title>(JavaScript) Alternative image output if user have Flash turned off</title>
<link>http://snipplr.com/view/26151/alternative-image-output-if-user-have-flash-turned-off/</link>
<description><![CDATA[ <p>Also we can use HTTP_ACCEPT</p> ]]></description>
<pubDate>Fri, 08 Jan 2010 16:55:10 GMT</pubDate>
<guid>http://snipplr.com/view/26151/alternative-image-output-if-user-have-flash-turned-off/</guid>
</item>
<item>
<title>(CSS) Cool CSS way to make left- or right-aligned (but not "styled" or "classed") images look pretty with no HTML change.</title>
<link>http://snipplr.com/view/14216/cool-css-way-to-make-left-or-rightaligned-but-not-styled-or-classed-images-look-pretty-with-no-html-change/</link>
<description><![CDATA[ <p>When we can't or won't change the code of image tag with align attribute, but no 'style="margin: 0 10px 10px 0;' or 'hspace=10px' (IMHO, hspace makes bad looking layout in most cases) code within  (just pure  code), we can use simple CSS rules for such an images to make them good looking.</p> ]]></description>
<pubDate>Mon, 20 Apr 2009 19:19:11 GMT</pubDate>
<guid>http://snipplr.com/view/14216/cool-css-way-to-make-left-or-rightaligned-but-not-styled-or-classed-images-look-pretty-with-no-html-change/</guid>
</item>
<item>
<title>(PHP) Replace all the links except local - For redirecting</title>
<link>http://snipplr.com/view/13606/replace-all-the-links-except-local--for-redirecting/</link>
<description><![CDATA[ <p>You can get hostname from script environment - getenv("HTTP_HOST")
(?!'.$host.') matches URLs always except local links</p> ]]></description>
<pubDate>Mon, 30 Mar 2009 22:08:34 GMT</pubDate>
<guid>http://snipplr.com/view/13606/replace-all-the-links-except-local--for-redirecting/</guid>
</item>
<item>
<title>(PHP) Replace specified link tag in text</title>
<link>http://snipplr.com/view/13552/replace-specified-link-tag-in-text/</link>
<description><![CDATA[ <p>Affects  tags for links starting with $link
Example: LinkReplacer ($text, 'http://www.snipplr.com') affects to
Snipplr
and Snipplr Blog</p> ]]></description>
<pubDate>Sun, 29 Mar 2009 10:29:08 GMT</pubDate>
<guid>http://snipplr.com/view/13552/replace-specified-link-tag-in-text/</guid>
</item>
<item>
<title>(PHP) Soft text cutting (don't break words!)</title>
<link>http://snipplr.com/view/13332/soft-text-cutting-dont-break-words/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 20 Mar 2009 21:01:51 GMT</pubDate>
<guid>http://snipplr.com/view/13332/soft-text-cutting-dont-break-words/</guid>
</item>
<item>
<title>(PHP) Tag closing for HTML text pieces</title>
<link>http://snipplr.com/view/13331/tag-closing-for-html-text-pieces/</link>
<description><![CDATA[ <p>closes opened tags in text piece.
original code slightly modified to supress PHP warnings

NOTE: need to fix the order of closing tags to get standards compliance</p> ]]></description>
<pubDate>Fri, 20 Mar 2009 20:59:06 GMT</pubDate>
<guid>http://snipplr.com/view/13331/tag-closing-for-html-text-pieces/</guid>
</item>
<item>
<title>(HTML) Navigation arrows  for large pages</title>
<link>http://snipplr.com/view/11267/navigation-arrows--for-large-pages/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 17 Jan 2009 09:18:35 GMT</pubDate>
<guid>http://snipplr.com/view/11267/navigation-arrows--for-large-pages/</guid>
</item>
<item>
<title>(Apache) 301 Permalink Redirect from address without www to same address with www</title>
<link>http://snipplr.com/view/11262/301-permalink-redirect-from-address-without-www-to-same-address-with-www/</link>
<description><![CDATA[ <p>canonical redirect at .htaccess</p> ]]></description>
<pubDate>Sat, 17 Jan 2009 01:51:06 GMT</pubDate>
<guid>http://snipplr.com/view/11262/301-permalink-redirect-from-address-without-www-to-same-address-with-www/</guid>
</item>
<item>
<title>(CSS) Cool Web 2.0 font to display dynamic text</title>
<link>http://snipplr.com/view/9814/cool-web-20-font-to-display-dynamic-text/</link>
<description><![CDATA[ <p>Cool font for use in web 2.0 sites</p> ]]></description>
<pubDate>Sun, 16 Nov 2008 09:15:43 GMT</pubDate>
<guid>http://snipplr.com/view/9814/cool-web-20-font-to-display-dynamic-text/</guid>
</item>
<item>
<title>(Other) Online users in footer 4 PLigg</title>
<link>http://snipplr.com/view/6681/online-users-in-footer-4-pligg/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 12 Jun 2008 22:17:35 GMT</pubDate>
<guid>http://snipplr.com/view/6681/online-users-in-footer-4-pligg/</guid>
</item>
<item>
<title>(Other) Creating a new page in Pligg</title>
<link>http://snipplr.com/view/6680/creating-a-new-page-in-pligg/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 12 Jun 2008 22:16:01 GMT</pubDate>
<guid>http://snipplr.com/view/6680/creating-a-new-page-in-pligg/</guid>
</item>
<item>
<title>(HTML) Centered block with unknown width</title>
<link>http://snipplr.com/view/6640/centered-block-with-unknown-width/</link>
<description><![CDATA[ <p>Applications:
1. Centered block with unknown width
2. Simple block which can have float style (f.e. horizontal menu)</p> ]]></description>
<pubDate>Tue, 10 Jun 2008 09:06:09 GMT</pubDate>
<guid>http://snipplr.com/view/6640/centered-block-with-unknown-width/</guid>
</item>
</channel>
</rss>
