Subscribe: inz's blog
http://inz.fi/blog/feed/
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
conky conky  conky  easy  eating hamburger  hamburger  idea  long long  long  mpz  nice  node wordpress  ssh  unsigned long  unsigned  wanted 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: inz's blog

blog – inz



inz's blog about life, universe and everything



Last Build Date: Thu, 02 Feb 2017 09:29:45 +0000

 



node and wordpress sessions

Thu, 02 Feb 2017 09:27:50 +0000

For a leetle project, I needed a way to validate a wordpress session from node. WordPress uses a somewhat complicated session system, with HMACs and using part of password salt, and was unable to find a ready puzzle piece for the purpose. So I wrote my own. The result is a javascript module. Sample usage: […]



xterm + ssh2 + websocket-stream + browserify = webssh

Mon, 02 Jan 2017 09:24:10 +0000

While pondering ideas for a website facelift, there was an idea to have a terminal for easy ssh access. However, none of the readily available options really suited my fancy; wssh came close, but it was actually doing ssh on the server side, and throwing the raw data inside websockets. Fortunately npm is full of […]



CSS / SVG filters for fun and profit

Thu, 08 Sep 2016 15:02:23 +0000

Nowadays the web technologies support nice and fancy things, such as CSS filters. The basic filters are pretty nice for many interactions, like hover effects etc. However there is also support for SVG effects, which can be really complex and produce some really nice results. I wanted to share some little hacks with which I […]



Made conky eval useful

Mon, 09 Nov 2015 06:44:11 +0000

Conky's eval seems rather useless, at least I couldn't get it do anything I wanted, so I added a little patch to make it more useful (to me): diff --git a/src/conky.c b/src/conky.c index 5848b61..8702cea 100644 --- a/src/conky.c +++ b/src/conky.c @@ -1103,7 +1103,9 @@ void generate_text_internal(char *p, int p_max_size,               […]



Simple SNMP proxying

Thu, 20 Aug 2015 04:34:35 +0000

I recently needed to change my modem due to a technology change, and the new modem did not like to talk SNMP to the big bad Internet. However, it does very happily do so to the local network. While this is probably not an issue for many, I do not have any decently powered server […]



Keyboard URL launching in gnome-terminal

Thu, 11 Dec 2014 06:06:42 +0000

While I have been trying to make my desktop experience lighter, I somehow keep grabbing onto gnome-terminal; I guess it's what I've used to use and that I know how to configure with anti-aliased fonts etc. However, the fact that it is missing the ability to launch URIs from command line was hindering my dwm […]



Wiki with git backend

Fri, 03 Oct 2014 08:16:02 +0000

During a time void, also known as compile time among programmers, I started to play with an idea that had surfaced earlier in lunch time discussions with colleagues. The more I though about it, the worse the idea seemed, and the more I wanted to see how much work it would be. The original idea […]



Eating another hamburger

Tue, 01 Jul 2014 11:41:38 +0000

Remember this hamburger I ate? No? It's alright, why would you. Anyway, the previous one has a big brother. One that is quite angry about what was done to the little one. Well, foolish as I am, I decided to accept the challenge, and went head to head with the behemoth. Not only is the […]



Eating a hamburger

Mon, 26 Sep 2011 08:46:17 +0000

Eating a single simple hamburger, sounds easy right? Well, at least in theory. But sometimes it is not quite that easy. The nightmares are slowly fading away, and I can share my experiences with one devil spawn of a burger. The day started as a pretty good day. A friend was returning from a vacation, […]



Unsigned long long and gmplib

Fri, 23 Sep 2011 15:19:22 +0000

While doing some projecteuler's, I wanted to convert an unsigned long long (64-bit unsigned integer on an 32-bit machine) to mpz_t (and possible vice versa). The API does not have a convenient method for this, but it is possible using the mpz_import and mpz_export; it goes something like this: mpz_t mp; unsigned long long ull […]