<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1841444348398662363</id><updated>2011-10-15T12:04:09.623-07:00</updated><category term='emacs'/><category term='javascript'/><category term='monkey patch'/><category term='cookies'/><category term='rails'/><title type='text'>Dylan on Tech</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dylanontech.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dylanontech.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>dylan</name><uri>http://www.blogger.com/profile/16861133133453534799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1841444348398662363.post-4591423299925657017</id><published>2011-01-14T11:47:00.001-08:00</published><updated>2011-01-14T11:47:39.338-08:00</updated><title type='text'>Testing new embed code</title><content type='html'>&lt;iframe src="https://s3.amazonaws.com/ddp-digitaria-qa-public/public/cache/endpoint_pushes/1680/embed.html" height="345" width="560" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1841444348398662363-4591423299925657017?l=dylanontech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dylanontech.blogspot.com/feeds/4591423299925657017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1841444348398662363&amp;postID=4591423299925657017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/4591423299925657017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/4591423299925657017'/><link rel='alternate' type='text/html' href='http://dylanontech.blogspot.com/2011/01/testing-new-embed-code.html' title='Testing new embed code'/><author><name>dylan</name><uri>http://www.blogger.com/profile/16861133133453534799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1841444348398662363.post-3003570339076215188</id><published>2009-12-18T14:34:00.000-08:00</published><updated>2009-12-18T14:34:40.370-08:00</updated><title type='text'>The OMH Initiative: Increasing CDMA Device Variety</title><content type='html'>&lt;a href="http://www.qualcomm.com/videos/omh-initiative-increasing-cdma-device-variety"&gt;The OMH Initiative: Increasing CDMA Device Variety&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1841444348398662363-3003570339076215188?l=dylanontech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.qualcomm.com/videos/omh-initiative-increasing-cdma-device-variety' title='The OMH Initiative: Increasing CDMA Device Variety'/><link rel='replies' type='application/atom+xml' href='http://dylanontech.blogspot.com/feeds/3003570339076215188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1841444348398662363&amp;postID=3003570339076215188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/3003570339076215188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/3003570339076215188'/><link rel='alternate' type='text/html' href='http://dylanontech.blogspot.com/2009/12/omh-initiative-increasing-cdma-device.html' title='The OMH Initiative: Increasing CDMA Device Variety'/><author><name>dylan</name><uri>http://www.blogger.com/profile/16861133133453534799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1841444348398662363.post-7403538834149994639</id><published>2009-12-18T14:17:00.000-08:00</published><updated>2009-12-18T14:19:02.376-08:00</updated><title type='text'>Cool Videos</title><content type='html'>&lt;object id="vc_details_player" height="333" width="500" type="application/x-shockwave-flash" data="http://content-dev.qualcomm.com/sites/all/themes/qualcomm/swfs/player.swf" style="visibility: visible;"&gt;&lt;param name="menu" value="false"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="quality" value="best"/&gt;&lt;param name="scale" value="noscale"/&gt;&lt;param name="flashvars" value="xmlPath=http://content-dev.qualcomm.com/feeds/video/593/detail.xml&amp;swfPath=http://content-dev.qualcomm.com&amp;mode=embedded"/&gt;&lt;embed src="http://content-dev.qualcomm.com/sites/all/themes/qualcomm/swfs/player.swf?xmlPath=http://content-dev.qualcomm.com/feeds/video/593/detail.xml&amp;mode=embedded" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" scale="noscale" width="500" height="333"&gt;&lt;/embed&gt;&lt;br/&gt;&lt;a href="http://content-dev.qualcomm.com/videos/explore?source=video_center&amp;type=embed&amp;campaignid=partner%20successstory%3Awest%20wireless%20change%20" style="text-decoration:none;font-size:9px;color:#772E96;font-family:Arial;line-height:25px"&gt;View More Qualcomm Videos&lt;/a&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1841444348398662363-7403538834149994639?l=dylanontech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dylanontech.blogspot.com/feeds/7403538834149994639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1841444348398662363&amp;postID=7403538834149994639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/7403538834149994639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/7403538834149994639'/><link rel='alternate' type='text/html' href='http://dylanontech.blogspot.com/2009/12/cool-videos.html' title='Cool Videos'/><author><name>dylan</name><uri>http://www.blogger.com/profile/16861133133453534799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1841444348398662363.post-3403924237064822703</id><published>2008-09-24T19:53:00.001-07:00</published><updated>2008-09-24T20:00:27.681-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='emacs'/><title type='text'>A better javascript emacs mode</title><content type='html'>I have started to dip a little more into more heavy-duty javascript and quickly discovered that the &lt;a href="http://www.brgeight.se/downloads/emacs/javascript.el"&gt;javascript mode I was using&lt;/a&gt; had a very tough time with the closure on object property javascript programming style that seems to be popular now-a-days.   I tried &lt;a href="http://code.google.com/p/js2-mode/"&gt;js2&lt;/a&gt;, but I did not like how the indentation was 'adjustable', i.e. if you keep hitting tab it will move your line all over the place.  I look for consistency in my emacs modes - I want to be able to do M-x h, C-M \ and have everything be all nice and pretty. &lt;br /&gt;&lt;br /&gt;So I settled on this &lt;a href="http://mihai.bazon.net/projects/emacs-javascript-mode"&gt;javascript mode&lt;/a&gt; - which was advertised as having good indentation - and it does!  Hoorah!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1841444348398662363-3403924237064822703?l=dylanontech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dylanontech.blogspot.com/feeds/3403924237064822703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1841444348398662363&amp;postID=3403924237064822703' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/3403924237064822703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/3403924237064822703'/><link rel='alternate' type='text/html' href='http://dylanontech.blogspot.com/2008/09/better-javascript-emacs-mode.html' title='A better javascript emacs mode'/><author><name>dylan</name><uri>http://www.blogger.com/profile/16861133133453534799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1841444348398662363.post-1634925489526862219</id><published>2008-09-24T08:07:00.000-07:00</published><updated>2008-09-24T20:00:51.181-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cookies'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><category scheme='http://www.blogger.com/atom/ns#' term='monkey patch'/><title type='text'>Re-enabling cookie_only in Rails 2.1+</title><content type='html'>Somewhere along the line the 'cookie_only' option stopped working in Rails.  I have needed this param to let me pass the session id in the query string or in a post parameter a couple of times recently, usually b/c I'm developing something in an iframe and 3rd party cookies aren't an option.  There are a couple of solutions out there as to how to get this to work, but none that I found took into account the cookie_only option and they also usually monkey patch the cgi session instead of a part of Rails itself.  I created this version of the session method from cgi_request.rb in Rails - you can drop the below code into a file in config/initializers::&lt;br /&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/12576.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1841444348398662363-1634925489526862219?l=dylanontech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dylanontech.blogspot.com/feeds/1634925489526862219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1841444348398662363&amp;postID=1634925489526862219' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/1634925489526862219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1841444348398662363/posts/default/1634925489526862219'/><link rel='alternate' type='text/html' href='http://dylanontech.blogspot.com/2008/09/re-enabling-cookieonly-in-rails-21.html' title='Re-enabling cookie_only in Rails 2.1+'/><author><name>dylan</name><uri>http://www.blogger.com/profile/16861133133453534799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
