mirror of
https://github.com/balkian/balkian.github.com.git
synced 2024-12-26 02:08:13 +00:00
277 lines
11 KiB
HTML
277 lines
11 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta name="generator" content="Hugo 0.53" />
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||
|
<title>Balkian's site - Balkian's site</title>
|
||
|
<meta name="viewport" content="width=device-width">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<link rel="stylesheet" href="../../font-awesome/css/all.css">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<link rel="stylesheet" media="only screen" href="../../css/main.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">
|
||
|
<div id="contentwrapper">
|
||
|
<div id="content">
|
||
|
<header id="header">
|
||
|
<ul class="navbar" id="navbar">
|
||
|
<a href="../../">
|
||
|
<li
|
||
|
class="active"
|
||
|
>
|
||
|
<i class="fa fa-home fa-large"></i>
|
||
|
</li></a>
|
||
|
|
||
|
|
||
|
<a href="../../post/"><li class='' >Blog
|
||
|
</li></a>
|
||
|
|
||
|
<a href="../../tags/"><li class='' >Tags
|
||
|
</li></a>
|
||
|
|
||
|
<a href="../../cheatsheet/"><li class='' >Cheatsheets
|
||
|
</li></a>
|
||
|
|
||
|
<a href="../../about/"><li class='' >About
|
||
|
</li></a>
|
||
|
|
||
|
<a href="../../project/"><li class='' >Projects
|
||
|
</li></a>
|
||
|
|
||
|
<a href="//jfernando.es" target="_blank"><li>
|
||
|
CV
|
||
|
</li></a>
|
||
|
</ul>
|
||
|
</header>
|
||
|
|
||
|
|
||
|
|
||
|
<div class="entry">
|
||
|
<div class="posthead">
|
||
|
<span class="date">2014/09/27</span>
|
||
|
<h2><a href="../../post/2014-09-23-publishing-to-pypi/" class="title">Publishing on PyPi</a></h2>
|
||
|
|
||
|
<a class="tag" href='../../tags/github'><span class="label">github</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/python'><span class="label">python</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/pypi'><span class="label">pypi</span></a>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
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 minutes.
|
||
|
<div><a href="../../post/2014-09-23-publishing-to-pypi/"><div class="readmore"> Read more...</div></a></div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="entry">
|
||
|
<div class="posthead">
|
||
|
<span class="date">2014/03/27</span>
|
||
|
<h2><a href="../../post/2014-03-27-updating-eurolovemap/" class="title">Updating EuroLoveMap</a></h2>
|
||
|
|
||
|
<a class="tag" href='../../tags/javascript'><span class="label">javascript</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/python'><span class="label">python</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/heroku'><span class="label">heroku</span></a>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
As part of the OpeNER hackathon 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 those articles by category and country (using the source of the article or the language it was written in), obtaining the “overall feeling” of each country about each topic.
|
||
|
<div><a href="../../post/2014-03-27-updating-eurolovemap/"><div class="readmore"> Read more...</div></a></div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="entry">
|
||
|
<div class="posthead">
|
||
|
<span class="date">2013/08/22</span>
|
||
|
<h2><a href="../../post/2013-08-22-remove-git-files-with-globbing/" class="title">Remove git files with globbing</a></h2>
|
||
|
|
||
|
<a class="tag" href='../../tags/git'><span class="label">git</span></a>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<p>A simple trick. If you want to remove all the ‘.swp’ files from a git
|
||
|
repository, just use:</p>
|
||
|
<div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
|
||
|
<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;">
|
||
|
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7c7c79">1
|
||
|
</span></code></pre></td>
|
||
|
<td style="vertical-align:top;padding:0;margin:0;border:0;">
|
||
|
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">git rm --cached <span style="color:#e6db74">'**.swp'</span></code></pre></td></tr></table>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="entry">
|
||
|
<div class="posthead">
|
||
|
<span class="date">2013/08/22</span>
|
||
|
<h2><a href="../../post/2013-08-17-creating-my-web/" class="title">Creating my web</a></h2>
|
||
|
|
||
|
<a class="tag" href='../../tags/starters'><span class="label">starters</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/javascript'><span class="label">javascript</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/ruby'><span class="label">ruby</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/github'><span class="label">github</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/git'><span class="label">git</span></a>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
I’ve finally 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, Jekyll will automatically generate static pages for my posts every time I commit anything new to this repository.
|
||
|
<div><a href="../../post/2013-08-17-creating-my-web/"><div class="readmore"> Read more...</div></a></div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<div class="pagination pag-bottom">
|
||
|
|
||
|
<span class="previouspage"><i class="icon-chevron-sign-left"></i><a href="../../"> Previous Page</a></span>
|
||
|
|
||
|
|
||
|
|
||
|
<span class="nextpage" style="display:none;">Older Posts <i class="icon-chevron-sign-right"></i></span>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div id="sidebar" class="fixed">
|
||
|
<div id="badge" class="flip-container" ontouchstart="this.classList.toggle('hover');">
|
||
|
<div class="flipper sticky">
|
||
|
<div class="front">
|
||
|
|
||
|
<img id="avatar" src="../../img/me.png">
|
||
|
</div>
|
||
|
<div class="back">
|
||
|
|
||
|
<img id="picture" src="../../img/me-bat.png">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="about">
|
||
|
|
||
|
<div class="icons">
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fab fa-inverse fa-stack-1x fa-linux"></i></span><span class="explanation">Linux user</span></span>
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fab fa-inverse fa-stack-1x fa-android"></i></span><span class="explanation">Android dev and user</span></span>
|
||
|
<a href="http://github.com/balkian" target="_blank"><span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fab fa-inverse fa-stack-1x fa-github"></i> </span><span class="explanation">Github user</span></span></a>
|
||
|
<a href="http://gitlab.com/balkian" target="_blank"><span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fab fa-inverse fa-stack-1x fa-gitlab"></i> </span><span class="explanation">GitLab user</span></span></a>
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fab fa-inverse fa-stack-1x fa-stack-exchange"></i> </span><span class="explanation">StackExchange fan</span></span>
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fas fa-inverse fa-stack-1x fa-music"></i> </span><span class="explanation">Music lover</span></span>
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fas fa-inverse fa-stack-1x fa-film"></i> </span><span class="explanation">Movie fan</span></span>
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fas fa-inverse fa-stack-1x fa-laptop"></i> </span><span class="explanation">Always on a PC</span></span>
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fas fa-inverse fa-stack-1x fa-moon"></i> </span><span class="explanation">Night owl</span></span>
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fas fa-inverse fa-stack-1x fa-terminal"></i></span> <span class="explanation">CLI user</span></span>
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fas fa-inverse fa-stack-1x fa-flag"></i></span> <span class="explanation">I love languages</span></span>
|
||
|
<span class="coolicon"><span class="fa-stack"> <i class="fas fa-square fa-stack-2x" ></i><i class="fas fa-inverse fa-stack-1x fa-code"></i> </span> <span class="explanation">I love programming</span></span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="entries">
|
||
|
<h2 class="title">Latest entries</h2>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<dt><a href="../../post/2019-01-06-zigbee2mqtt/">Controlling Zigbee devices with MQTT</a></dt>
|
||
|
|
||
|
<a class="tag" href='../../tags/mqtt'><span class="label">mqtt</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/iot'><span class="label">iot</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/zigbee'><span class="label">zigbee</span></a>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<dt><a href="../../post/2016-09-28-tqdm/">Progress bars in python</a></dt>
|
||
|
|
||
|
<a class="tag" href='../../tags/python'><span class="label">python</span></a>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<dt><a href="../../post/2015-04-10-github-dotfiles/">Sharing dotfiles</a></dt>
|
||
|
|
||
|
<a class="tag" href='../../tags/github'><span class="label">github</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/git'><span class="label">git</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/dotfiles'><span class="label">dotfiles</span></a>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<dt><a href="../../post/2014-12-09-zotero/">Zotero</a></dt>
|
||
|
|
||
|
<a class="tag" href='../../tags/zotero'><span class="label">zotero</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/webdav'><span class="label">webdav</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/nginx'><span class="label">nginx</span></a>
|
||
|
|
||
|
<a class="tag" href='../../tags/apache'><span class="label">apache</span></a>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="clear"></div>
|
||
|
</div>
|
||
|
<footer class="pagefooter" 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="fab fa-github"></i></a></li>
|
||
|
<li><a href="http://lab.gsi.upm.es/balkian"><i class="fab fa-gitlab"></i></a></li>
|
||
|
<li><a href="http://twitter.com/balkian"><i class="fab fa-twitter"></i></a></li>
|
||
|
<li><a href="http://git.sinpapel.es/balkian"><i class="fab fa-git"></i></a></li>
|
||
|
<li><a href="http://linkedin.com/in/jfsanchezrada"><i class="fab fa-linkedin"></i></a></li>
|
||
|
</ul>
|
||
|
<p>
|
||
|
<i class="fab fa-creative-commons"></i> Creative Commons A-SA-NC
|
||
|
</p>
|
||
|
</footer>
|
||
|
</div>
|
||
|
|
||
|
<script src="../../js/jquery-2.0.2.min.js"></script>
|
||
|
</body>
|
||
|
</html>
|