<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Joshua Flanagan (Los Techies) - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-81cc681e" type="application/json"/><link>http://joshuaflanaganlt.disqus.com/</link><description></description><atom:link href="http://joshuaflanaganlt.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 13 Mar 2013 23:50:16 -0000</lastBuildDate><item><title>Re: Tips for building Nuget packages</title><link>http://lostechies.com/joshuaflanagan/2011/06/23/tips-for-building-nuget-packages/#comment-828721020</link><description>&lt;p&gt;Yea a bit late here but I have a question.  Lets say I have a core library which is made up of a couple of projects, and I use this in some of my other apps.  There is one root project which consumes the rest of the projects in the core so I can create a nuget pkg for that and include &amp;lt;files&amp;gt; for the rest of the dlls.  But what if I want the source ( symbols ) should I do as you illustrate here&lt;br&gt; &amp;lt;file src="..\..\src\Bottles\**\*.cs" target="src"&amp;gt;&lt;br&gt;but for all the projects? Like &lt;br&gt; &amp;lt;file src="..\..\src\proj1\**\*.cs" target="src"&amp;gt;&lt;br&gt; &amp;lt;file src="..\..\src\proj2\**\*.cs" target="src"&amp;gt;&lt;br&gt; &amp;lt;file src="..\..\src\proj3\**\*.cs" target="src"&amp;gt;&lt;br&gt; or should I create a nuget pkg for each project and have my root and the rest of them consume each others pkgs?  some how the latter seems messy and the former seems hacky. &lt;br&gt;does this make any sense?  &lt;br&gt;Thanks,&lt;br&gt;Raif&amp;lt;/file&amp;gt;&amp;lt;/file&amp;gt;&amp;lt;/file&amp;gt;&amp;lt;/file&amp;gt;&amp;lt;/files&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Raif</dc:creator><pubDate>Wed, 13 Mar 2013 23:50:16 -0000</pubDate></item><item><title>Re: Coordinating multiple ajax requests with jquery.when</title><link>http://lostechies.com/joshuaflanagan/2011/10/20/coordinating-multiple-ajax-requests-with-jquery-when/#comment-808493954</link><description>&lt;p&gt;Good catch - fixed! As you can see in the jsfiddle, that line closed the jQuery onReady callback, which wasn't included in this snippet.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshuaflanagan</dc:creator><pubDate>Fri, 22 Feb 2013 10:23:57 -0000</pubDate></item><item><title>Re: Coordinating multiple ajax requests with jquery.when</title><link>http://lostechies.com/joshuaflanagan/2011/10/20/coordinating-multiple-ajax-requests-with-jquery-when/#comment-808279233</link><description>&lt;p&gt;line 9 should not be really there :) I suppose that is cp fail :) &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kalina Todorova</dc:creator><pubDate>Fri, 22 Feb 2013 07:02:07 -0000</pubDate></item><item><title>Re: How we handle application configuration</title><link>http://lostechies.com/joshuaflanagan/2009/07/13/how-we-handle-application-configuration/#comment-801062113</link><description>&lt;p&gt;I do not work with .NET anymore, but I'm pretty sure my old teammates still use some form of this approach. The best place to ask for details on the latest approach, and possibly code, is probably the FubuMVC mailing list:&lt;br&gt;&lt;a href="https://groups.google.com/forum/?fromgroups#!forum/fubumvc-devel" rel="nofollow"&gt;https://groups.google.com/foru...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshuaflanagan</dc:creator><pubDate>Fri, 15 Feb 2013 21:48:47 -0000</pubDate></item><item><title>Re: How we handle application configuration</title><link>http://lostechies.com/joshuaflanagan/2009/07/13/how-we-handle-application-configuration/#comment-800504592</link><description>&lt;p&gt;Hi Joshua,&lt;/p&gt;

&lt;p&gt;Its been 3 years since you posted this, so plenty of time for real world testing :-) I was wondering - do you still use this solution for your new projects?  Also, do you have any source code of this?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Richard Brown</dc:creator><pubDate>Fri, 15 Feb 2013 12:25:42 -0000</pubDate></item><item><title>Re: Use gitk to understand git – merge and rebase</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git-merge-and-rebase/#comment-769037294</link><description>&lt;p&gt;A very good introduction - has made many things clear and gives a route to future investigation and understanding. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pdcurtis</dc:creator><pubDate>Tue, 15 Jan 2013 14:41:02 -0000</pubDate></item><item><title>Re: Use gitk to understand git – merge and rebase</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git-merge-and-rebase/#comment-745458471</link><description>&lt;p&gt;Thanks for the sharing. It is a good walkthrough&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JIM</dc:creator><pubDate>Sat, 22 Dec 2012 03:57:32 -0000</pubDate></item><item><title>Re: How to use a tool installed by Nuget in your build scripts</title><link>http://lostechies.com/joshuaflanagan/2011/06/24/how-to-use-a-tool-installed-by-nuget-in-your-build-scripts/#comment-742110195</link><description>&lt;p&gt;I found an easier fix. Apparently 'CD" does work with wildcards. So in your build event you do:&lt;br&gt;CD "$(SolutionDir)packages\MyAwesomeTool*\tools"&lt;br&gt;CALL MyAwesomeTool.cmd&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark</dc:creator><pubDate>Tue, 18 Dec 2012 15:26:38 -0000</pubDate></item><item><title>Re: Use gitk to understand git – merge and rebase</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git-merge-and-rebase/#comment-735266332</link><description>&lt;p&gt;really good one, do you have some other tutorials &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Akhil Sikri</dc:creator><pubDate>Thu, 13 Dec 2012 16:33:04 -0000</pubDate></item><item><title>Re: Use gitk to understand git</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git/#comment-732995659</link><description>&lt;p&gt;Excellent post!! helped a lot in understanding GIT!! &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ayush</dc:creator><pubDate>Tue, 11 Dec 2012 04:08:55 -0000</pubDate></item><item><title>Re: Use gitk to understand git – merge and rebase</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git-merge-and-rebase/#comment-712576839</link><description>&lt;p&gt;Hi Joshua,&lt;/p&gt;

&lt;p&gt;I often read tutorials on the web, but this is the first time I add a comment just to say thank you - thank you for the great explanation of git using gitk !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karsten</dc:creator><pubDate>Sat, 17 Nov 2012 07:34:01 -0000</pubDate></item><item><title>Re: How to resolve a binary file conflict with Git</title><link>http://lostechies.com/joshuaflanagan/2010/01/29/how-to-resolve-a-binary-file-conflict-with-git/#comment-707790315</link><description>&lt;p&gt;git status --porcelain | sed -r -e 's/...(.*)/git checkout --theirs .\/\1/' &amp;gt;../tmp&lt;br&gt;mv ../tmp .&lt;br&gt;./tmp&lt;br&gt;rm tmp&lt;/p&gt;

&lt;p&gt;this work's for me.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Skydiver</dc:creator><pubDate>Sun, 11 Nov 2012 16:27:49 -0000</pubDate></item><item><title>Re: Coordinating multiple ajax requests with jquery.when</title><link>http://lostechies.com/joshuaflanagan/2011/10/20/coordinating-multiple-ajax-requests-with-jquery-when/#comment-631428624</link><description>&lt;p&gt;with when if one request fails then they all fail. how can you wait for everything to execute even failures?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Feinberg</dc:creator><pubDate>Mon, 27 Aug 2012 20:53:32 -0000</pubDate></item><item><title>Re: Validate a Facebook JavaScript SDK cookie with Ruby</title><link>http://lostechies.com/joshuaflanagan/2010/11/17/validate-a-facebook-javascript-sdk-cookie-with-ruby/#comment-629671630</link><description>&lt;p&gt;Thanks Joshua! Its working great! &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shogo</dc:creator><pubDate>Sun, 26 Aug 2012 13:54:48 -0000</pubDate></item><item><title>Re: Validate a Facebook JavaScript SDK cookie with Ruby</title><link>http://lostechies.com/joshuaflanagan/2010/11/17/validate-a-facebook-javascript-sdk-cookie-with-ruby/#comment-628598633</link><description>&lt;p&gt;I did not update to use a 3rd party SDK. I only needed to make a few changes to my code:&lt;/p&gt;

&lt;p&gt;cookie = request.cookies["fbsr_#{@fb_app_id}"]&lt;/p&gt;

&lt;p&gt;fb_info = JSON.parse(urldecode64(cookie.split('.',2)[1]))&lt;/p&gt;

&lt;p&gt;def urldecode64(str)&lt;br&gt;  encoded_str = &lt;a href="http://str.tr" rel="nofollow"&gt;str.tr&lt;/a&gt;('-_', '+/')&lt;br&gt;  encoded_str += '=' while !(encoded_str.size % 4).zero?&lt;br&gt;  Base64.decode64(encoded_str)&lt;br&gt;end&lt;/p&gt;

&lt;p&gt;def valid_cookie?&lt;br&gt;  return false unless cookie&lt;br&gt;  return false if fb_info['algorithm'].to_s.upcase != 'HMAC-SHA256'&lt;br&gt;  encoded_sig, payload = cookie.split('.', 2)&lt;br&gt;  sig = urldecode64(encoded_sig)&lt;br&gt;  expected_sig = OpenSSL::HMAC.digest('sha256', settings.fb_app_secret, payload)&lt;br&gt;  expected_sig == sig&lt;br&gt;end&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshuaflanagan</dc:creator><pubDate>Sat, 25 Aug 2012 10:40:06 -0000</pubDate></item><item><title>Re: Validate a Facebook JavaScript SDK cookie with Ruby</title><link>http://lostechies.com/joshuaflanagan/2010/11/17/validate-a-facebook-javascript-sdk-cookie-with-ruby/#comment-628360577</link><description>&lt;p&gt;for the mean time, Andrew from the #facebook chatroom on &lt;a href="http://irc.freenode.net" rel="nofollow"&gt;irc.freenode.net&lt;/a&gt; advised me to look at the PHP opensource code to see how they do it.  This code looks like a good place to start:  &lt;a href="https://github.com/facebook/facebook-php-sdk/blob/master/src/base_facebook.php#L987" rel="nofollow"&gt;https://github.com/facebook/fa...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shogo</dc:creator><pubDate>Sat, 25 Aug 2012 04:06:48 -0000</pubDate></item><item><title>Re: Validate a Facebook JavaScript SDK cookie with Ruby</title><link>http://lostechies.com/joshuaflanagan/2010/11/17/validate-a-facebook-javascript-sdk-cookie-with-ruby/#comment-628317216</link><description>&lt;p&gt;Thanks for the warning Joshua.  Are you planning to move to one of the various 3rd party ruby sdks listed on:  &lt;a href="https://developers.facebook.com/tools/third-party-sdks/#ruby" rel="nofollow"&gt;https://developers.facebook.co...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm not sure if any of them satisfy:&lt;br&gt; 1. Sinatra&lt;br&gt; 2. Integration with the Facebook SDK for Javascript&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shogo</dc:creator><pubDate>Sat, 25 Aug 2012 02:20:15 -0000</pubDate></item><item><title>Re: Validate a Facebook JavaScript SDK cookie with Ruby</title><link>http://lostechies.com/joshuaflanagan/2010/11/17/validate-a-facebook-javascript-sdk-cookie-with-ruby/#comment-627608541</link><description>&lt;p&gt;This article is now out of date. I discovered the same problem recently. The cookie now comes through as "fbsr_#{@fb_app_id }", and I think it is intended to be used in a different way. See some discussion here: &lt;a href="http://stackoverflow.com/questions/7206204/new-js-sdk-with-oauth-2-0-saving-subdomain-in-fbsr-cookie" rel="nofollow"&gt;http://stackoverflow.com/quest...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I will update this article with a warning.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshuaflanagan</dc:creator><pubDate>Fri, 24 Aug 2012 09:11:10 -0000</pubDate></item><item><title>Re: Validate a Facebook JavaScript SDK cookie with Ruby</title><link>http://lostechies.com/joshuaflanagan/2010/11/17/validate-a-facebook-javascript-sdk-cookie-with-ruby/#comment-627502949</link><description>&lt;p&gt;cookie = request.cookies["fbs_#{@fb_app_id}"]&lt;br&gt;on the sinatra server side, my cookie is nil. I am logged in with the javascript sdk with status and cookie set to true for FB.init&lt;br&gt;i even hardcoded fbs_123456 #thats not my real app id of course.&lt;br&gt;I found your article because 3rd party tools like fb_graph are not working with the javascript sdk (or I can't get it to work).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shogo</dc:creator><pubDate>Fri, 24 Aug 2012 05:24:40 -0000</pubDate></item><item><title>Re: Use gitk to understand git – merge and rebase</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git-merge-and-rebase/#comment-562721807</link><description>&lt;p&gt;Good explanation&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Navk24</dc:creator><pubDate>Wed, 20 Jun 2012 08:25:21 -0000</pubDate></item><item><title>Re: Use gitk to understand git – merge and rebase</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git-merge-and-rebase/#comment-561571634</link><description>&lt;p&gt;Thanks for the great post!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Prasanna N</dc:creator><pubDate>Tue, 19 Jun 2012 01:12:01 -0000</pubDate></item><item><title>Re: Use gitk to understand git</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git/#comment-561529427</link><description>&lt;p&gt;Excellent post introducing gitk. Started using it extensively, thanks to you :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Prasanna N</dc:creator><pubDate>Mon, 18 Jun 2012 23:52:00 -0000</pubDate></item><item><title>Re: Use gitk to understand git</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git/#comment-559731733</link><description>&lt;p&gt;Does rebase look like the same?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aditya menon</dc:creator><pubDate>Sat, 16 Jun 2012 10:06:14 -0000</pubDate></item><item><title>Re: Use gitk to understand git – merge and rebase</title><link>http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-git-merge-and-rebase/#comment-504354078</link><description>&lt;p&gt;GREAT JOB!  I've been struggling trying to learn Git as I go.  I've accumulated a ton of bookmarked information, but I think I can throw most of it away now.  Not only did you do a great job explaining Gitk, but provided a tremendous boost to my understanding of Git; just what you said you'd do!&lt;/p&gt;

&lt;p&gt;One minor thing I did not understand.  When you did the "git merge issue123", the commits shown in the "top pane" (does that pane have a name?) moved from being in line under master to being in line under issue123.  &lt;/p&gt;

&lt;p&gt;What is the significance of that shift ?&lt;/p&gt;

&lt;p&gt;Are you thinking about a series on Git Gui?&lt;/p&gt;

&lt;p&gt;thanks so much!&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mga555</dc:creator><pubDate>Fri, 20 Apr 2012 15:58:09 -0000</pubDate></item><item><title>Re: Coordinating multiple ajax requests with jquery.when</title><link>http://lostechies.com/joshuaflanagan/2011/10/20/coordinating-multiple-ajax-requests-with-jquery-when/#comment-501238115</link><description>&lt;p&gt;Excellent writeup. Thanks a lot. Your explanation clarified this in a way that the docs couldn't. Thanks again!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">HB</dc:creator><pubDate>Wed, 18 Apr 2012 18:27:13 -0000</pubDate></item></channel></rss>