<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Programming on Captaingolo.net</title>
    <link>https://captaingolo.net/tag/programming/</link>
    <description>Recent content in Programming on Captaingolo.net</description>
    <generator>Hugo -- 0.155.1</generator>
    <language>en-US</language>
    <lastBuildDate>Sun, 02 Dec 2012 20:11:48 +0000</lastBuildDate>
    <atom:link href="https://captaingolo.net/tag/programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Web Frameworks</title>
      <link>https://captaingolo.net/blog/web-frameworks/</link>
      <pubDate>Sun, 02 Dec 2012 20:11:48 +0000</pubDate>
      <guid>https://captaingolo.net/blog/web-frameworks/</guid>
      <description>&lt;p&gt;Java is a great language, but if you have ever tested any scripting language like PHP, Ruby, node.js, you know Java is… Over Engineered.&lt;/p&gt;
&lt;p&gt;You have to write lots of code for anything. Big configuration files, use of application servers, too many classes to perform simple tasks, no support for Collections literals, etc&amp;hellip;&lt;/p&gt;
&lt;p&gt;Because of that, and before I knew the world beyond java, I started &lt;a href=&#34;http://blaapps.org&#34;&gt;Blaapps (Bery Lol AAplication Server)&lt;/a&gt;. A very lightweight application server minded for speed up development of web apps.&lt;/p&gt;</description>
    </item>
    <item>
      <title>(25) playing with bash autocompletion</title>
      <link>https://captaingolo.net/blog/25-playing-with-bash-autocompletion/</link>
      <pubDate>Thu, 10 Mar 2011 11:21:59 +0000</pubDate>
      <guid>https://captaingolo.net/blog/25-playing-with-bash-autocompletion/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Updated:&lt;/strong&gt; as &lt;a href=&#34;http://bicosyes.com&#34;&gt;Blaxter&lt;/a&gt; notes, it&amp;rsquo;s necessary to open a new terminal after editing the &lt;strong&gt;bashrc&lt;/strong&gt; file for the changes to take effect. Also, I&amp;rsquo;ve replaced the tail -n+2 with the -ss option. Thanks &lt;a href=&#34;http://www.xaprb.com/&#34;&gt;Baron Schwartz&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;One of the things I&amp;rsquo;ve been doing lately is doing some cleanup on my laptop.&lt;/p&gt;
&lt;p&gt;There are two things I&amp;rsquo;m constantly using on the shell:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open a project folder&lt;/li&gt;
&lt;li&gt;Connect to a MySQL Database&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;bash-functions&#34;&gt;Bash Functions&lt;/h3&gt;
&lt;p&gt;I first made a bash function to help me with the projects paths:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Blaapps 0.5.0 Released</title>
      <link>https://captaingolo.net/blog/blaapps-0-5-0-released/</link>
      <pubDate>Mon, 24 Aug 2009 21:55:53 +0000</pubDate>
      <guid>https://captaingolo.net/blog/blaapps-0-5-0-released/</guid>
      <description>&lt;p&gt;After 21 months of sporadic work, I&amp;rsquo;ve finished the application for my &amp;ldquo;Thesis&amp;rdquo;. Today I&amp;rsquo;m proud to announce the &lt;a href=&#34;https://sourceforge.net/projects/rudder/&#34;&gt;release&lt;/a&gt; of &lt;a href=&#34;http://www.blaapps.org&#34;&gt;&lt;strong&gt;Blaapps Application Framework&lt;/strong&gt;&lt;/a&gt; version &lt;strong&gt;0.5.0&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve done lots of work transforming rudder Application Server, a previous project, into an Application Framework.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Blaapps Architecture&#34; loading=&#34;lazy&#34; src=&#34;https://captaingolo.net/b/wp-content/uploads/2009/08/blaapps-architecture.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;The Kernel of Blaapps is based on core &lt;strong&gt;Subsystems&lt;/strong&gt;. Two of them are the most important:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Deployer&lt;/li&gt;
&lt;li&gt;Messaging&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The &lt;strong&gt;Deployer&lt;/strong&gt; reads components called &lt;strong&gt;Modules&lt;/strong&gt;, and loads them into memory. Modules are like plugins, hot plug-gable extensions to the application.&lt;/p&gt;</description>
    </item>
    <item>
      <title>I&#39;m twitting again</title>
      <link>https://captaingolo.net/blog/i-m-twitting-again/</link>
      <pubDate>Wed, 29 Apr 2009 18:16:27 +0000</pubDate>
      <guid>https://captaingolo.net/blog/i-m-twitting-again/</guid>
      <description>&lt;p&gt;Yeah!! Twitter have reactivated my account :D. Good news!!&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve written a patch for my wordpress theme and now it reads the caption from twitter :D. I still have to fix some performance problems, but&amp;hellip; here it goes:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;require_once &amp;#39;XML/Feed/Parser.php&amp;#39;;
$feeds = fopen(&amp;#39;http://twitter.com/statuses/user_timeline/26378338.atom&amp;#39;,&amp;#39;r&amp;#39;);
$source = &amp;#34;&amp;#34;;
if ($feeds) {
	while ($s = fread($feeds, 1024)) {
		$source .= $s;
	}
}
$feed = new XML_Feed_Parser($source,false,true,true);
$first_entry = $feed-&amp;gt;getEntryByOffset(0);
$title = $first_entry-&amp;gt;title;
$little_title = substr($title, 13, 30);
$little_title .= (strlen($title) &amp;gt; 43) ? &amp;#39;...&amp;#39; : &amp;#39;&amp;#39;;
print &amp;#34;&amp;lt;a href=\&amp;#34;http://www.twitter.com/capitangolo\&amp;#34;&amp;gt;$little_title&amp;lt;/a&amp;gt;&amp;#34;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;updated&#34;&gt;Updated:&lt;/h3&gt;
&lt;p&gt;Thanks to: &lt;a href=&#34;http://remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step/&#34;&gt;http://remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step/&lt;/a&gt;. Now my tweets are loaded by javascript, so my blog loads much fast :D.&lt;/p&gt;</description>
    </item>
    <item>
      <title>gems - Terminal Broadcasting</title>
      <link>https://captaingolo.net/blog/gems-terminal-broadcasting/</link>
      <pubDate>Thu, 19 Feb 2009 17:52:08 +0000</pubDate>
      <guid>https://captaingolo.net/blog/gems-terminal-broadcasting/</guid>
      <description>&lt;p&gt;We had a issue for the next &lt;a href=&#34;https://captaingolo.net/Blog/?cat=21&#34;&gt;Warp Talk&lt;/a&gt;. All the talk will be done with a shell as presentation tool. But people won&amp;rsquo;t see the text on the shell trough the cam, as it resolution is limited.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://people.warp.es/~isaac/blog/&#34;&gt;Isaac&lt;/a&gt; have found vía &lt;a href=&#34;http://debaday.debian.net/2007/01/10/gems-broadcast-your-terminal/&#34;&gt;Debian package of the day&lt;/a&gt; &lt;strong&gt;Gems&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Gems allows exactly what we need, broadcast a terminal by tcp/ip. Screen would be the first thought, but a ssh connection from unknown people was needed :S.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Apache Authentication with eBox openLDAP</title>
      <link>https://captaingolo.net/blog/apache-authentication-with-ebox-openldap/</link>
      <pubDate>Sat, 31 Jan 2009 19:51:55 +0000</pubDate>
      <guid>https://captaingolo.net/blog/apache-authentication-with-ebox-openldap/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m using &lt;a href=&#34;http://www.ebox-platform.com&#34;&gt;eBox&lt;/a&gt; to manage my server. eBox was mind for enterprise networks, but dns and email modules are very useful for a internet server.&lt;/p&gt;
&lt;p&gt;eBox manages email users with openLDAP (slapd), so I wanted all the services in my server to use the same authentication.&lt;/p&gt;
&lt;p&gt;This is the general configuration for apache authenticating with eBox, wich I use for my SVN repositories:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# LDAP Authentication &amp;amp; Authorization is final; do not check other databases
AuthzLDAPAuthoritative on

# Do basic password authentication in the clear
AuthType basic
AuthBasicProvider ldap

# The name of the protected area or &amp;#34;realm&amp;#34;
AuthName &amp;#34;Triangulo de las merluzas Subversion Repositories&amp;#34;

# Active Directory requires an authenticating DN to access records
# This is the DN used to bind to the directory service
# This is an Active Directory user account
AuthLDAPBindDN &amp;#34;cn=admin,dc=ebox&amp;#34;

# This is the password for the AuthLDAPBindDN user in Active Directory
AuthLDAPBindPassword &amp;#34;secret&amp;#34;

# Group Configuration
AuthLDAPGroupAttributeIsDN off
AuthLDAPGroupAttribute memberUid

# The LDAP query URL
AuthLDAPURL  &amp;#34;ldap://localhost:389/ou=Users,dc=ebox?uid&amp;#34;

# Require authentication for this Location.
# In this case, only developers can use the repository.
Require ldap-group cn=developers,ou=Groups,dc=ebox
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
