<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/data</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 15:57:57 GMT</pubDate>
<item>
<title>(C++) lista_pokazivac.h - idurlen1</title>
<link>http://snipplr.com/view/69070/listapokazivach/</link>
<description><![CDATA[ <p>zadatak iz SP-a</p> ]]></description>
<pubDate>Tue, 11 Dec 2012 22:37:47 GMT</pubDate>
<guid>http://snipplr.com/view/69070/listapokazivach/</guid>
</item>
<item>
<title>(C++) Glavni program - idurlen1</title>
<link>http://snipplr.com/view/68788/glavni-program/</link>
<description><![CDATA[ <p>glavni program</p> ]]></description>
<pubDate>Wed, 28 Nov 2012 04:22:58 GMT</pubDate>
<guid>http://snipplr.com/view/68788/glavni-program/</guid>
</item>
<item>
<title>(C++) lista_polje.h - idurlen1</title>
<link>http://snipplr.com/view/68786/listapoljeh/</link>
<description><![CDATA[ <p>datoteka zaglavlja lista_polje.h</p> ]]></description>
<pubDate>Wed, 28 Nov 2012 04:15:12 GMT</pubDate>
<guid>http://snipplr.com/view/68786/listapoljeh/</guid>
</item>
<item>
<title>(C++) ATP Lista - glavni program - milan_pavlovic</title>
<link>http://snipplr.com/view/68255/atp-lista--glavni-program/</link>
<description><![CDATA[ <p>Glavno programsko rješenje zadatka izrade programa za evidenciju životinja u trgovini kućnim ljubimcima. 
Fakultet organizacije i informatike Varaždin
Kolegij: Strukture podataka</p> ]]></description>
<pubDate>Sun, 11 Nov 2012 06:42:43 GMT</pubDate>
<guid>http://snipplr.com/view/68255/atp-lista--glavni-program/</guid>
</item>
<item>
<title>(XSLT) How to create a sharepoint data form web part that uses only client side JavaScript - rumremix</title>
<link>http://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript/</link>
<description><![CDATA[ <p>With jQuery and SPServices, we have very powerful tools for accessing and manipulating Sharepoint data and precisiely contolling the presentation, entirely from the client side. But such solutions generally need to be either hard-coded into pages or require cumbersome content editor pastes or includes. The advantage of packaging a solution as a web part is that it is a breeze to drop it anywhere on the site. Using the technique below you can package up a purely HTML/JavaScript solution as a web part, combining the benefits of both.

1. Create the HTML/JS content that you would like to turn into a web part in the manner you are most comfortable with
2. Create a dummy page in the site to initially hold our xslt
3. Open site in Sharepoint Designer
4. Find the page created in step 2, detach it from the page layout (by right clicking it), and open it for editing.
5. Place your cursor before the closing < /ContentTemplate > or closing < /asp:Content > tag
6. Paste the code in the source block below.
7. Find 
Title="DataView 1" 
in the code you pasted and replace it with
Title="MoreUsefulWebPartName" 
8. Replace the contents between the opening and closing ![CDATA tags with the HTML and/or JavaScript you created in step 1
9. Select all of the new code, starting with and including the opening WebPartPages:DataFormWebPart tag and ending with and including the closing /WebPartPages:DataFormWebPart tag
10. Switch from code view to designer view. You may ignore any warning you see about missing data sources.
11. Click the web part tab
12. In the "Save Web part" section, select the manner in which you would like to save the new web part.
13. Give the web part a useful name
14. Once you make the new web part available in the web part gallery, users may now add your javascript solution to any page as they would any other web part.</p> ]]></description>
<pubDate>Wed, 26 Sep 2012 05:06:47 GMT</pubDate>
<guid>http://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript/</guid>
</item>
<item>
<title>(JavaScript) datos formatavimas siuntimui į CRM WS - ptomas</title>
<link>http://snipplr.com/view/66183/datos-formatavimas-siuntimui--crm-ws/</link>
<description><![CDATA[ <p>CRM lauke esančios datos formatavimas skiriasi nuo tos, kurią reikia paduoti web serviso, kuris įrašo duomenis į CRM. Kodo dalis suformatuoja datą WS suprantama forma</p> ]]></description>
<pubDate>Tue, 17 Jul 2012 19:48:45 GMT</pubDate>
<guid>http://snipplr.com/view/66183/datos-formatavimas-siuntimui--crm-ws/</guid>
</item>
<item>
<title>(PHP) Data Inspector - mrtonix</title>
<link>http://snipplr.com/view/64918/data-inspector/</link>
<description><![CDATA[ <p>-Write code in the first page before a question is answered.</p> ]]></description>
<pubDate>Fri, 18 May 2012 01:02:54 GMT</pubDate>
<guid>http://snipplr.com/view/64918/data-inspector/</guid>
</item>
<item>
<title>(JavaScript) Increment/decrement input fields with values that have units - jatkins</title>
<link>http://snipplr.com/view/64331/incrementdecrement-input-fields-with-values-that-have-units/</link>
<description><![CDATA[ <p>Released into the public domain.</p> ]]></description>
<pubDate>Tue, 03 Apr 2012 20:37:27 GMT</pubDate>
<guid>http://snipplr.com/view/64331/incrementdecrement-input-fields-with-values-that-have-units/</guid>
</item>
<item>
<title>(PHP) DataObject class - osccar</title>
<link>http://snipplr.com/view/64045/dataobject-class/</link>
<description><![CDATA[ <p>Abstract class from which other classes can be derived to handle database access and data retrieval.
Constants for database connection (DB_DSN, DB_USERNAME, etc.) must be set in another php file (eg. config.php)</p> ]]></description>
<pubDate>Tue, 20 Mar 2012 07:04:03 GMT</pubDate>
<guid>http://snipplr.com/view/64045/dataobject-class/</guid>
</item>
<item>
<title>(Python) Python filter() function usage - andrewjsledge</title>
<link>http://snipplr.com/view/62072/python-filter-function-usage/</link>
<description><![CDATA[ <p>Shows usage of the Python filter() function</p> ]]></description>
<pubDate>Thu, 22 Dec 2011 03:58:15 GMT</pubDate>
<guid>http://snipplr.com/view/62072/python-filter-function-usage/</guid>
</item>
<item>
<title>(iPhone) Easy function to get the path to the documents directory for data persistance - codeRefiner</title>
<link>http://snipplr.com/view/61316/easy-function-to-get-the-path-to-the-documents-directory-for-data-persistance/</link>
<description><![CDATA[ <p>Here is a simple function that will return the path to the documents directory so you can store data in it later</p> ]]></description>
<pubDate>Wed, 30 Nov 2011 06:24:50 GMT</pubDate>
<guid>http://snipplr.com/view/61316/easy-function-to-get-the-path-to-the-documents-directory-for-data-persistance/</guid>
</item>
<item>
<title>(JavaScript) Capturing Relative Accelerometer Tilt - parkerkrhoyt</title>
<link>http://snipplr.com/view/60528/capturing-relative-accelerometer-tilt/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Nov 2011 02:47:19 GMT</pubDate>
<guid>http://snipplr.com/view/60528/capturing-relative-accelerometer-tilt/</guid>
</item>
<item>
<title>(MySQL) MySQL Data Pull to Localhost - nedf23</title>
<link>http://snipplr.com/view/60351/mysql-data-pull-to-localhost/</link>
<description><![CDATA[ <p>What it does
This snippet is used to pull data from one server to another.  I primarily use it to get the latest data from our production to our development environments.  The first part of the command is where the data is pulling from and the part after the "|" is where it is going to.  In this case, it's localhost.

How to use it
Run from command prompt or terminal.  Replace brackets with values.</p> ]]></description>
<pubDate>Sun, 30 Oct 2011 17:19:22 GMT</pubDate>
<guid>http://snipplr.com/view/60351/mysql-data-pull-to-localhost/</guid>
</item>
<item>
<title>(Symfony) Build all / Load all Data for Symfony - Meander365</title>
<link>http://snipplr.com/view/59988/build-all--load-all-data-for-symfony/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 20 Oct 2011 13:56:32 GMT</pubDate>
<guid>http://snipplr.com/view/59988/build-all--load-all-data-for-symfony/</guid>
</item>
<item>
<title>(PHP) SessCacher: Class for caching data through php session - TimoZachi</title>
<link>http://snipplr.com/view/58628/sesscacher-class-for-caching-data-through-php-session/</link>
<description><![CDATA[ <p>This is a custom class for caching results through php's session. The class can be used to cache anything, but i use it to cache mysql results so i don't have to get all the time the results by querying MySQL (wich may take a long time, especialy if  MySQL's server is not the same as PHP's server), increasing enormously performance. Since the database is in constant actualization, there is an optional parameter to limit the maximun number of times you want to reuse the cached data. The class is well commented with an example on how to use it bellow.</p> ]]></description>
<pubDate>Tue, 13 Sep 2011 05:47:46 GMT</pubDate>
<guid>http://snipplr.com/view/58628/sesscacher-class-for-caching-data-through-php-session/</guid>
</item>
<item>
<title>(PHP) Request data from apprequest facebook api - serialk89</title>
<link>http://snipplr.com/view/57517/request-data-from-apprequest-facebook-api/</link>
<description><![CDATA[ <p>Rescatamos los datos que pasamos por apprequest .</p> ]]></description>
<pubDate>Tue, 02 Aug 2011 16:56:51 GMT</pubDate>
<guid>http://snipplr.com/view/57517/request-data-from-apprequest-facebook-api/</guid>
</item>
<item>
<title>(PHP) Request data from URL iframe Facebook app - serialk89</title>
<link>http://snipplr.com/view/57508/request-data-from-url-iframe-facebook-app/</link>
<description><![CDATA[ <p>Rescato variables desde un iframe con $signed_request</p> ]]></description>
<pubDate>Tue, 02 Aug 2011 13:06:14 GMT</pubDate>
<guid>http://snipplr.com/view/57508/request-data-from-url-iframe-facebook-app/</guid>
</item>
<item>
<title>(ActionScript 3) Bitmap Data - zackattack27</title>
<link>http://snipplr.com/view/57007/bitmap-data/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 22 Jul 2011 03:46:23 GMT</pubDate>
<guid>http://snipplr.com/view/57007/bitmap-data/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Load and access JSON data example - adrianparr</title>
<link>http://snipplr.com/view/56283/as3-load-and-access-json-data-example/</link>
<description><![CDATA[ <p>For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib</p> ]]></description>
<pubDate>Fri, 08 Jul 2011 05:33:20 GMT</pubDate>
<guid>http://snipplr.com/view/56283/as3-load-and-access-json-data-example/</guid>
</item>
<item>
<title>(PHP) Simple inline PHP alternating rows - FatFolderDesigner</title>
<link>http://snipplr.com/view/56219/simple-inline-php-alternating-rows/</link>
<description><![CDATA[ <p>Traditionally when you have lost lists of dat you want to alternate rows for usability. The first thing everybody makes to fix this is a simple if statement loop, but this adds a number of lines and is hardly a clean solution. Additionally it required you to have a “counter” or “switch” variable, usually placed at the bottom of the loop, overall very messy.

I had a boss who thought he was on the cutting edge by compressing the traditional if statement into a shorthand version (saving 2-3 lines of code), but the system was still using a $class variable and still requires a counting or switch variable. It was still a mess and added clutter to the code.

Earlier today I was working on outputting client records forafully customized application. Wanting to avoid such messy code as I looked for a better solution and with a little tweaking and playing I came up with this.

I've also included a simple example of how it's used in action. If you have any questions or concerns let me know either here or at the link (there's some more info about this method there too if your intreated).</p> ]]></description>
<pubDate>Thu, 07 Jul 2011 12:24:00 GMT</pubDate>
<guid>http://snipplr.com/view/56219/simple-inline-php-alternating-rows/</guid>
</item>
</channel>
</rss>