<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Kris Range</title>
	<atom:link href="http://blog.krisrange.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.krisrange.com</link>
	<description>Web development</description>
	<lastBuildDate>Thu, 05 May 2011 20:39:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Comment on Throttle RTMP connections by krange</title>
		<link>http://blog.krisrange.com/2010/08/throttle-rtmp-connections/comment-page-1/#comment-96</link>
		<dc:creator>krange</dc:creator>
		<pubDate>Thu, 05 May 2011 20:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.krisrange.com/?p=94#comment-96</guid>
		<description>RTMP could use two ports, the default is 1935, the other *I think* is 443. You might want to try both. It should work as it limits all bandwidth from you computer, similarly to proxy programs like Charles. You might also want to try limiting it on all 3 at the same time if you aren&#039;t seeing any results.</description>
		<content:encoded><![CDATA[<p>RTMP could use two ports, the default is 1935, the other *I think* is 443. You might want to try both. It should work as it limits all bandwidth from you computer, similarly to proxy programs like Charles. You might also want to try limiting it on all 3 at the same time if you aren&#8217;t seeing any results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Throttle RTMP connections by Adam</title>
		<link>http://blog.krisrange.com/2010/08/throttle-rtmp-connections/comment-page-1/#comment-95</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 04 May 2011 23:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.krisrange.com/?p=94#comment-95</guid>
		<description>I have tried this using both port 80 and port 1935 (which is what I&#039;ve been told RTMP uses). And I get no noticeable difference in my bandwidth speed. Any insight?</description>
		<content:encoded><![CDATA[<p>I have tried this using both port 80 and port 1935 (which is what I&#8217;ve been told RTMP uses). And I get no noticeable difference in my bandwidth speed. Any insight?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spotify url validation by krange</title>
		<link>http://blog.krisrange.com/2010/05/spotify-url-validation/comment-page-1/#comment-94</link>
		<dc:creator>krange</dc:creator>
		<pubDate>Fri, 15 Apr 2011 11:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.krisrange.com/?p=43#comment-94</guid>
		<description>We created an app using the libSpotify APIs where users could dynamically add songs to playlists in a competition setting. It came in handy for validation (like email but for Spotify URLs) before we sent them off to the server for submission. Hope that helps!</description>
		<content:encoded><![CDATA[<p>We created an app using the libSpotify APIs where users could dynamically add songs to playlists in a competition setting. It came in handy for validation (like email but for Spotify URLs) before we sent them off to the server for submission. Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spotify url validation by Gary Thomason</title>
		<link>http://blog.krisrange.com/2010/05/spotify-url-validation/comment-page-1/#comment-93</link>
		<dc:creator>Gary Thomason</dc:creator>
		<pubDate>Fri, 15 Apr 2011 10:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.krisrange.com/?p=43#comment-93</guid>
		<description>How does this work within your project? I must admit I&#039;m pretty useless when it comes down to this type of thing but am curious as to how it would be used.</description>
		<content:encoded><![CDATA[<p>How does this work within your project? I must admit I&#8217;m pretty useless when it comes down to this type of thing but am curious as to how it would be used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Throttle RTMP connections by krange</title>
		<link>http://blog.krisrange.com/2010/08/throttle-rtmp-connections/comment-page-1/#comment-47</link>
		<dc:creator>krange</dc:creator>
		<pubDate>Mon, 07 Mar 2011 20:32:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.krisrange.com/?p=94#comment-47</guid>
		<description>Hi Gavin,
I&#039;m on OSX so if you are on a different operating system, you might have to use a separate example. In your home directory, there is a file named .bash_profile. I&#039;ve edited mine to point to a different file where I keep my bash snippets. Anyway, you use bash via terminal and would call it by saying throttle 150 80 (or whatever speed and port you want to use).

Cheers,
Kris

Put this into your .bash_profile:
# Alias definitions
if [ -f ~/.bash_aliases ]; then
	. ~/.bash_aliases
fi

Then, I create a .bash_aliases file (in my same home directory) and add the following:
throttle()
{
	sudo ipfw pipe 1 config bw $1KByte/s &amp;&amp;
	sudo ipfw add 1 pipe 1 src-port $2
}

rmthrottle()
{
	sudo ipfw delete 1
}</description>
		<content:encoded><![CDATA[<p>Hi Gavin,<br />
I&#8217;m on OSX so if you are on a different operating system, you might have to use a separate example. In your home directory, there is a file named .bash_profile. I&#8217;ve edited mine to point to a different file where I keep my bash snippets. Anyway, you use bash via terminal and would call it by saying throttle 150 80 (or whatever speed and port you want to use).</p>
<p>Cheers,<br />
Kris</p>
<p>Put this into your .bash_profile:<br />
# Alias definitions<br />
if [ -f ~/.bash_aliases ]; then<br />
	. ~/.bash_aliases<br />
fi</p>
<p>Then, I create a .bash_aliases file (in my same home directory) and add the following:<br />
throttle()<br />
{<br />
	sudo ipfw pipe 1 config bw $1KByte/s &amp;&amp;<br />
	sudo ipfw add 1 pipe 1 src-port $2<br />
}</p>
<p>rmthrottle()<br />
{<br />
	sudo ipfw delete 1<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Throttle RTMP connections by gavin</title>
		<link>http://blog.krisrange.com/2010/08/throttle-rtmp-connections/comment-page-1/#comment-46</link>
		<dc:creator>gavin</dc:creator>
		<pubDate>Mon, 07 Mar 2011 15:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.krisrange.com/?p=94#comment-46</guid>
		<description>This sounds exactly what I need, however I have no idea what to do with a BASH script or how to execute functions from one.....don&#039;t suppose you could post up instructions

cheers

Gavin</description>
		<content:encoded><![CDATA[<p>This sounds exactly what I need, however I have no idea what to do with a BASH script or how to execute functions from one&#8230;..don&#8217;t suppose you could post up instructions</p>
<p>cheers</p>
<p>Gavin</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Three20 iOS ad-hoc distribution issues by Chamira Fernando</title>
		<link>http://blog.krisrange.com/2010/11/three20-ios-ad-hoc-distribution-issues/comment-page-1/#comment-43</link>
		<dc:creator>Chamira Fernando</dc:creator>
		<pubDate>Mon, 13 Dec 2010 06:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.krisrange.com/?p=111#comment-43</guid>
		<description>Thank you very much posting out this.. I was pissed off by this this</description>
		<content:encoded><![CDATA[<p>Thank you very much posting out this.. I was pissed off by this this</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Inserting keywords/variables in Subversion with auto-props by James Revillini</title>
		<link>http://blog.krisrange.com/2010/07/inserting-keywordsvariables-in-subversion-with-auto_props/comment-page-1/#comment-25</link>
		<dc:creator>James Revillini</dc:creator>
		<pubDate>Fri, 30 Jul 2010 20:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.krisrange.com/?p=56#comment-25</guid>
		<description>Thanks. I needed a quick and dirty how-to on SVN variable substitution and this guide was just right.  I appreciate you sharing your expertise.</description>
		<content:encoded><![CDATA[<p>Thanks. I needed a quick and dirty how-to on SVN variable substitution and this guide was just right.  I appreciate you sharing your expertise.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

