<?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>Personal Homepage</title>
	<atom:link href="http://jonakcomputers.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://jonakcomputers.com</link>
	<description></description>
	<lastBuildDate>Tue, 31 Aug 2010 21:51:03 +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>Integrating PHP with Facebook using Facebook API</title>
		<link>http://jonakcomputers.com/?p=85</link>
		<comments>http://jonakcomputers.com/?p=85#comments</comments>
		<pubDate>Tue, 31 Aug 2010 21:50:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jonakcomputers.com/?p=85</guid>
		<description><![CDATA[I have been dealing with this subject for the last few weeks and I have just about gotten it down, and as such, I am going to post a few articles letting you noobs know how to do it too. Expect first post sometime tomorrow or the next day.]]></description>
			<content:encoded><![CDATA[<p>I have been dealing with this subject for the last few weeks and I have just about gotten it down, and as such, I am going to post a few articles letting you noobs know how to do it too. Expect first post sometime tomorrow or the next day. </p>
]]></content:encoded>
			<wfw:commentRss>http://jonakcomputers.com/?feed=rss2&amp;p=85</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add local dialing to GV-Asterisk with Orgasmatron V</title>
		<link>http://jonakcomputers.com/?p=72</link>
		<comments>http://jonakcomputers.com/?p=72#comments</comments>
		<pubDate>Thu, 11 Feb 2010 16:09:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asterisk]]></category>

		<guid isPermaLink="false">http://jonakcomputers.com/?p=72</guid>
		<description><![CDATA[This is for use with Nerd Vittles Orgasmatron V, thought it should work with other versions of the GV asterisk implementations. 1. add to your &#8220;default&#8221; to your &#8220;outbound routes&#8221; NXXXXXX under dial patterns. click submit changes. 2. under your trunks find the one that says &#8220;local/$OUTNUM$@custo&#8221; and add your 3 digit area code+NXXXXXX, ie [...]]]></description>
			<content:encoded><![CDATA[<p>This is for use with Nerd Vittles Orgasmatron V, thought it should work with other versions of the GV asterisk implementations. </p>
<p>1. add to your &#8220;default&#8221; to your &#8220;outbound routes&#8221; NXXXXXX  under dial patterns. click submit changes.<br />
<img src="http://jonakcomputers.com/wp-content/uploads/2010/02/default2.JPG" alt="default" title="default" width="461" height="619" class="alignnone size-full wp-image-79" /><br />
2. under your trunks find the one that says &#8220;local/$OUTNUM$@custo&#8221; and add your 3 digit area code+NXXXXXX, ie mine is 850+NXXXXXX. submit changes.<br />
<img src="http://jonakcomputers.com/wp-content/uploads/2010/02/outbound_trunk1.JPG" alt="outbound_trunk" title="outbound_trunk" width="497" height="682" class="alignnone size-full wp-image-77" /><br />
3. apply configuration and continue and you&#8217;re done!</p>
<p>Woot!</p>
<p>source: http://www.freepbx.org/support/documentation/howtos/howto-route-dial-patterns-and-trunk-dial-rules</p>
]]></content:encoded>
			<wfw:commentRss>http://jonakcomputers.com/?feed=rss2&amp;p=72</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex and Passing variables from PHP</title>
		<link>http://jonakcomputers.com/?p=65</link>
		<comments>http://jonakcomputers.com/?p=65#comments</comments>
		<pubDate>Mon, 30 Nov 2009 22:06:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jonakcomputers.com/?p=65</guid>
		<description><![CDATA[The html/php first: // if we've detected an acceptable version // embed the Flash Content SWF when all tests are passed AC_FL_RunContent( &#34;src&#34;, &#34;${swf}?myName=&#60;?php echo $myname; ?&#62;&#38;myHometown=&#60;?php echo $mytown; ?&#62;&#34;, &#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34; creationComplete=&#34;initVars()&#34;&#62; &#60;mx:Script&#62;&#60;!&#91;CDATA&#91; // Declare bindable properties in Application scope. &#91;Bindable&#93; public var myName:String; &#91;Bindable&#93; public var myHometown:String; &#160; // Assign values to new [...]]]></description>
			<content:encoded><![CDATA[<p>The html/php first:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">	// if we've detected an acceptable version
	// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
			&quot;src&quot;, &quot;${swf}?myName=<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$myname</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&amp;myHometown=<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$mytown</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;,</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&lt;</span>mx:Application xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;initVars()&quot;</span><span style="color: #66cc66;">&gt;</span>
  <span style="color: #66cc66;">&lt;</span>mx:Script<span style="color: #66cc66;">&gt;&lt;!</span><span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span>
     <span style="color: #808080; font-style: italic;">// Declare bindable properties in Application scope.</span>
     <span style="color: #66cc66;">&#91;</span>Bindable<span style="color: #66cc66;">&#93;</span>
     <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> myName:<span style="color: #0066CC;">String</span>;
     <span style="color: #66cc66;">&#91;</span>Bindable<span style="color: #66cc66;">&#93;</span>
     <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> myHometown:<span style="color: #0066CC;">String</span>;
&nbsp;
     <span style="color: #808080; font-style: italic;">// Assign values to new properties.</span>
     <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> initVars<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
        <span style="color: #808080; font-style: italic;">//myName = Application.application.parameters.myName;</span>
        myHometown = Application.<span style="color: #006600;">application</span>.<span style="color: #006600;">parameters</span>.<span style="color: #006600;">myHometown</span>;
&nbsp;
        myName = mx.<span style="color: #006600;">core</span>.<span style="color: #006600;">Application</span>.<span style="color: #006600;">application</span>.<span style="color: #006600;">parameters</span>.<span style="color: #006600;">myName</span></pre></div></div>

<p>The good thing about this method is this is the only place it has to be put, not twice.</p>
<p>Also, this is limited to two things, but you could theoretically pass many variables.</p>
]]></content:encoded>
			<wfw:commentRss>http://jonakcomputers.com/?feed=rss2&amp;p=65</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex LineChart with a Single Dimensional Array</title>
		<link>http://jonakcomputers.com/?p=57</link>
		<comments>http://jonakcomputers.com/?p=57#comments</comments>
		<pubDate>Sun, 08 Nov 2009 21:50:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://jonakcomputers.com/?p=57</guid>
		<description><![CDATA[This one is a bit more complicated. First the code: &#60;mx:Array id=&#34;bge&#34;&#62; &#60;/mx:Array&#62; &#60;mx:LineChart id=&#34;myChart&#34; backgroundElements=&#34;{bge}&#34; dataProvider=&#34;{bge}&#34; showDataTips=&#34;false&#34; width=&#34;100%&#34; height=&#34;95%&#34; color=&#34;#FFFFFF&#34; fontSize=&#34;12&#34; left=&#34;0&#34; top=&#34;0&#34;&#62; &#60;mx:horizontalAxis&#62; &#60;mx:CategoryAxis ticksBetweenLabels=&#34;false&#34; id=&#34;a1&#34; dataProvider=&#34;{results}&#34; /&#62; &#60;/mx:horizontalAxis&#62; &#60;mx:verticalAxis&#62; &#60;mx:LinearAxis interval=&#34;50&#34; id=&#34;vaxis&#34; minimum=&#34;-53&#34; maximum=&#34;55&#34; baseAtZero=&#34;false&#34; title=&#34;&#34;/&#62; &#60;/mx:verticalAxis&#62; &#60;mx:horizontalAxisRenderers&#62; &#60;mx:AxisRenderer tickPlacement=&#34;none&#34; showLabels=&#34;false&#34; axis=&#34;{a1}&#34; showLine=&#34;false&#34;/&#62; &#60;/mx:horizontalAxisRenderers&#62; &#60;mx:verticalAxisRenderers&#62; &#60;mx:AxisRenderer tickPlacement=&#34;none&#34; showLabels=&#34;false&#34; axis=&#34;{a1}&#34; showLine=&#34;false&#34; /&#62; &#60;/mx:verticalAxisRenderers&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>This one is a bit more complicated. First the code:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">    <span style="color: #66cc66;">&lt;</span>mx:<span style="color: #0066CC;">Array</span> id=<span style="color: #ff0000;">&quot;bge&quot;</span><span style="color: #66cc66;">&gt;</span>
    <span style="color: #66cc66;">&lt;/</span>mx:Array<span style="color: #66cc66;">&gt;</span>
        <span style="color: #66cc66;">&lt;</span>mx:LineChart id=<span style="color: #ff0000;">&quot;myChart&quot;</span> backgroundElements=<span style="color: #ff0000;">&quot;{bge}&quot;</span> dataProvider=<span style="color: #ff0000;">&quot;{bge}&quot;</span> showDataTips=<span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;95%&quot;</span> <span style="color: #0066CC;">color</span>=<span style="color: #ff0000;">&quot;#FFFFFF&quot;</span> fontSize=<span style="color: #ff0000;">&quot;12&quot;</span> <span style="color: #0066CC;">left</span>=<span style="color: #ff0000;">&quot;0&quot;</span> top=<span style="color: #ff0000;">&quot;0&quot;</span><span style="color: #66cc66;">&gt;</span>
            <span style="color: #66cc66;">&lt;</span>mx:horizontalAxis<span style="color: #66cc66;">&gt;</span>
                <span style="color: #66cc66;">&lt;</span>mx:CategoryAxis ticksBetweenLabels=<span style="color: #ff0000;">&quot;false&quot;</span> id=<span style="color: #ff0000;">&quot;a1&quot;</span> dataProvider=<span style="color: #ff0000;">&quot;{results}&quot;</span>  <span style="color: #66cc66;">/&gt;</span>
            <span style="color: #66cc66;">&lt;/</span>mx:horizontalAxis<span style="color: #66cc66;">&gt;</span>
  			<span style="color: #66cc66;">&lt;</span>mx:verticalAxis<span style="color: #66cc66;">&gt;</span> 
                <span style="color: #66cc66;">&lt;</span>mx:LinearAxis  interval=<span style="color: #ff0000;">&quot;50&quot;</span> id=<span style="color: #ff0000;">&quot;vaxis&quot;</span> minimum=<span style="color: #ff0000;">&quot;-53&quot;</span> maximum=<span style="color: #ff0000;">&quot;55&quot;</span> baseAtZero=<span style="color: #ff0000;">&quot;false&quot;</span> title=<span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">/&gt;</span>
            <span style="color: #66cc66;">&lt;/</span>mx:verticalAxis<span style="color: #66cc66;">&gt;</span>
            <span style="color: #66cc66;">&lt;</span>mx:horizontalAxisRenderers<span style="color: #66cc66;">&gt;</span>
                <span style="color: #66cc66;">&lt;</span>mx:AxisRenderer tickPlacement=<span style="color: #ff0000;">&quot;none&quot;</span> showLabels=<span style="color: #ff0000;">&quot;false&quot;</span> axis=<span style="color: #ff0000;">&quot;{a1}&quot;</span> showLine=<span style="color: #ff0000;">&quot;false&quot;</span><span style="color: #66cc66;">/&gt;</span>
            <span style="color: #66cc66;">&lt;/</span>mx:horizontalAxisRenderers<span style="color: #66cc66;">&gt;</span>
            <span style="color: #66cc66;">&lt;</span>mx:verticalAxisRenderers<span style="color: #66cc66;">&gt;</span>
                <span style="color: #66cc66;">&lt;</span>mx:AxisRenderer tickPlacement=<span style="color: #ff0000;">&quot;none&quot;</span> showLabels=<span style="color: #ff0000;">&quot;false&quot;</span> axis=<span style="color: #ff0000;">&quot;{a1}&quot;</span> showLine=<span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #66cc66;">/&gt;</span>
            <span style="color: #66cc66;">&lt;/</span>mx:verticalAxisRenderers<span style="color: #66cc66;">&gt;</span>
            <span style="color: #66cc66;">&lt;</span>mx:series<span style="color: #66cc66;">&gt;</span>
                <span style="color: #66cc66;">&lt;</span>mx:LineSeries alpha=<span style="color: #ff0000;">&quot;.3&quot;</span> dataProvider=<span style="color: #ff0000;">&quot;{results}&quot;</span> lineStroke=<span style="color: #ff0000;">&quot;{weighter}&quot;</span> form=<span style="color: #ff0000;">&quot;curve&quot;</span> <span style="color: #66cc66;">/&gt;</span>
            <span style="color: #66cc66;">&lt;/</span>mx:series<span style="color: #66cc66;">&gt;</span>
        <span style="color: #66cc66;">&lt;/</span>mx:LineChart<span style="color: #66cc66;">&gt;</span></pre></div></div>

<p>The first <array> tags do nothing but create an empty array for the LineChart to Graph off of.</p>
<p>The LineChart line gives us an empty table, with no background elements based on an empty array. It does not show datatips and is 100% wide on the panel. I&#8217;m sure you can figure the rest out on that line.</p>
<p>This line is important:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">            <span style="color: #66cc66;">&lt;</span>mx:horizontalAxis<span style="color: #66cc66;">&gt;</span>
                <span style="color: #66cc66;">&lt;</span>mx:CategoryAxis ticksBetweenLabels=<span style="color: #ff0000;">&quot;false&quot;</span> id=<span style="color: #ff0000;">&quot;a1&quot;</span> dataProvider=<span style="color: #ff0000;">&quot;{results}&quot;</span>  <span style="color: #66cc66;">/&gt;</span>
            <span style="color: #66cc66;">&lt;/</span>mx:horizontalAxis<span style="color: #66cc66;">&gt;</span></pre></div></div>

<p>That causes our ticks to be invisible and it gives us an id for use later. The dataProvider finally gives us the data from our first array with values: results.</p>
<p>The vertical axis tags do nothing extraordinary but base at zero, that property allows you to set the minimum to less than zero. </p>
<p>Down to series, it gives us the data line to use with the data, and it gives the line a 33% see through quality. linestroke refers to this:</p>
<pre lang="actionscript>
<mx:Stroke id="weighter" color="#0099FF" weight="8"/>
</pre>
<p>which can be anywhere.</p>
<p>So there you have it, a line graph, no lines, no axis and using a single dimensional array.</p>
]]></content:encoded>
			<wfw:commentRss>http://jonakcomputers.com/?feed=rss2&amp;p=57</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to send information to PHP from Flex</title>
		<link>http://jonakcomputers.com/?p=41</link>
		<comments>http://jonakcomputers.com/?p=41#comments</comments>
		<pubDate>Sun, 08 Nov 2009 02:15:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jonakcomputers.com/?p=41</guid>
		<description><![CDATA[I had a bit of trouble figuring out what Flex was doing when i sent a request to a page. This is what i figured out. 1 2 3 4 5 6 7 8 &#60;mx:HTTPService id=&#34;userRequest&#34; url=&#34;####&#34; useProxy=&#34;false&#34; method=&#34;POST&#34;&#62; &#60;mx:request xmlns=&#34;&#34;&#62; &#60;array&#62;&#123;rating&#125;&#60;/array&#62; &#60;type&#62;&#123;type&#125;&#60;/type&#62; &#60;appl&#62;0000&#60;/appl&#62; &#60;rand&#62;&#123;rand&#125;&#60;/rand&#62; &#60;/mx:request&#62; &#60;/mx:HTTPService&#62; userRequest.send&#40;&#41;; The first block of code sends to [...]]]></description>
			<content:encoded><![CDATA[<p>I had a bit of trouble figuring out what Flex was doing when i sent a request to a page.</p>
<p>This is what i figured out.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&lt;</span>mx:HTTPService id=<span style="color: #ff0000;">&quot;userRequest&quot;</span> <span style="color: #0066CC;">url</span>=<span style="color: #ff0000;">&quot;####&quot;</span> useProxy=<span style="color: #ff0000;">&quot;false&quot;</span> method=<span style="color: #ff0000;">&quot;POST&quot;</span><span style="color: #66cc66;">&gt;</span>
        <span style="color: #66cc66;">&lt;</span>mx:request xmlns=<span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&gt;</span>
            <span style="color: #66cc66;">&lt;</span>array<span style="color: #66cc66;">&gt;</span><span style="color: #66cc66;">&#123;</span>rating<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&lt;/</span>array<span style="color: #66cc66;">&gt;</span>
            <span style="color: #66cc66;">&lt;</span>type<span style="color: #66cc66;">&gt;</span><span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">type</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&lt;/</span>type<span style="color: #66cc66;">&gt;</span>
            <span style="color: #66cc66;">&lt;</span>appl<span style="color: #66cc66;">&gt;</span>0000<span style="color: #66cc66;">&lt;/</span>appl<span style="color: #66cc66;">&gt;</span>
            <span style="color: #66cc66;">&lt;</span>rand<span style="color: #66cc66;">&gt;</span><span style="color: #66cc66;">&#123;</span>rand<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&lt;/</span>rand<span style="color: #66cc66;">&gt;</span>
        <span style="color: #66cc66;">&lt;/</span>mx:request<span style="color: #66cc66;">&gt;</span>
    <span style="color: #66cc66;">&lt;/</span>mx:HTTPService<span style="color: #66cc66;">&gt;</span></pre></td></tr></table></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">userRequest.<span style="color: #0066CC;">send</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>The first block of code sends to whatever page you choose:</p>

<div class="wp_syntax"><div class="code"><pre class="header" style="font-family:monospace;">?array={rating}&amp;type={type}&amp;appl={0000}&amp;rand={rand}</pre></div></div>

<p>The second actually calls the function. So for instance I put it at the end of the project, so it would complete and send the results to a php page to be processed.</p>
<p>That&#8217;s it! Its sends it super quick to the page, and your good to go!</p>
<p>Let me know if it all makes sense!</p>
]]></content:encoded>
			<wfw:commentRss>http://jonakcomputers.com/?feed=rss2&amp;p=41</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
