<?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 07:27:23 +0000</lastBuildDate>
    <item>
      <title>(PHP) function to obfuscate web text into random design - PietKeizer</title>
      <link>https://snipplr.com/view/334899/function-to-obfuscate-web-text-into-random-design</link>
      <description>&lt;p&gt;Function for obfuscate Text in html pages. good for making screenshot and mind data protection if needed. changes Text into many small divs with different bgcolor.&lt;/p&gt;</description>
      <pubDate>Fri, 01 Nov 2019 00:13:07 UTC</pubDate>
      <guid>https://snipplr.com/view/334899/function-to-obfuscate-web-text-into-random-design</guid>
    </item>
    <item>
      <title>(Other) Public Instagram User Scraper - martinson</title>
      <link>https://snipplr.com/view/173592/public-instagram-user-scraper</link>
      <description>&lt;p&gt;Hey guys,&#13;
&#13;
Sharing my diggernaut's scripts for web scraping, hope it will be useful for you.&#13;
&#13;
This is script for scraping user's accounts without logging in to instagram, so no risk. What you can get with it: all information about user (his full name, username, id, avatar, number of follows and followers, number of posts), information about his posts (url, image, number of likes, information about persons who liked, comments, caption). So you probably will be interested in getting not all posts but just lets say 10 (or 30) of most recent. You can adjust it with settings. You can also set mode for script, to simple or extended. In simple mode it will not retrieve list of persons who likes post and comments. It works faster and eats less bandwidth in this case.&#13;
&#13;
If you look into script (lines 5-9):&#13;
&#13;
    - type: fieldset&#13;
      fields:&#13;
      - user: somusername&#13;
&#13;
you can see settings you may adjust, instead of "someusername" you need to set username of instagram account you want to scrape.  You can set multiple users to scrape, you can need in this case add additional settings chunks, like below:&#13;
&#13;
    - type: fieldset&#13;
      fields:&#13;
      - user: somusername1&#13;
      - user: somusername2&lt;/p&gt;</description>
      <pubDate>Tue, 13 Sep 2016 22:46:11 UTC</pubDate>
      <guid>https://snipplr.com/view/173592/public-instagram-user-scraper</guid>
    </item>
    <item>
      <title>(PHP) Simple PDO Connection and select - snstro</title>
      <link>https://snipplr.com/view/92256/simple-pdo-connection-and-select</link>
      <description>&lt;p&gt;This is the basic code that you need to know to connect and list data with PDO.&#13;
Don't use de old method (mysql_connect and mysqli_connect) to connect and interact with databases.&lt;/p&gt;</description>
      <pubDate>Fri, 06 Mar 2015 02:32:03 UTC</pubDate>
      <guid>https://snipplr.com/view/92256/simple-pdo-connection-and-select</guid>
    </item>
    <item>
      <title>(C++) bstablo_glavni.cpp - ivan_uzarevic</title>
      <link>https://snipplr.com/view/87730/bstabloglavnicpp</link>
      <description>&lt;p&gt;Glavni program koji sluÅ¾i za izvedbu binarnoga stabla te rad sa funkcijama binarnoga stabla.&lt;/p&gt;</description>
      <pubDate>Mon, 19 Jan 2015 05:18:28 UTC</pubDate>
      <guid>https://snipplr.com/view/87730/bstabloglavnicpp</guid>
    </item>
    <item>
      <title>(C++) bstablo_pokazivaci.h - ivan_uzarevic</title>
      <link>https://snipplr.com/view/87729/bstablopokazivacih</link>
      <description>&lt;p&gt;Zaglavlje sa funkcijama, izvedenih pomoÄ‡u pokazivaÄa, za rad sa binarnim stablom&lt;/p&gt;</description>
      <pubDate>Mon, 19 Jan 2015 05:16:00 UTC</pubDate>
      <guid>https://snipplr.com/view/87729/bstablopokazivacih</guid>
    </item>
    <item>
      <title>(C++) bstablo_polje.h - ivan_uzarevic</title>
      <link>https://snipplr.com/view/87728/bstablopoljeh</link>
      <description>&lt;p&gt;Zaglavlje sa funkcijama, izvedenih pomoÄ‡u polja, za rad sa binarnim stablom&lt;/p&gt;</description>
      <pubDate>Mon, 19 Jan 2015 05:14:09 UTC</pubDate>
      <guid>https://snipplr.com/view/87728/bstablopoljeh</guid>
    </item>
    <item>
      <title>(C++) opcenito_stablo - ivan_uzarevic</title>
      <link>https://snipplr.com/view/87617/opcenitostablo</link>
      <description>&lt;p&gt;Program za izvoÄ‘enje opÄ‡enitog stabla (prvo dijete - sljedeÄ‡i brat) za 4. zadatak iz kolegija Strukture podataka&lt;/p&gt;</description>
      <pubDate>Mon, 19 Jan 2015 01:46:27 UTC</pubDate>
      <guid>https://snipplr.com/view/87617/opcenitostablo</guid>
    </item>
    <item>
      <title>(C++) binarno_stablo_pretrazivanja.h - igotepava</title>
      <link>https://snipplr.com/view/87520/binarnostablopretrazivanjah</link>
      <description>&lt;p&gt;Implementacija algoritma Binarno stablo pretraÅ¾ivanja.&lt;/p&gt;</description>
      <pubDate>Sun, 18 Jan 2015 06:48:41 UTC</pubDate>
      <guid>https://snipplr.com/view/87520/binarnostablopretrazivanjah</guid>
    </item>
    <item>
      <title>(C++) binarno_stablo_pokazivac.h - igotepava</title>
      <link>https://snipplr.com/view/87519/binarnostablopokazivach</link>
      <description>&lt;p&gt;Implementacija binarnog stabla pomoÄ‡u pokazivaÄa.&lt;/p&gt;</description>
      <pubDate>Sun, 18 Jan 2015 06:47:42 UTC</pubDate>
      <guid>https://snipplr.com/view/87519/binarnostablopokazivach</guid>
    </item>
    <item>
      <title>(C++) binarno_stablo_polje.h - igotepava</title>
      <link>https://snipplr.com/view/87518/binarnostablopoljeh</link>
      <description>&lt;p&gt;Implementacija binarnog stabla pomoÄ‡u polja.&lt;/p&gt;</description>
      <pubDate>Sun, 18 Jan 2015 06:46:34 UTC</pubDate>
      <guid>https://snipplr.com/view/87518/binarnostablopoljeh</guid>
    </item>
    <item>
      <title>(C++) ophodnja_stabla.h - igotepava</title>
      <link>https://snipplr.com/view/87517/ophodnjastablah</link>
      <description>&lt;p&gt;Implementacija ophodnje stabla: Inorder, Postorder, Preorder.&lt;/p&gt;</description>
      <pubDate>Sun, 18 Jan 2015 06:45:23 UTC</pubDate>
      <guid>https://snipplr.com/view/87517/ophodnjastablah</guid>
    </item>
    <item>
      <title>(C++) opcenito_stablo.h - igotepava</title>
      <link>https://snipplr.com/view/87516/opcenitostabloh</link>
      <description>&lt;p&gt;Implementacija opÄ‡enitog stabla pomoÄ‡u polja.&lt;/p&gt;</description>
      <pubDate>Sun, 18 Jan 2015 06:44:04 UTC</pubDate>
      <guid>https://snipplr.com/view/87516/opcenitostabloh</guid>
    </item>
    <item>
      <title>(Python) Analisar dados dos servidores do Governo Federal - torresbernardo</title>
      <link>https://snipplr.com/view/81577/analisar-dados-dos-servidores-do-governo-federal</link>
      <description>&lt;p&gt;Utiliza os dados do site:&#13;
http://www.portaltransparencia.gov.br/downloads/servidores.asp&#13;
&#13;
Escolha um mÃªs e ano, baixe o .zip, descompacte e na pasta descompactada, execute.&lt;/p&gt;</description>
      <pubDate>Mon, 17 Nov 2014 12:31:52 UTC</pubDate>
      <guid>https://snipplr.com/view/81577/analisar-dados-dos-servidores-do-governo-federal</guid>
    </item>
    <item>
      <title>(Python) SocketServer_Logging.py - JordanRowles</title>
      <link>https://snipplr.com/view/74193/socketserverloggingpy</link>
      <description>&lt;p&gt;These logging functions will be improved and added into the SocketServer_Server.py to log information from programs on machines on the same network, but not directly connected to each other.&lt;/p&gt;</description>
      <pubDate>Sat, 12 Apr 2014 01:27:29 UTC</pubDate>
      <guid>https://snipplr.com/view/74193/socketserverloggingpy</guid>
    </item>
    <item>
      <title>(Python) SocketServer_Client.py - JordanRowles</title>
      <link>https://snipplr.com/view/74192/socketserverclientpy</link>
      <description>&lt;p&gt;Client code for sending information to the logging server.&lt;/p&gt;</description>
      <pubDate>Sat, 12 Apr 2014 01:24:17 UTC</pubDate>
      <guid>https://snipplr.com/view/74192/socketserverclientpy</guid>
    </item>
    <item>
      <title>(Python) SocketServer_Server.py - JordanRowles</title>
      <link>https://snipplr.com/view/74191/socketserverserverpy</link>
      <description>&lt;p&gt;A server that receives information from programs (Name, DateTime, LogType, Data) and writes it to a file with the syntax:&#13;
LogFile_{program_name}_{ISO-Date}.log&lt;/p&gt;</description>
      <pubDate>Sat, 12 Apr 2014 01:19:38 UTC</pubDate>
      <guid>https://snipplr.com/view/74191/socketserverserverpy</guid>
    </item>
    <item>
      <title>(PHP) Creating and Parsing JSON Data in PHP - apphp-snippets</title>
      <link>https://snipplr.com/view/73510/creating-and-parsing-json-data-in-php</link>
      <description>&lt;p&gt;This code demonstrates how to create and parse the JSON data format of using array of PHP. It's a very simple code, that allows you to perform this task.&lt;/p&gt;</description>
      <pubDate>Mon, 27 Jan 2014 21:04:35 UTC</pubDate>
      <guid>https://snipplr.com/view/73510/creating-and-parsing-json-data-in-php</guid>
    </item>
    <item>
      <title>(C++) lista_pokazivac.h - idurlen1</title>
      <link>https://snipplr.com/view/69070/listapokazivach</link>
      <description>&lt;p&gt;zadatak iz SP-a&lt;/p&gt;</description>
      <pubDate>Tue, 11 Dec 2012 22:37:47 UTC</pubDate>
      <guid>https://snipplr.com/view/69070/listapokazivach</guid>
    </item>
    <item>
      <title>(C++) ATP Lista - glavni program - milan_pavlovic</title>
      <link>https://snipplr.com/view/68255/atp-lista--glavni-program</link>
      <description>&lt;p&gt;Glavno programsko rjeÅ¡enje zadatka izrade programa za evidenciju Å¾ivotinja u trgovini kuÄ‡nim ljubimcima. &#13;
Fakultet organizacije i informatike VaraÅ¾din&#13;
Kolegij: Strukture podataka&lt;/p&gt;</description>
      <pubDate>Sun, 11 Nov 2012 06:42:43 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript</link>
      <description>&lt;p&gt;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.&#13;
&#13;
1. Create the HTML/JS content that you would like to turn into a web part in the manner you are most comfortable with&#13;
2. Create a dummy page in the site to initially hold our xslt&#13;
3. Open site in Sharepoint Designer&#13;
4. Find the page created in step 2, detach it from the page layout (by right clicking it), and open it for editing.&#13;
5. Place your cursor before the closing &lt; /ContentTemplate &gt; or closing &lt; /asp:Content &gt; tag&#13;
6. Paste the code in the source block below.&#13;
7. Find &#13;
Title="DataView 1" &#13;
in the code you pasted and replace it with&#13;
Title="MoreUsefulWebPartName" &#13;
8. Replace the contents between the opening and closing ![CDATA tags with the HTML and/or JavaScript you created in step 1&#13;
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&#13;
10. Switch from code view to designer view. You may ignore any warning you see about missing data sources.&#13;
11. Click the web part tab&#13;
12. In the "Save Web part" section, select the manner in which you would like to save the new web part.&#13;
13. Give the web part a useful name&#13;
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.&lt;/p&gt;</description>
      <pubDate>Wed, 26 Sep 2012 05:06:47 UTC</pubDate>
      <guid>https://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript</guid>
    </item>
    <item>
      <title>(PHP) DataObject class - osccar</title>
      <link>https://snipplr.com/view/64045/dataobject-class</link>
      <description>&lt;p&gt;Abstract class from which other classes can be derived to handle database access and data retrieval.&#13;
Constants for database connection (DB_DSN, DB_USERNAME, etc.) must be set in another php file (eg. config.php)&lt;/p&gt;</description>
      <pubDate>Tue, 20 Mar 2012 07:04:03 UTC</pubDate>
      <guid>https://snipplr.com/view/64045/dataobject-class</guid>
    </item>
    <item>
      <title>(Python) Python filter() function usage - andrewjsledge</title>
      <link>https://snipplr.com/view/62072/python-filter-function-usage</link>
      <description>&lt;p&gt;Shows usage of the Python filter() function&lt;/p&gt;</description>
      <pubDate>Thu, 22 Dec 2011 03:58:15 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/61316/easy-function-to-get-the-path-to-the-documents-directory-for-data-persistance</link>
      <description>&lt;p&gt;Here is a simple function that will return the path to the documents directory so you can store data in it later&lt;/p&gt;</description>
      <pubDate>Wed, 30 Nov 2011 06:24:50 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/60528/capturing-relative-accelerometer-tilt</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 04 Nov 2011 02:47:19 UTC</pubDate>
      <guid>https://snipplr.com/view/60528/capturing-relative-accelerometer-tilt</guid>
    </item>
    <item>
      <title>(MySQL) MySQL Data Pull to Localhost - nedf23</title>
      <link>https://snipplr.com/view/60351/mysql-data-pull-to-localhost</link>
      <description>&lt;p&gt;&lt;h1&gt;What it does&lt;/h1&gt;&#13;
&lt;p&gt;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.&lt;/p&gt;&#13;
&#13;
&lt;h1&gt;How to use it&lt;/h1&gt;&#13;
&lt;p&gt;Run from command prompt or terminal.  Replace brackets with values.&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 30 Oct 2011 17:19:22 UTC</pubDate>
      <guid>https://snipplr.com/view/60351/mysql-data-pull-to-localhost</guid>
    </item>
    <item>
      <title>(Symfony) Build all / Load all Data for Symfony - Meander365</title>
      <link>https://snipplr.com/view/59988/build-all--load-all-data-for-symfony</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 20 Oct 2011 13:56:32 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/58628/sesscacher-class-for-caching-data-through-php-session</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Sep 2011 05:47:46 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/57517/request-data-from-apprequest-facebook-api</link>
      <description>&lt;p&gt;Rescatamos los datos que pasamos por apprequest .&lt;/p&gt;</description>
      <pubDate>Tue, 02 Aug 2011 16:56:51 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/57508/request-data-from-url-iframe-facebook-app</link>
      <description>&lt;p&gt;Rescato variables desde un iframe con $signed_request&lt;/p&gt;</description>
      <pubDate>Tue, 02 Aug 2011 13:06:14 UTC</pubDate>
      <guid>https://snipplr.com/view/57508/request-data-from-url-iframe-facebook-app</guid>
    </item>
    <item>
      <title>(ActionScript 3) AS3 Load and access JSON data example - adrianparr</title>
      <link>https://snipplr.com/view/56283/as3-load-and-access-json-data-example</link>
      <description>&lt;p&gt;For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib&lt;/p&gt;</description>
      <pubDate>Fri, 08 Jul 2011 05:33:20 UTC</pubDate>
      <guid>https://snipplr.com/view/56283/as3-load-and-access-json-data-example</guid>
    </item>
    <item>
      <title>(PHP) Simple inline PHP alternating rows - FatFolderDesigner</title>
      <link>https://snipplr.com/view/56219/simple-inline-php-alternating-rows</link>
      <description>&lt;p&gt;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.&#13;
&#13;
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.&#13;
&#13;
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.&#13;
&#13;
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).&lt;/p&gt;</description>
      <pubDate>Thu, 07 Jul 2011 12:24:00 UTC</pubDate>
      <guid>https://snipplr.com/view/56219/simple-inline-php-alternating-rows</guid>
    </item>
    <item>
      <title>(C#) Using code to read data from model - RichardCustance</title>
      <link>https://snipplr.com/view/55825/using-code-to-read-data-from-model</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 28 Jun 2011 17:56:01 UTC</pubDate>
      <guid>https://snipplr.com/view/55825/using-code-to-read-data-from-model</guid>
    </item>
    <item>
      <title>(Objective C) Core Data Import from Plist - mattneary</title>
      <link>https://snipplr.com/view/55710/core-data-import-from-plist</link>
      <description>&lt;p&gt;Just change the filename "courses" to that of your own and the entity name "Course" to your own.&lt;/p&gt;</description>
      <pubDate>Sun, 26 Jun 2011 07:20:13 UTC</pubDate>
      <guid>https://snipplr.com/view/55710/core-data-import-from-plist</guid>
    </item>
    <item>
      <title>(jQuery) jQuery Ui Autocomplete, Custom ajax data - Cwerther</title>
      <link>https://snipplr.com/view/55406/jquery-ui-autocomplete-custom-ajax-data</link>
      <description>&lt;p&gt;This is made for a webservice that outputs varaiable data according to user input, ajax is called each time there is a change on the input.&lt;/p&gt;</description>
      <pubDate>Fri, 17 Jun 2011 18:15:02 UTC</pubDate>
      <guid>https://snipplr.com/view/55406/jquery-ui-autocomplete-custom-ajax-data</guid>
    </item>
    <item>
      <title>(jQuery) CARGAR CONTENIDO,FUNCION, ETC CON AJAX, JQUERY Y PHP - serialk89</title>
      <link>https://snipplr.com/view/55333/cargar-contenidofuncion-etc-con-ajax-jquery-y-php</link>
      <description>&lt;p&gt;Enviar datos por medio de $.ajax, propidad de jquery que permite ocupar ajax con php en jquery, se puede ocupar para cualquier cosa&lt;/p&gt;</description>
      <pubDate>Fri, 17 Jun 2011 01:22:24 UTC</pubDate>
      <guid>https://snipplr.com/view/55333/cargar-contenidofuncion-etc-con-ajax-jquery-y-php</guid>
    </item>
    <item>
      <title>(PHP) Encrypting sensitive data - olemedia</title>
      <link>https://snipplr.com/view/54798/encrypting-sensitive-data</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jun 2011 00:29:47 UTC</pubDate>
      <guid>https://snipplr.com/view/54798/encrypting-sensitive-data</guid>
    </item>
    <item>
      <title>(JavaScript) Local Storage HTML5 Wrapper - cmndo</title>
      <link>https://snipplr.com/view/54570/local-storage-html5-wrapper</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 29 May 2011 16:36:25 UTC</pubDate>
      <guid>https://snipplr.com/view/54570/local-storage-html5-wrapper</guid>
    </item>
    <item>
      <title>(jQuery) Animated Pitchbars - FatFolderDesigner</title>
      <link>https://snipplr.com/view/54562/animated-pitchbars</link>
      <description>&lt;p&gt;The comments for this are broken down into 2 parts, first the script is talked about, then theres a little about the HTML code that the script relies on. You can find more information at the URL, as well as an example of it in action. You can leave comments here or at the link if you have any questions or comments, or if you found a nice use for it.&#13;
&#13;
First the script.&#13;
Use jquery to load this once the document is complete. The function starts with variables, the first line of them are ones for easy modification, pitches in the number of pitches it will show at once, and the shortdelay/longdelay is the delay between animating individual and pitches and the delay between animating the last displayed pitch and starting from the top again respectively.&#13;
&#13;
After that there is a while statement, this takes the appropriate pitch and wraps each element around a span for animation purposes. Then it gets into the main scripting and animation section.&#13;
&#13;
The each function runs through each of the spans and starts the animation on it. First is fades the current value out, it inserts the new pitch, pre-set at 0 opacity, and fades it in span-by-span. Once the loops is complete it runs a couple checks; is it the last pitch being displayed, is it the last pitch in the list of all pitches, and what itâ€™s going to be doing next. In the first two cases it resets the appropriate counter, the last check determines if it will run the short delay (between pitches being displayed) or the long delay (between displaying the last pitch and starting the animation cycle again).&#13;
&#13;
With this setup the script will run forever, looping when needed. It does require some HTML formatting though, is in the second section.&#13;
&#13;
Second, the HTML&#13;
The first section is the list of pitches, stored in an un-ordered list with the id "pitches". Each pitch simply goes in a list item. Theres nothing more to creating the list of all your pitches. &#13;
&#13;
The display goes inside the divs. The class &lt;code&gt;pitchbar&lt;/code&gt; is my own simply for formattingand is not required the other one, &lt;code&gt;activepitch#&lt;/code&gt; is the area where the the current pitches will be displayed. The "#" is for each pitch that you display at a time from 1 to your max, for example the code below has a &lt;code&gt;pitches&lt;/code&gt; of three, so I have 3 divs; &lt;code&gt;activepitch1&lt;/code&gt;, &lt;code&gt;activepitch2&lt;/code&gt;, &lt;code&gt;activepitch3&lt;/code&gt;. The example at the url has 5 divs and a &lt;code&gt;pitches&lt;/code&gt; value of 5 as well.&lt;/p&gt;</description>
      <pubDate>Sun, 29 May 2011 05:28:11 UTC</pubDate>
      <guid>https://snipplr.com/view/54562/animated-pitchbars</guid>
    </item>
    <item>
      <title>(ASP) Exporting asp.net treeview data control - kashif21</title>
      <link>https://snipplr.com/view/53249/exporting-aspnet-treeview-data-control</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 09 May 2011 22:58:49 UTC</pubDate>
      <guid>https://snipplr.com/view/53249/exporting-aspnet-treeview-data-control</guid>
    </item>
    <item>
      <title>(Java) Fetch Data From Network - arunmishra07</title>
      <link>https://snipplr.com/view/53145/fetch-data-from-network</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 06 May 2011 17:32:04 UTC</pubDate>
      <guid>https://snipplr.com/view/53145/fetch-data-from-network</guid>
    </item>
    <item>
      <title>(Java) Submit data on network - arunmishra07</title>
      <link>https://snipplr.com/view/53143/submit-data-on-network</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 06 May 2011 17:15:34 UTC</pubDate>
      <guid>https://snipplr.com/view/53143/submit-data-on-network</guid>
    </item>
    <item>
      <title>(jQuery) Store the relationship between elements using .data() - 1man</title>
      <link>https://snipplr.com/view/52617/store-the-relationship-between-elements-using-data</link>
      <description>&lt;p&gt;Very useful snippet to link elements together.&lt;/p&gt;</description>
      <pubDate>Wed, 27 Apr 2011 02:13:13 UTC</pubDate>
      <guid>https://snipplr.com/view/52617/store-the-relationship-between-elements-using-data</guid>
    </item>
    <item>
      <title>(SQL) Xml Element and data insert ,deletion ,updation - kashif21</title>
      <link>https://snipplr.com/view/52046/xml-element-and-data-insert-deletion-updation</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 14 Apr 2011 04:03:53 UTC</pubDate>
      <guid>https://snipplr.com/view/52046/xml-element-and-data-insert-deletion-updation</guid>
    </item>
    <item>
      <title>(SQL) Xml element insertion in XML DATA - kashif21</title>
      <link>https://snipplr.com/view/52045/xml-element-insertion-in-xml-data</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 14 Apr 2011 04:00:27 UTC</pubDate>
      <guid>https://snipplr.com/view/52045/xml-element-insertion-in-xml-data</guid>
    </item>
    <item>
      <title>(ActionScript 3) Adobe AIR: Save snippets of data locally - MaRmAR</title>
      <link>https://snipplr.com/view/48477/adobe-air-save-snippets-of-data-locally</link>
      <description>&lt;p&gt;Adobe AIR offers an ability to save small snippets of data locally (eg. users' settings). Works also on Android. EncryptedLocalStore is stored encrypted using AES-CBC 128-bit method. It is not recommended to store more than 10 MB of data because of reading/decrypting speed of AIR.&lt;/p&gt;</description>
      <pubDate>Sun, 06 Feb 2011 05:59:11 UTC</pubDate>
      <guid>https://snipplr.com/view/48477/adobe-air-save-snippets-of-data-locally</guid>
    </item>
    <item>
      <title>(Other) Data Types for DB, MySQL, SQLite, PHP, Ruby, Rails, JS, etc. because I forget them sometimes - brandonjp</title>
      <link>https://snipplr.com/view/48244/data-types-for-db-mysql-sqlite-php-ruby-rails-js-etc-because-i-forget-them-sometimes</link>
      <description>&lt;p&gt;Data Types for DB, MySQL, SQLite, PHP, Ruby, Rails, JS, etc. because I forget them sometimes&#13;
&#13;
&#13;
from Ruby on Rails Guides: Migrations http://bit.ly/hFWjT0&#13;
&#13;
from Rails Migrations http://bit.ly/hI5zpz&lt;/p&gt;</description>
      <pubDate>Wed, 02 Feb 2011 06:16:52 UTC</pubDate>
      <guid>https://snipplr.com/view/48244/data-types-for-db-mysql-sqlite-php-ruby-rails-js-etc-because-i-forget-them-sometimes</guid>
    </item>
    <item>
      <title>(Objective C) Clear Core Data Table - jodm</title>
      <link>https://snipplr.com/view/48216/clear-core-data-table</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 01 Feb 2011 23:20:36 UTC</pubDate>
      <guid>https://snipplr.com/view/48216/clear-core-data-table</guid>
    </item>
    <item>
      <title>(PHP) Get Twitter Data using twitter API - kangcom</title>
      <link>https://snipplr.com/view/47899/get-twitter-data-using-twitter-api</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 26 Jan 2011 17:25:39 UTC</pubDate>
      <guid>https://snipplr.com/view/47899/get-twitter-data-using-twitter-api</guid>
    </item>
    <item>
      <title>(JavaScript) AJAX MySQL Query - danhanly</title>
      <link>https://snipplr.com/view/47603/ajax-mysql-query</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 20 Jan 2011 20:48:06 UTC</pubDate>
      <guid>https://snipplr.com/view/47603/ajax-mysql-query</guid>
    </item>
    <item>
      <title>(MySQL) Create new table from a selection from another existing table (including copying data structure) - sjacunningham</title>
      <link>https://snipplr.com/view/47138/create-new-table-from-a-selection-from-another-existing-table-including-copying-data-structure</link>
      <description>&lt;p&gt;This is ideal for testing queries etc.  Run this to copy a selection of data into a new table with the same scructure.  Then you can run test queries etc on it.  Once you are happy then run the queries on the live data table...enjoy&lt;/p&gt;</description>
      <pubDate>Fri, 14 Jan 2011 22:37:28 UTC</pubDate>
      <guid>https://snipplr.com/view/47138/create-new-table-from-a-selection-from-another-existing-table-including-copying-data-structure</guid>
    </item>
  </channel>
</rss>
