1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-11-05 03:21:42 +00:00
balkian.github.com/post/index.xml
2019-12-11 14:33:45 +01:00

132 lines
8.1 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on Balkian&#39;s site</title>
<link>/post/</link>
<description>Recent content in Posts on Balkian&#39;s site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</copyright>
<lastBuildDate>Sat, 01 Jun 2019 00:00:01 +0000</lastBuildDate>
<atom:link href="/post/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Linux on the Microsoft Surface Go</title>
<link>/post/2019-05-01-surface-go/</link>
<pubDate>Sat, 01 Jun 2019 00:00:01 +0000</pubDate>
<guid>/post/2019-05-01-surface-go/</guid>
<description>&lt;p&gt;Believe it or not, Surface tablets have pretty good linux support, except for the webcams in newer models.
These are some useful notes to get Ubuntu installed in your surface go, as of Summer 2019.&lt;/p&gt;</description>
</item>
<item>
<title>Controlling Zigbee devices with MQTT</title>
<link>/post/2019-01-06-zigbee2mqtt/</link>
<pubDate>Sun, 06 Jan 2019 10:00:00 +0000</pubDate>
<guid>/post/2019-01-06-zigbee2mqtt/</guid>
<description>This is a short tutorial on connecting a zigbee device (an Aqara cube) to an MQTT server, so you can control your zigbee devices from the network.
If you&#39;re anything like me, you&#39;re probably a sucker for IoT devices. For a long time, I&#39;ve been using WiFi-enabled lights, and Amazon dash buttons to control them.</description>
</item>
<item>
<title>Progress bars in python</title>
<link>/post/2016-09-28-tqdm/</link>
<pubDate>Wed, 28 Sep 2016 18:47:00 +0000</pubDate>
<guid>/post/2016-09-28-tqdm/</guid>
<description>tqdm is a nice way to add progress bars in the command line or in a jupyter notebook.
1 2 3 4 5 from tqdm import tqdm import time for i in tqdm(range(100)): time.sleep(1) </description>
</item>
<item>
<title>Sharing dotfiles</title>
<link>/post/2015-04-10-github-dotfiles/</link>
<pubDate>Fri, 10 Apr 2015 17:47:00 +0000</pubDate>
<guid>/post/2015-04-10-github-dotfiles/</guid>
<description>Today&#39;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.
As part of moving to emacs, I starting using the incredibly useful gh.el. When you first use it, the extension saves either your password or an OAuth token in your .</description>
</item>
<item>
<title>Zotero</title>
<link>/post/2014-12-09-zotero/</link>
<pubDate>Tue, 09 Dec 2014 12:12:12 +0000</pubDate>
<guid>/post/2014-12-09-zotero/</guid>
<description>Zotero is an Open Source tool that lets you organise your bibliography, syncing it with the cloud. Unlike other alternatives such as Mendeley, Zotero can upload the attachments and data to a private cloud via WebDav.
If you use nginx as your web server, know that even though it provides partial support for webdav, Zotero needs more than that.</description>
</item>
<item>
<title>Proxies with Apache and python</title>
<link>/post/2014-10-09-proxies/</link>
<pubDate>Thu, 09 Oct 2014 10:00:00 +0000</pubDate>
<guid>/post/2014-10-09-proxies/</guid>
<description>&lt;p&gt;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 &lt;em&gt;application&lt;/em&gt;. Hence, wsgi:application.&lt;/p&gt;
&lt;h2 id=&#34;gunicorn&#34;&gt;Gunicorn&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;
&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;
&lt;pre style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code&gt;&lt;span style=&#34;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1
&lt;/span&gt;&lt;span style=&#34;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;2
&lt;/span&gt;&lt;span style=&#34;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;3
&lt;/span&gt;&lt;span style=&#34;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;4
&lt;/span&gt;&lt;span style=&#34;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;5
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;
&lt;pre style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4&#34;&gt;&lt;code class=&#34;language-apache&#34; data-lang=&#34;apache&#34;&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;Location&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;/myapp/&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;
ProxyPass http://127.0.0.1:8888/myapp/
ProxyPassReverse http://127.0.0.1:8888/myapp/
RequestHeader set SCRIPT_NAME &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/myapp/&amp;#34;&lt;/span&gt;
&lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;/Location&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
</item>
<item>
<title>Publishing on PyPi</title>
<link>/post/2014-09-23-publishing-to-pypi/</link>
<pubDate>Sat, 27 Sep 2014 10:00:00 +0000</pubDate>
<guid>/post/2014-09-23-publishing-to-pypi/</guid>
<description>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.</description>
</item>
<item>
<title>Updating EuroLoveMap</title>
<link>/post/2014-03-27-updating-eurolovemap/</link>
<pubDate>Thu, 27 Mar 2014 14:00:00 +0000</pubDate>
<guid>/post/2014-03-27-updating-eurolovemap/</guid>
<description>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 &amp;ldquo;overall feeling&amp;rdquo; of each country about each topic.</description>
</item>
<item>
<title>Remove git files with globbing</title>
<link>/post/2013-08-22-remove-git-files-with-globbing/</link>
<pubDate>Thu, 22 Aug 2013 23:14:00 +0000</pubDate>
<guid>/post/2013-08-22-remove-git-files-with-globbing/</guid>
<description>A simple trick. If you want to remove all the &amp;lsquo;.swp&amp;rsquo; files from a git repository, just use:
1 git rm --cached &amp;#39;**.swp&amp;#39; </description>
</item>
<item>
<title>Creating my web</title>
<link>/post/2013-08-17-creating-my-web/</link>
<pubDate>Thu, 22 Aug 2013 14:14:22 +0000</pubDate>
<guid>/post/2013-08-17-creating-my-web/</guid>
<description>I&#39;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.</description>
</item>
</channel>
</rss>