<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - webonomic</title>
<link>http://snipplr.com/users/webonomic</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 14 Feb 2012 16:37:54 GMT</pubDate>
<item>
<title>(SAS) Convert SAS dataset to Text file</title>
<link>http://snipplr.com/view/60841/convert-sas-dataset-to-text-file/</link>
<description><![CDATA[ <p>This SAS macro will convert a dataset to a text file</p> ]]></description>
<pubDate>Tue, 15 Nov 2011 14:20:12 GMT</pubDate>
<guid>http://snipplr.com/view/60841/convert-sas-dataset-to-text-file/</guid>
</item>
<item>
<title>(SAS) Exporting Multiple Data Sets to One Spreadsheet</title>
<link>http://snipplr.com/view/50839/exporting-multiple-data-sets-to-one-spreadsheet/</link>
<description><![CDATA[ <p>It's easy to export several data sets to one Excel spreadsheet with each data set in a separate worksheet.This example exports three SAS data sets (work.region, work.county and work.district) to the same spreadsheet (results.xls).</p> ]]></description>
<pubDate>Sat, 19 Mar 2011 07:32:29 GMT</pubDate>
<guid>http://snipplr.com/view/50839/exporting-multiple-data-sets-to-one-spreadsheet/</guid>
</item>
<item>
<title>(SAS) Store a zero value in place of missing when reporting numeric values</title>
<link>http://snipplr.com/view/47703/store-a-zero-value-in-place-of-missing-when-reporting-numeric-values/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 22 Jan 2011 10:20:23 GMT</pubDate>
<guid>http://snipplr.com/view/47703/store-a-zero-value-in-place-of-missing-when-reporting-numeric-values/</guid>
</item>
<item>
<title>(Ruby) Strip characters from between two delimiters</title>
<link>http://snipplr.com/view/42947/strip-characters-from-between-two-delimiters/</link>
<description><![CDATA[ <p>This regular expression used in Ruby will extract the characters between single or multi-character delimiters.  It helps when you have strange delimiters such as \":delimeter1: text I want to grab goes here :delimiter2:\"</p> ]]></description>
<pubDate>Tue, 26 Oct 2010 04:00:58 GMT</pubDate>
<guid>http://snipplr.com/view/42947/strip-characters-from-between-two-delimiters/</guid>
</item>
<item>
<title>(SAS) Create a new variable based on the first non missing value from a list of variables</title>
<link>http://snipplr.com/view/41119/create-a-new-variable-based-on-the-first-non-missing-value-from-a-list-of-variables/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 29 Sep 2010 02:55:10 GMT</pubDate>
<guid>http://snipplr.com/view/41119/create-a-new-variable-based-on-the-first-non-missing-value-from-a-list-of-variables/</guid>
</item>
<item>
<title>(SAS) Retrieve the physical location of a dynamic dataset, file or folder in SAS</title>
<link>http://snipplr.com/view/28985/retrieve-the-physical-location-of-a-dynamic-dataset-file-or-folder-in-sas/</link>
<description><![CDATA[ <p>The PATHNAME function can be used to retrieve the physical location of a file or directory. This can be especially useful when reassigning engines for a libref using the Macro Language.

Here we want to write a Version 6 copy of the data set CLASS to the same location as the MYDATA library, however in order to issue a new LIBNAME statement we need to know the location of the MYDATA library. The PATHNAME function returns this location and the new libref (MYDAT6) can be created.</p> ]]></description>
<pubDate>Fri, 26 Feb 2010 16:04:44 GMT</pubDate>
<guid>http://snipplr.com/view/28985/retrieve-the-physical-location-of-a-dynamic-dataset-file-or-folder-in-sas/</guid>
</item>
<item>
<title>(Bash) Create ISO files in Linux</title>
<link>http://snipplr.com/view/26623/create-iso-files-in-linux/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 17 Jan 2010 16:22:30 GMT</pubDate>
<guid>http://snipplr.com/view/26623/create-iso-files-in-linux/</guid>
</item>
<item>
<title>(Ruby) Ruby vcard maker</title>
<link>http://snipplr.com/view/26218/ruby-vcard-maker/</link>
<description><![CDATA[ <p>Requires vPim package.</p> ]]></description>
<pubDate>Sun, 10 Jan 2010 13:27:32 GMT</pubDate>
<guid>http://snipplr.com/view/26218/ruby-vcard-maker/</guid>
</item>
<item>
<title>(Ruby) Ruby script to save a string to a file.</title>
<link>http://snipplr.com/view/26217/ruby-script-to-save-a-string-to-a-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 10 Jan 2010 13:23:39 GMT</pubDate>
<guid>http://snipplr.com/view/26217/ruby-script-to-save-a-string-to-a-file/</guid>
</item>
<item>
<title>(Bash) Send email using mail command on linux</title>
<link>http://snipplr.com/view/24239/send-email-using-mail-command-on-linux/</link>
<description><![CDATA[ <p>This command will email the contents of emailbody.txt to somebody@domain.com with the subject My subject line.</p> ]]></description>
<pubDate>Thu, 03 Dec 2009 23:56:13 GMT</pubDate>
<guid>http://snipplr.com/view/24239/send-email-using-mail-command-on-linux/</guid>
</item>
<item>
<title>(Bash) Loop through Array in Bash</title>
<link>http://snipplr.com/view/24230/loop-through-array-in-bash/</link>
<description><![CDATA[ <p>This creates an array of various linux shell names, loops through the array and ouputs a file called shell_locations.txt showing where the shells are located on the linux system.</p> ]]></description>
<pubDate>Thu, 03 Dec 2009 20:45:39 GMT</pubDate>
<guid>http://snipplr.com/view/24230/loop-through-array-in-bash/</guid>
</item>
<item>
<title>(SAS) Show all possible values in table regardless of whether or not the value exists</title>
<link>http://snipplr.com/view/18831/show-all-possible-values-in-table-regardless-of-whether-or-not-the-value-exists/</link>
<description><![CDATA[ <p>Here are two solutions when creating a table to show responses to a questionnaire where respondents rate items in various categories.  In this case, the responses range from 0 to 5 (N/A, Very Poor, Poor, Average, Good, Very Good).</p> ]]></description>
<pubDate>Tue, 25 Aug 2009 13:19:46 GMT</pubDate>
<guid>http://snipplr.com/view/18831/show-all-possible-values-in-table-regardless-of-whether-or-not-the-value-exists/</guid>
</item>
<item>
<title>(Bash) Backup your MBR on Linux</title>
<link>http://snipplr.com/view/13173/backup-your-mbr-on-linux/</link>
<description><![CDATA[ <p>About the dd command:

dd if= of= bs=("USUALLY" some power of 2, not less than 512 bytes(ie, 512, 1024, 2048, 4096, 8192, 16384[/b], but can be ANY reasonable number.) skip= seek= conv=.

Source is the data being read. Target is where the data gets written.

Warning!! If you reverse the source and target, you can wipe out a lot of data. This feature has inspired the nickname "dd" Data Destroyer.
Warning!! Caution should be observed when using dd to duplicate encrypted partitions.</p> ]]></description>
<pubDate>Tue, 17 Mar 2009 00:11:55 GMT</pubDate>
<guid>http://snipplr.com/view/13173/backup-your-mbr-on-linux/</guid>
</item>
<item>
<title>(SAS) Create Access Database from SAS</title>
<link>http://snipplr.com/view/12382/create-access-database-from-sas/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 19 Feb 2009 12:08:21 GMT</pubDate>
<guid>http://snipplr.com/view/12382/create-access-database-from-sas/</guid>
</item>
<item>
<title>(SAS) Reorder Variables in SAS</title>
<link>http://snipplr.com/view/11852/reorder-variables-in-sas/</link>
<description><![CDATA[ <p>Use the Retain Statement to reorder variables.  No data is lost and the variable attributes are kept.  Works for SAS 8.2 and up.</p> ]]></description>
<pubDate>Wed, 04 Feb 2009 17:44:56 GMT</pubDate>
<guid>http://snipplr.com/view/11852/reorder-variables-in-sas/</guid>
</item>
<item>
<title>(SAS) SAS Array Colon Modifier</title>
<link>http://snipplr.com/view/11581/sas-array-colon-modifier/</link>
<description><![CDATA[ <p>Use the colon : modifier to build an array.
The colon is like a wildcard.  In this case, anything that starts with ash.
SAS Arrays hold variable names which can be used during tedious procedures such as conditional loops.</p> ]]></description>
<pubDate>Tue, 27 Jan 2009 17:05:01 GMT</pubDate>
<guid>http://snipplr.com/view/11581/sas-array-colon-modifier/</guid>
</item>
<item>
<title>(SAS) Delete observations containing characters and keep numeric values only</title>
<link>http://snipplr.com/view/11572/delete-observations-containing-characters-and-keep-numeric-values-only/</link>
<description><![CDATA[ <p>How to delete observations containing characters (e.g. 92z89 or abcd) and only keep the ones with numeric values.</p> ]]></description>
<pubDate>Tue, 27 Jan 2009 12:28:57 GMT</pubDate>
<guid>http://snipplr.com/view/11572/delete-observations-containing-characters-and-keep-numeric-values-only/</guid>
</item>
<item>
<title>(Bash) Unique Background Wallpapers for Workspaces on Linux</title>
<link>http://snipplr.com/view/11349/unique-background-wallpapers-for-workspaces-on-linux/</link>
<description><![CDATA[ <p>Bash shell scripts to control wallpaper backgrounds when switching between Ubuntu workspaces. (Other distributions can use it too).

Take the below 2 scripts to make 2 separate files.  Use gconf-editor to attach keybindings to run_command_1 and run_command_2.  Set command_1 and command_2 to point to the appropriate files.  

See the URL for more details.</p> ]]></description>
<pubDate>Tue, 20 Jan 2009 11:50:37 GMT</pubDate>
<guid>http://snipplr.com/view/11349/unique-background-wallpapers-for-workspaces-on-linux/</guid>
</item>
<item>
<title>(SAS) Get SAS Version</title>
<link>http://snipplr.com/view/10638/get-sas-version/</link>
<description><![CDATA[ <p>Print the version of SAS to your logs using any of these 3 macros</p> ]]></description>
<pubDate>Mon, 22 Dec 2008 13:32:25 GMT</pubDate>
<guid>http://snipplr.com/view/10638/get-sas-version/</guid>
</item>
<item>
<title>(SAS) Convert values from character to numeric or from numeric to character</title>
<link>http://snipplr.com/view/10383/convert-values-from-character-to-numeric-or-from-numeric-to-character/</link>
<description><![CDATA[ <p>Original Source from http://support.sas.com/kb/24/590.html</p> ]]></description>
<pubDate>Wed, 10 Dec 2008 15:46:11 GMT</pubDate>
<guid>http://snipplr.com/view/10383/convert-values-from-character-to-numeric-or-from-numeric-to-character/</guid>
</item>
</channel>
</rss>
