<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>world threat &#187; programming</title>
	<atom:link href="http://worldthreat.net/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://worldthreat.net</link>
	<description>ART &#124; MUSIC &#124; LIFE</description>
	<lastBuildDate>Fri, 27 Aug 2010 18:46:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WTF Firefox 3.6?!</title>
		<link>http://worldthreat.net/2010/01/wtf-firefox-3-6/</link>
		<comments>http://worldthreat.net/2010/01/wtf-firefox-3-6/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 15:40:26 +0000</pubDate>
		<dc:creator>worldthreat</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[firefox 3.6]]></category>
		<category><![CDATA[nerd core]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://worldthreat.net/?p=292</guid>
		<description><![CDATA[So, i upgraded Firefox to 3.6 only to discover it breaks shadowbox in most of my sites, and in an attempt to debug it, found out serverfault.com and stackoverflow.com are broken in this version. Real effin nice. I have a feeling i will be very busy debugging this winter&#8230;. UPDATE! if your shadowbox is broken [...]]]></description>
			<content:encoded><![CDATA[<p>So, i upgraded Firefox to 3.6 only to discover it breaks shadowbox in most of my sites, and in an attempt to debug it, found out <a href="http://serverfault.com" target="_blank">serverfault.com</a> and <a  target="_blank" href="http://stackoverflow.com">stackoverflow.com</a> are broken in this version. Real effin nice. I have a feeling i will be very busy debugging this winter&#8230;.</p>
<p><br/><br/><br />
<h2 style="font-color:#FFC000">UPDATE!</h2>
<p><br/>if your shadowbox is broken in FF 3.6, make sure DEFER is NOT set when you call shadowbox.js!<br />
I don&#8217;t know why, but tip courtesy of <a href="http://www.brianguertin.com/">Brian Guertin</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://worldthreat.net/2010/01/wtf-firefox-3-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>piMP3 player &#124; REMiX!</title>
		<link>http://worldthreat.net/2009/11/pimp3-player-remix/</link>
		<comments>http://worldthreat.net/2009/11/pimp3-player-remix/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 17:24:37 +0000</pubDate>
		<dc:creator>worldthreat</dc:creator>
				<category><![CDATA[nerd]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[nerd core]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[remix]]></category>

		<guid isPermaLink="false">http://worldthreat.net/?p=245</guid>
		<description><![CDATA[So, i needed a light weight mp3 player for iamcell.com, when i stumbled upon the piMP3 Player by cssrevolt.com.  Perfect! (does not work in IE right now)&#8230;Uses prototype (less than perfect) and integrates seemingly seemless!  For the sake of UI, i added &#8220;previous&#8221; and &#8220;next track&#8221; buttons&#8230; Code can be seen below&#8230;  I worked under [...]]]></description>
			<content:encoded><![CDATA[<p>So, i needed a light weight mp3 player for <a href="http://iamcell.com" target="_blank">iamcell.com</a>, when i stumbled upon the <a title="css revolt" href="http://cssrevolt.com/upload/files/pimp3/" target="_blank">piMP3 Player</a> by cssrevolt.com.  <span style="text-decoration: line-through;">Perfect!</span> (does not work in IE right now)&#8230;Uses <a href="http://prototypejs.org/" target="_blank">prototype </a>(less than perfect) and integrates seemingly seemless!  For the sake of UI, i added &#8220;previous&#8221; and &#8220;next track&#8221; buttons&#8230; Code can be seen below&#8230;  I worked under a stressful time constraint, so if any1 wants to jump in and drop some logic on my ass or fix the ie bug, by all means!</p>
<h3>_____________________________________________________</h3>
<p><a href="http://worldthreat.net/pimp3-v1point2.zip">download piMP3 player REMiX!</a></p>
<p style="padding-left: 30px;">next: function(e) {</p>
<p style="padding-left: 30px;"><code>var counter = this.options.Counter++;<br />
var theCount = data.length;<br />
//alert(counter+'  |   |  ' + theCount);<br />
var sound = new Array();<br />
for(i = 0; i &lt; theCount; i++){<br />
var ur = $('nextSound'+i);<br />
sound.push(ur);<br />
var cap = $('nextSound'+i).innerText;<br />
}<br />
if(counter==theCount){<br />
this.options.Counter=0;<br />
this.caption = sound[0].innerText || sound[0].textContent;<br />
this.sound_selected.writeAttribute('href',sound[0]).update(this.caption);<br />
} else {<br />
this.caption = sound[counter].innerText || sound[counter].textContent;<br />
this.sound_selected.writeAttribute('href',sound[counter]).update(this.caption);<br />
}</code></p>
<p style="padding-left: 30px;">Sound.play(this.sound_selected.readAttribute(&#8216;href&#8217;),{track:&#8217;pimp3Player&#8217;, replace:true});<br />
this.sound_status.show();<br />
Event.stop(e);<br />
},</p>
<p style="padding-left: 30px;">prev: function(e) {</p>
<p style="padding-left: 30px;">var counter = this.options.Counter&#8211;;<br />
var theCount = data.length;<br />
//alert(counter);<br />
var sound = new Array();<br />
for(i = 0; i &lt; theCount; i++){<br />
var ur = $(&#8216;nextSound&#8217;+i);<br />
sound.push(ur);<br />
var cap = $(&#8216;nextSound&#8217;+i).innerText;<br />
}<br />
if(counter==0){<br />
this.options.Counter=theCount-1;<br />
this.caption = sound[theCount].innerText || sound[theCount].textContent;<br />
this.sound_selected.writeAttribute(&#8216;href&#8217;,sound[theCount]).update(this.caption);<br />
} else {<br />
this.caption = sound[counter].innerText || sound[counter].textContent;<br />
this.sound_selected.writeAttribute(&#8216;href&#8217;,sound[counter]).update(this.caption);<br />
}<br />
this.caption = sound[counter].innerText || sound[counter].textContent;<br />
this.sound_selected.writeAttribute(&#8216;href&#8217;,sound[counter]).update(this.caption);<br />
Sound.play(this.sound_selected.readAttribute(&#8216;href&#8217;),{track:&#8217;pimp3Player&#8217;, replace:true});<br />
this.sound_status.show();<br />
Event.stop(e);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://worldthreat.net/2009/11/pimp3-player-remix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ftp via BASH! script</title>
		<link>http://worldthreat.net/2009/10/ftp-via-bash-script/</link>
		<comments>http://worldthreat.net/2009/10/ftp-via-bash-script/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 19:29:34 +0000</pubDate>
		<dc:creator>worldthreat</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[geek squad]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nerd core]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://worldthreat.net/?p=226</guid>
		<description><![CDATA[Recently i developed an e commerce site that sends the order directly to a distributor for shipping after the bank transactions&#8230; Being a relatively new nerd, i work best destroying someone else&#8217;s code (script lion)&#8230; so here&#8217;s a lil contribution since every example i googled was (significantly) different. Here is a bash script that will [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i developed an e commerce site that sends the order directly to a distributor for shipping after the bank transactions&#8230;<br />
Being a relatively new nerd, i work best destroying someone else&#8217;s code (script lion)&#8230; so here&#8217;s a lil contribution since every example i googled was (significantly) different. Here is a bash script that will upload files if your using a typical Media Temple server using Linux / CentOS 5&#8230; Script will also move the files to a new directory&#8230; just delete if you don&#8217;t want to move anything when your done&#8230;</p>
<p><span style="color: #3366ff;"><em><code>#!/bin/bash<br />
set -m<br />
theDate="$(date +%Y-%m-%d)"</code></em></span></p>
<p><span style="color: #3366ff;"><em>ftp -vinp ftp.urAddress.com &lt;<br />
quote USER yourusername<br />
quote PASS 9assword<br />
cd Upload<br />
binary<br />
put  /path/to/your/file/PO850.xml &#8216;date +%d_%m_%y&#8217;_PO850.xml<br />
quit<br />
EOF</em></span></p>
<p><span style="color: #3366ff;"><em>cp /path/to/your/file/*.xml /path/to/your/other_directory/</em></span></p>
<p><span style="color: #3366ff;"><em>rm </em></span><span style="color: #3366ff;"><em>/path/to/your/file/</em></span><span style="color: #3366ff;"><em>*.xml</em></span></p>
<p><span style="color: #3366ff;"><em>exit 0</em></span></p>
<p>Hope this helps someone&#8230; oh&#8230; and to the younger script kiddies&#8230; don&#8217;t be afraid of Linux&#8230; shits, tit after a bit!</p>
]]></content:encoded>
			<wfw:commentRss>http://worldthreat.net/2009/10/ftp-via-bash-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>certified nerd</title>
		<link>http://worldthreat.net/2009/05/certified-nerd/</link>
		<comments>http://worldthreat.net/2009/05/certified-nerd/#comments</comments>
		<pubDate>Wed, 20 May 2009 13:51:49 +0000</pubDate>
		<dc:creator>worldthreat</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[hip hop]]></category>
		<category><![CDATA[nerd core]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rave]]></category>
		<category><![CDATA[techno]]></category>
		<category><![CDATA[world threat]]></category>

		<guid isPermaLink="false">http://worldthreat.net/?p=93</guid>
		<description><![CDATA[remember that rap i wrote in php? Well, here&#8217;s the verse in audio! it&#8217;s called certified nerd&#8230; 7th track in my player on the right!]]></description>
			<content:encoded><![CDATA[<p>remember that <a href="http://worldthreat.net/?p=56"><strong>rap i wrote in php?</strong></a><br />
Well, here&#8217;s the verse in audio! it&#8217;s called <strong>certified nerd</strong>&#8230; 7th track in my player on the right!</p>
]]></content:encoded>
			<wfw:commentRss>http://worldthreat.net/2009/05/certified-nerd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://worldthreat.net/2009/03/56/</link>
		<comments>http://worldthreat.net/2009/03/56/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 05:15:47 +0000</pubDate>
		<dc:creator>worldthreat</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[geek squad]]></category>
		<category><![CDATA[nerd core]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[world threat]]></category>

		<guid isPermaLink="false">http://worldthreat.net/?p=56</guid>
		<description><![CDATA[ok. going to bread, but&#8230;. i wrote some code that is a rap? yeah! yes i did. any way&#8217;s here it is&#8230; i WILL update this blog as i finish the proper chorus (deleted a few lines) &#38; or get nicer at this werded algebra&#8230;. that&#8217;s&#8221;worded&#8221;&#8230;. to you whippersnappers! .theFont{ font-family:Arial, Helvetica, sans-serif; color:#0033CC; } [...]]]></description>
			<content:encoded><![CDATA[<p>ok. going to bread, but&#8230;.<br />
i wrote some code that</p>
<ul> is</ul>
<p>a rap? yeah!<br />
yes i did.  any way&#8217;s here it is&#8230; i WILL update this blog as i finish the proper chorus (deleted a few lines) &amp; or get nicer at this werded algebra&#8230;. that&#8217;s&#8221;worded&#8221;&#8230;. to you whippersnappers!</p>
<p>.theFont{<br />
font-family:Arial, Helvetica, sans-serif;<br />
color:#0033CC;<br />
}</p>
<p>$connect = mysql_connect(&#8220;localhead&#8221;,&#8221;brain&#8221;,&#8221;evilFunkPuppet&#8221;);<br />
if (!$connect)<br />
{<br />
die(&#8216;Could not connect: &#8216; . mysql_error());<br />
}</p>
<p>mysql_select_db(&#8220;songs&#8221;, $connect);</p>
<p>$instrumental = mysql_QUERY(&#8220;SELECT * FROM `electroLife` WHERE `instrumental` = &#8217;1&#8242;&#8221;);<br />
$result = mysql_QUERY(&#8220;SELECT FROM `electroLife` WHERE `instrumental` = &#8217;1&#8242;&#8221;);</p>
<p>verseOne();</p>
<p>verseTwo();</p>
<p>function verseOne(){</p>
<p>$smoke = &#8220;making smoke.	breaking bones.</p>
<p>shotokan. no to stoogs<br />
&#8220;;</p>
<p>echo &#8221;</p>
<div><span class="theFont">stone cold, stone cool</p>
<p>soul sold, so few</p>
<p>understand. wondering.</p>
<p>love withstand all my cons,</p>
<p>plus my pros, all i want.</p>
<p>love my bros. love my job.</p>
<p>lug it all spot to spot.</p>
<p>place to place. stop to stop.</p>
<p>face to face i make my case.&#8221;;<br />
echo $smoke;<br />
echo &#8220;contact the lung. oh here it goes.</p>
<p>dialate. diet pills.</p>
<p>concentrate. nice &#8216;n still.</p>
<p>define array. populate.</p>
<p>semi-col.</p>
<p>curly brace</span></div>
<p>&#8220;;<br />
}</p>
<p>function verseTwo(){</p>
<p>$lostAndFound = &#8221;</p>
<p>it&#8217;s obvious lost and found rhymes to it.</p>
<p>grind to it. get up high and bend the spine to it.<br />
&#8221;	;</p>
<p>echo &#8221;</p>
<div><span class="theFont">a couple words here and there.</p>
<p>end the world cause i dont care.</p>
<p>cause i can. because you cant</p>
<p>understand my muttering.</p>
<p>stumbling. end of the internet.</p>
<p>once again i recollect.</p>
<p>wipe my ass and blow my nose.</p>
<p>i wrote like this cause i don&#8217;t know.</p>
<p>design and pro-</p>
<p>gram an ounce<br />
&#8221; ;<br />
echo $lostAndFound;<br />
echo &#8220;damnit it now.</p>
<p>say it loud.</p>
<p>GOOD DAMN!</span></div>
<p>&#8220;;<br />
}</p>
<p>&#8230;.tooo super simple right now&#8230; but yeah.. that&#8217;s how it came out 4real&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://worldthreat.net/2009/03/56/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
