1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-12-26 02:08:13 +00:00
balkian.github.com/author/j-fernando-sanchez.html
J. Fernando Sánchez 2e538f0e6a Generate Pelican site
2015-12-08 16:40:50 +01:00

283 lines
18 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>balkian.com - <h2>Articles by J. Fernando Sánchez</h2>
</title>
<meta name="viewport" content="width=device-width">
<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="/theme/css/solarized.css">
<!--<link href="/css/bootstrap.css" rel="stylesheet">-->
<link rel="stylesheet" href="/theme/font-awesome/css/font-awesome.min.css">
<!--<link rel="stylesheet" href="/css/bootstrap-responsive.min.css">-->
<!-- Custom CSS -->
<link rel="stylesheet" media="only screen" href="/theme/css/main.css">
<link rel="stylesheet" media="only screen and (min-width: 0px) and (max-width: 599px)" href="/theme/css/main-xs.css">
<link rel="stylesheet" media="only screen and (min-width: 600px) and (max-width: 1199px)" href="/theme/css/main-medium.css">
<link rel="stylesheet" media="only screen and (min-width: 1200px)" href="/theme/css/main-desktop.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300|Comfortaa' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="container" class="container">
<header id="header">
<div id="navbar" class="navbar navbar-inverse navbar-static-bottom">
<div class="container">
<div class="navbar-header">
<ul class="nav navbar-nav">
<li class="active" >
<a href="/"><i class="icon-home icon-large"></i></a>
</li>
<li >
<a href="/pages/projects.html">Projects</a>
</li>
<li >
<a href="/pages/to-do.html">To-Do</a>
</li>
<li>
<a href="//jfernando.es" target="_blank">CV</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div id="contentwrapper">
<div id="sidebar" >
<div id="badge" class="flip-container" ontouchstart="this.classList.toggle('hover');">
<div class="flipper sticky">
<div class="front">
<!-- front content -->
<img id="avatar" width=100% src="/theme/img/me.png">
</div>
<div class="back">
<!-- back content -->
<img id="picture" width=100% src="/theme/img/me-bat.png">
</div>
</div>
</div>
<div id="about" style="clear:both;">
<!-- <h1 class="title">Interests</h1> -->
<div class="icons">
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-linux"></i></span><span class="explanation">Linux lover</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-android"></i></span><span class="explanation">Android dev</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-github"></i> </span><span class="explanation">GitHub user</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-stackexchange"></i> </span><span class="explanation">StackExchange fan</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-music"></i> </span><span class="explanation">Music lover</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-film"></i> </span><span class="explanation">Movie fan</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-comments"></i> </span><span class="explanation">Always on IM</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-laptop"></i> </span><span class="explanation">Always on a PC</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-pencil"></i> </span><span class="explanation">Occassional writter</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-moon"></i> </span><span class="explanation">Night owl</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-terminal"></i></span> <span class="explanation">CLI user</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-flag"></i></span> <span class="explanation">Linguist wannabe</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-code"></i> </span> <span class="explanation">Love to code</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-book"></i></span> <span class="explanation">Keen reader</span></span>
<span class="coolicon"><span class="icon-stack"> <i class="icon-check-empty icon-stack-base" ></i><i class="icon-quote-right"></i></span> <span class="explanation">Quotes on demand</span></span>
</div>
</div>
<div class="entries">
<h2 class="title">Latest entries</h2>
<dl>
<dt><a href="/sharing-dotfiles.html">Sharing dotfiles</a></dt>
<a class="tag" href="/tag/github.html"><dd class="label label-default">github</dd></a>
<a class="tag" href="/tag/git.html"><dd class="label label-default">git</dd></a>
<a class="tag" href="/tag/dotfiles.html"><dd class="label label-default">dotfiles</dd></a>
<dt><a href="/zotero.html">Zotero</a></dt>
<a class="tag" href="/tag/zotero.html"><dd class="label label-default">zotero</dd></a>
<a class="tag" href="/tag/webdav.html"><dd class="label label-default">webdav</dd></a>
<a class="tag" href="/tag/nginx.html"><dd class="label label-default">nginx</dd></a>
<a class="tag" href="/tag/apache.html"><dd class="label label-default">apache</dd></a>
<dt><a href="/proxies-with-apache-and-python.html">Proxies with Apache and python</a></dt>
<a class="tag" href="/tag/python.html"><dd class="label label-default">python</dd></a>
<a class="tag" href="/tag/apache.html"><dd class="label label-default">apache</dd></a>
<a class="tag" href="/tag/proxy.html"><dd class="label label-default">proxy</dd></a>
<a class="tag" href="/tag/gunicorn.html"><dd class="label label-default">gunicorn</dd></a>
<a class="tag" href="/tag/uwsgi.html"><dd class="label label-default">uwsgi</dd></a>
<dt><a href="/publishing-on-pypi.html">Publishing on PyPi</a></dt>
<a class="tag" href="/tag/github.html"><dd class="label label-default">github</dd></a>
<a class="tag" href="/tag/python.html"><dd class="label label-default">python</dd></a>
<a class="tag" href="/tag/pypi.html"><dd class="label label-default">pypi</dd></a>
<dt><a href="/updating-eurolovemap.html">Updating EuroLoveMap</a></dt>
<a class="tag" href="/tag/javascript.html"><dd class="label label-default">javascript</dd></a>
<a class="tag" href="/tag/python.html"><dd class="label label-default">python</dd></a>
<a class="tag" href="/tag/heroku.html"><dd class="label label-default">heroku</dd></a>
</dl>
</div>
<!--Sidebar content-->
</div>
<div id="content">
<!--Body content-->
<div class="pagination pag-top">
<span class="previouspage" style="visibility:hidden;"><i class="icon-chevron-sign-left"></i> Newer Posts</span>
<span class="page_number ">Page 1 of 1</span>
<span class="nextpage" style="visibility:hidden;">Older Posts <i class="icon-chevron-sign-right"></i></span>
</div>
<!-- This loops through the paginated posts -->
<div class="posthead">
<h2><a href="/sharing-dotfiles.html" class="title">Sharing dotfiles</a></h2>
<span class="date">2015-04-10</span>
<a class="tag" href="/tag/github.html"><span class="label label-success tag">github</span></a>
<a class="tag" href="/tag/git.html"><span class="label label-success tag">git</span></a>
<a class="tag" href="/tag/dotfiles.html"><span class="label label-success tag">dotfiles</span></a>
</div>
<div class="excerpt">
<p>Today's post is half a quick note, half public shaming. In other words, it is a reminder to be very careful with OAuth tokens and passwords.</p>
<p>As part of moving to emacs, I starting using the incredibly useful <a class="reference external" href="https://github.com/defunkt/gist.el">gh.el</a>.
When you first use it, the extension saves either ...</p>
</div>
<span><a href="/sharing-dotfiles.html"><i class="icon-pl2s"></i> Read more...</a></span>
<div class="posthead">
<h2><a href="/zotero.html" class="title">Zotero</a></h2>
<span class="date">2014-12-09</span>
<a class="tag" href="/tag/zotero.html"><span class="label label-success tag">zotero</span></a>
<a class="tag" href="/tag/webdav.html"><span class="label label-success tag">webdav</span></a>
<a class="tag" href="/tag/nginx.html"><span class="label label-success tag">nginx</span></a>
<a class="tag" href="/tag/apache.html"><span class="label label-success tag">apache</span></a>
</div>
<div class="excerpt">
<p><a class="reference external" href="https://www.zotero.org/">Zotero</a> is an Open Source tool that lets
you organise your bibliography, syncing it with the cloud. Unlike other
alternatives such as <a class="reference external" href="http://www.mendeley.com">Mendeley</a>, Zotero can
upload the attachments and data to a private cloud via WebDav.</p>
<p>If you use nginx as your web server, know that even though it provides ...</p>
</div>
<span><a href="/zotero.html"><i class="icon-pl2s"></i> Read more...</a></span>
<div class="posthead">
<h2><a href="/proxies-with-apache-and-python.html" class="title">Proxies with Apache and python</a></h2>
<span class="date">2014-10-09</span>
<a class="tag" href="/tag/python.html"><span class="label label-success tag">python</span></a>
<a class="tag" href="/tag/apache.html"><span class="label label-success tag">apache</span></a>
<a class="tag" href="/tag/proxy.html"><span class="label label-success tag">proxy</span></a>
<a class="tag" href="/tag/gunicorn.html"><span class="label label-success tag">gunicorn</span></a>
<a class="tag" href="/tag/uwsgi.html"><span class="label label-success tag">uwsgi</span></a>
</div>
<div class="excerpt">
<p>This is a quick note on proxying a local python application (e.g. flask)
to a subdirectory in Apache. This assumes that the file wsgi.py contains
a WSGI application with the name <em>application</em>. Hence, wsgi:application.</p>
<div class="section" id="gunicorn">
<h2>Gunicorn</h2>
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1
2
3
4
5</pre></div></td><td class="code"><div class="highlight"><pre><span class="nt">&lt;Location</span> <span class="s">/myapp/</span><span class="nt">&gt;</span>
<span class="nb">ProxyPass</span> http://127.0.0 ...</pre></div></td></tr></table></div>
</div>
<span><a href="/proxies-with-apache-and-python.html"><i class="icon-pl2s"></i> Read more...</a></span>
<div class="posthead">
<h2><a href="/publishing-on-pypi.html" class="title">Publishing on PyPi</a></h2>
<span class="date">2014-09-27</span>
<a class="tag" href="/tag/github.html"><span class="label label-success tag">github</span></a>
<a class="tag" href="/tag/python.html"><span class="label label-success tag">python</span></a>
<a class="tag" href="/tag/pypi.html"><span class="label label-success tag">pypi</span></a>
</div>
<div class="excerpt">
<p>Developing a python module and publishing it on Github is cool, but most
of the times you want others to download and use it easily. That is the
role of PyPi, the python package repository. In this post I show you how
to publish your package in less than 10 ...</p>
</div>
<span><a href="/publishing-on-pypi.html"><i class="icon-pl2s"></i> Read more...</a></span>
<div class="posthead">
<h2><a href="/updating-eurolovemap.html" class="title">Updating EuroLoveMap</a></h2>
<span class="date">2014-03-27</span>
<a class="tag" href="/tag/javascript.html"><span class="label label-success tag">javascript</span></a>
<a class="tag" href="/tag/python.html"><span class="label label-success tag">python</span></a>
<a class="tag" href="/tag/heroku.html"><span class="label label-success tag">heroku</span></a>
</div>
<div class="excerpt">
<p>As part of the <a class="reference external" href="http://www.opener-project.org/2013/07/18/opener-hackathon-in-amsterdam/">OpeNER
hackathon</a>
we decided to build a prototype that would allow us to compare how
different countries feel about several topics. We used the OpeNER
pipeline to get the sentiment from a set of newspaper articles we
gathered from media in several languages. Then we aggregated ...</p>
</div>
<span><a href="/updating-eurolovemap.html"><i class="icon-pl2s"></i> Read more...</a></span>
<div class="posthead">
<h2><a href="/remove-git-files-with-globbing.html" class="title">Remove git files with globbing</a></h2>
<span class="date">2013-08-22</span>
<a class="tag" href="/tag/git.html"><span class="label label-success tag">git</span></a>
</div>
<div class="excerpt">
<p>A simple trick. If you want to remove all the '.swp' files from a git
repository, just use:</p>
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1</pre></div></td><td class="code"><div class="highlight"><pre>git rm --cached <span class="s1">&#39;\*\*.swp&#39;</span>
</pre></div>
</td></tr></table>
</div>
<span><a href="/remove-git-files-with-globbing.html"><i class="icon-pl2s"></i> Read more...</a></span>
<div class="posthead">
<h2><a href="/creating-my-web.html" class="title">Creating my web</a></h2>
<span class="date">2013-08-22</span>
<a class="tag" href="/tag/starters.html"><span class="label label-success tag">starters</span></a>
<a class="tag" href="/tag/javascript.html"><span class="label label-success tag">javascript</span></a>
<a class="tag" href="/tag/ruby.html"><span class="label label-success tag">ruby</span></a>
<a class="tag" href="/tag/github.html"><span class="label label-success tag">github</span></a>
<a class="tag" href="/tag/git.html"><span class="label label-success tag">git</span></a>
</div>
<div class="excerpt">
<p>Finally, I've decided to set up a decent personal page. I have settled
for github-pages because I like the idea of keeping my site in a
repository and having someone else host and deploy it for me. The site
will be really simple, mostly static files. Thanks to Github ...</p>
</div>
<span><a href="/creating-my-web.html"><i class="icon-pl2s"></i> Read more...</a></span>
<div class="pagination pag-bottom">
<span class="previouspage" style="display:none;"><i class="icon-chevron-sign-left"></i> Newer Posts</span>
<span class="page_number ">Page 1 of 1</span>
<span class="nextpage" style="display:none;">Older Posts <i class="icon-chevron-sign-right"></i></span>
</div>
</div>
<div class="clear"></div>
</div>
<footer role="contentinfo">
<div class="contact">
<p>
J. Fernando Sánchez Rada | balkian
</p>
</div>
<ul id="social">
<li><a href="http://github.com/balkian"><i class="icon-github"></i></a></li>
<li><a href="http://bitbucket.com/balkian"><i class="icon-bitbucket"></i></a></li>
<li><a href="http://twitter.com/balkian"><i class="icon-twitter"></i></a></li>
<li><a href="https://plus.google.com/u/0/111897020957944410316"><i class="icon-google-plus"></i></a></li>
<li><a href="http://linkedin.com/in/jfsanchezrada"><i class="icon-linkedin"></i></a></li>
<li><a href="http://facebook.com/balkian"><i class="icon-facebook-sign"></i></a></li>
</ul>
<p>
Creative Commons A-SA-NC
</p>
</footer>
</div>
<script src="/theme/js/jquery-2.0.2.min.js"></script>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//piwik.sinpapel.es/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 2]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//piwik.sinpapel.es/piwik.php?idsite=2" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<!--<script src="/js/bootstrap.min.js"></script>-->
</body>
</html>