<?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>Tue, 09 Jun 2026 06:16:58 +0000</lastBuildDate>
    <item>
      <title>(Java) Operational System Validator - LucasRinaldi</title>
      <link>https://snipplr.com/view/67627/operational-system-validator</link>
      <description>&lt;p&gt;Check which operating system the program is running. The program explains itself.&lt;/p&gt;</description>
      <pubDate>Sat, 06 Oct 2012 02:45:25 UTC</pubDate>
      <guid>https://snipplr.com/view/67627/operational-system-validator</guid>
    </item>
    <item>
      <title>(Bash) Sourcing NVM, adding NVM Tab Completion and NPM Tab Completion - LucasRinaldi</title>
      <link>https://snipplr.com/view/67624/sourcing-nvm-adding-nvm-tab-completion-and-npm-tab-completion</link>
      <description>&lt;p&gt;This commands works considering that you are on a linux terminal. Change the variable $NVM_HOME to the path that your NVM is installed.&lt;/p&gt;</description>
      <pubDate>Fri, 05 Oct 2012 22:28:01 UTC</pubDate>
      <guid>https://snipplr.com/view/67624/sourcing-nvm-adding-nvm-tab-completion-and-npm-tab-completion</guid>
    </item>
    <item>
      <title>(Bash) Creating Link for Command Line Tools - LucasRinaldi</title>
      <link>https://snipplr.com/view/67182/creating-link-for-command-line-tools</link>
      <description>&lt;p&gt;You can change the 'PATHTOTOOL' and the 'PATHTOLINK', to use this command for a variety of tools&#13;
&#13;
'-s' is used to create a symbolic link (http://en.wikipedia.org/wiki/Symbolic_link).&lt;/p&gt;</description>
      <pubDate>Fri, 14 Sep 2012 10:16:12 UTC</pubDate>
      <guid>https://snipplr.com/view/67182/creating-link-for-command-line-tools</guid>
    </item>
    <item>
      <title>(JavaScript) Checking Type of Object - LucasRinaldi</title>
      <link>https://snipplr.com/view/66953/checking-type-of-object</link>
      <description>&lt;p&gt;'typeof' and 'instanceof' isn't a reliable method to find out the object class, so this is a function that does this in a more trustable way.&lt;/p&gt;</description>
      <pubDate>Thu, 30 Aug 2012 04:47:06 UTC</pubDate>
      <guid>https://snipplr.com/view/66953/checking-type-of-object</guid>
    </item>
    <item>
      <title>(Bash) Estimate File Size Usage - LucasRinaldi</title>
      <link>https://snipplr.com/view/66820/estimate-file-size-usage</link>
      <description>&lt;p&gt;Using:&#13;
- 'du' with -S for not including size of subdirectories, and -h is to see on human-readable form (changing bytes to gb or mb);&#13;
- 'sort' with -n for indexing comparing numerical string values, and -r to reverse the order of the sort;&#13;
- 'more' to see the output in parts.&lt;/p&gt;</description>
      <pubDate>Tue, 21 Aug 2012 01:05:50 UTC</pubDate>
      <guid>https://snipplr.com/view/66820/estimate-file-size-usage</guid>
    </item>
    <item>
      <title>(JavaScript) Separating URL Params - LucasRinaldi</title>
      <link>https://snipplr.com/view/66649/separating-url-params</link>
      <description>&lt;p&gt;It's a simple function to get the URL params, you can send the URL within the method parameters or you can use 'window.location.href' to get the actual URL.&#13;
&#13;
Obs: This only works for all the URL, if you just want to send the params (after the '?'),  you have to send a '?' before the params.&lt;/p&gt;</description>
      <pubDate>Sat, 11 Aug 2012 02:39:45 UTC</pubDate>
      <guid>https://snipplr.com/view/66649/separating-url-params</guid>
    </item>
    <item>
      <title>(JavaScript) Count with setTimeout - LucasRinaldi</title>
      <link>https://snipplr.com/view/66644/count-with-settimeout</link>
      <description>&lt;p&gt;Just a counter&lt;/p&gt;</description>
      <pubDate>Sat, 11 Aug 2012 00:33:59 UTC</pubDate>
      <guid>https://snipplr.com/view/66644/count-with-settimeout</guid>
    </item>
  </channel>
</rss>
