<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>I write code, design content and administer servers. I work for an advertising agency in Boston’s North End, building websites for a number of clients. This is my outlet of recently discovered tips &amp; tricks.</description><title>Boston Dev</title><generator>Tumblr (3.0; @bostondev)</generator><link>http://bostondev.tumblr.com/</link><item><title>PHP may suck, but Drupal is awesome</title><description>&lt;p&gt;PHP gets a lot of well-deserved flak for its relatively poor language design, but Jeff Atwood makes a good observation:&lt;/p&gt;
&lt;blockquote&gt;The only conclusion I can draw is that &lt;strong&gt;building a compelling application is far more important than choice of language.&lt;/strong&gt; While PHP wouldn&amp;#8217;t be my choice, and if pressed, I might argue that it should &lt;em&gt;never&lt;/em&gt; be the choice for any rational human being sitting in front of a computer, I can&amp;#8217;t argue with the results.&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://www.codinghorror.com/blog/2008/05/php-sucks-but-it-doesnt-matter.html"&gt;http://www.codinghorror.com/blog/2008/05/php-sucks-but-it-doesnt-matter.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;While PHP may be a poor choice for new applications, there are some amazing applications written in PHP. Namely, the Drupal CMS/Framework is an excellent example of a mature application written in PHP. If Drupal, or a Drupal clone were to be written in another language, I would switch in a heartbeat. Don&amp;#8217;t get me wrong, there are CMS applications for Python and Ruby, but they require a great deal of development just to get the basic features that Drupal has now. &lt;/p&gt;
&lt;p&gt;Umbraco (.NET, mostly C#) is another semi-mature CMS. It&amp;#8217;s not as full-featured as Drupal, but its XML-driven content system is promising. &lt;/p&gt;
&lt;p&gt;Python and Ruby developers: If you build it, they will come.&lt;/p&gt;</description><link>http://bostondev.tumblr.com/post/20843164429</link><guid>http://bostondev.tumblr.com/post/20843164429</guid><pubDate>Tue, 10 Apr 2012 10:52:01 -0400</pubDate><category>Drupal</category><category>php</category><category>umbraco</category><category>python</category><category>ruby</category><category>coding horror</category></item><item><title>Need to add your new tab to your Facebook page?</title><description>&lt;p&gt;Visit this URL:&lt;/p&gt;
&lt;pre&gt;&lt;a href="https://www.facebook.com/dialog/pagetab?app_id="&gt;https://www.facebook.com/dialog/pagetab?app_id=&lt;/a&gt;(your app id)&amp;amp;next=http://apps.facebook.com/(your app url)/&lt;/pre&gt;</description><link>http://bostondev.tumblr.com/post/20801619738</link><guid>http://bostondev.tumblr.com/post/20801619738</guid><pubDate>Mon, 09 Apr 2012 18:02:00 -0400</pubDate><category>facebook</category></item><item><title>Font Icons Provided By: Font Awesome</title><description>&lt;p&gt;This blog makes use of font icons. This set was provided by:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fortawesome.github.com/Font-Awesome/"&gt;&lt;a href="http://fortawesome.github.com/Font-Awesome/"&gt;http://fortawesome.github.com/Font-Awesome/&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://bostondev.tumblr.com/post/20676177327</link><guid>http://bostondev.tumblr.com/post/20676177327</guid><pubDate>Sat, 07 Apr 2012 18:27:46 -0400</pubDate><category>font awesome</category><category>font-face</category></item><item><title>Techie Too!: Remote @font-face embedding for Firefox</title><description>&lt;a href="http://techietoo.tumblr.com/post/204674244/remote-font-face-embedding-for-firefox"&gt;Techie Too!: Remote @font-face embedding for Firefox&lt;/a&gt;: &lt;blockquote&gt;
&lt;p&gt;Firefox 3.5 doesn’t allow @font-face to reference a font that is hosted on a remote server, although Safari does. Firefox simply doesn’t show the font and uses the next font in the font stack. In order to use @font-face on a blog like Tumblr, the .htaccess file on your server that hosts the font file needs to be edited to allow the blog to use the font.&lt;/p&gt;
&lt;p&gt;Edit your server .htaccess file. Add the following to limit the use of your font files to only your Tumblr blogs:&lt;/p&gt;
&lt;pre&gt;&lt;FilesMatch "\.(eot|ttf|otf)$"&gt;
&lt;IfModule mod_headers.c&gt;
Header set Access-Control-Allow-Origin: &lt;a href="http://yourblog.tumblr.com"&gt;http://yourblog.tumblr.com&lt;/a&gt;
Header set Access-Control-Allow-Origin: &lt;a href="http://yourblog2.tumblr.com"&gt;http://yourblog2.tumblr.com&lt;/a&gt;
&lt;/IfModule&gt;
&lt;/FilesMatch&gt;&lt;/pre&gt;
&lt;/blockquote&gt;</description><link>http://bostondev.tumblr.com/post/20674609171</link><guid>http://bostondev.tumblr.com/post/20674609171</guid><pubDate>Sat, 07 Apr 2012 17:58:00 -0400</pubDate><category>firefox</category><category>font awesome</category><category>font-face</category><category>webfonts</category><category>x-domain</category></item><item><title>Install Varnish on CentOS with Plesk 10</title><description>&lt;p&gt;This tutorial is for these software packages:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;CentOS&lt;/li&gt;
&lt;li&gt;Plesk 10&lt;/li&gt;
&lt;li&gt;Apache&lt;/li&gt;
&lt;li&gt;Varnish 3&lt;/li&gt;
&lt;li&gt;Drupal&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;Install Varnish&lt;/h3&gt;
&lt;pre&gt;rpm --nosignature -i &lt;a href="http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm"&gt;http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm&lt;/a&gt;
yum install varnish&lt;/pre&gt;
&lt;h3&gt;Set Varnish Configuration&lt;/h3&gt;
&lt;pre&gt;vim /etc/varnish/new.vcl
backend default {
.host = "x.x.x.x"; #your server's IP
.port = "8080";
.connect_timeout = 60s;
.first_byte_timeout = 10s;
.between_bytes_timeout = 10s;
}
&lt;/pre&gt;
&lt;p&gt;I used the config options in this repo for the rest of new.vcl: &lt;a href="https://github.com/halcyonCorsair/varnish-for-drupal"&gt;https://github.com/halcyonCorsair/varnish-for-drupal&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Point Varnish At Your Config File&lt;/h3&gt;
&lt;pre&gt;vim /etc/sysconfig/varnish
DAEMON_OPTS="-a :80 \
-T localhost:6082 \
-f /etc/varnish/new.vcl \
-u varnish -g varnish \
-S /etc/varnish/secret \
-s file,/var/lib/varnish/varnish_storage.bin,1G"&lt;/pre&gt;
&lt;h3&gt;Point Apache At A Non-Standard Port&lt;/h3&gt;
&lt;pre&gt;vim /etc/httpd/conf/httpd.conf
Change the Listen directive to:
Listen: 8080
&lt;/pre&gt;
&lt;h3&gt;Tell Plesk To Use Your Non-Standard Port For VHosts&lt;/h3&gt;
&lt;p&gt;Log into mysql.&lt;/p&gt;
&lt;pre&gt;use psa;
//plesk database
replace into misc (param, val) values ("http_port", 8080);
&lt;/pre&gt;
&lt;p&gt;(&lt;a href="http://kb.parallels.com/11232"&gt;http://kb.parallels.com/11232&lt;/a&gt;)&lt;/p&gt;
&lt;h3&gt;Flush Plesk VHosts Config&lt;/h3&gt;
&lt;pre&gt;/usr/local/psa/admin/bin/httpdmng --reconfigure-all
&lt;/pre&gt;
&lt;h3&gt;Restart Apache and Varnish&lt;/h3&gt;
&lt;pre&gt;service httpd restart
service varnish restart&lt;/pre&gt;</description><link>http://bostondev.tumblr.com/post/20662699537</link><guid>http://bostondev.tumblr.com/post/20662699537</guid><pubDate>Sat, 07 Apr 2012 14:20:00 -0400</pubDate><category>drupal</category><category>varnish</category><category>CentOS</category><category>Plesk</category><category>Apache</category></item></channel></rss>
