In this blog post we will show you how you can stream Video on Demand through HLS protocol, using only free open-source tools, as nginx web server and ffmpeg. First of all, let’s explain shortly what HLS is. HTTP Live Streaming (also known as HLS) is an HTTP-based media streaming communications protocol implemented by Apple.… Continue reading HLS Video on Demand streaming
If you have “cannot parse ‘whatever_my_key’ as hex bytes” when you try to query Cassandra for some data, as in example below: [code language=”bash”] [default@CassandraCluster] get ServerLog[‘my_key’] limit 10; org.apache.cassandra.db.marshal.MarshalException: cannot parse ‘my_key’ as hex bytes [/code] then you must set the client-side encoding with assume command: [code language=”bash”] [default@CassandraCluster] assume ServerLog keys as utf8;… Continue reading Cassandra cannot parse ‘my_key’ as hex bytes
It took me a while to figure out how to delete a Property (web site) from Google Analytics, mainly because is not so obvious and also Google Help… actually doesn’t help too much. In your Google Analytics account: 1. Click on the Property you want to delete (eg: razvantudorica.com). 2. Click on first profile (eg:… Continue reading Delete Google Analytics Profile/Website
Mount FreeBSD iso image (or any other iso, on freebsd machine). [bash] mdconfig -a -t vnode -f /patg/to/FreeBSD-9.0-RELEASE-i386-disc1.iso -u 1 #mkdir -p /mnt/cdrom mount -t cd9660 /dev/md1 /mnt/cdrom/ [/bash] To unmount [bash] umount /mnt/cdrom/ mdconfig -d -u 1 [/bash]
After I messed up a svn repo because of a wrong merge I started to read svn book and how to properly merge a branch into trunk. Let’s assume you have a branch called my-branch. 1. Go into branch folder (/var/www/my-branch) To be sure you are in the branch folder just type svn info. You… Continue reading SVN how to merge branch into trunk
If you did something wrong and created a lot of files in a mercurial repo, you can delete all very quickly with this [bash] hg st | grep ‘^?’ | cut -d ‘ ‘ -f 2 | xargs rm [/bash] Be carefully to execute “hg add” for files you intend to keep otherwise you will… Continue reading Batch remove from Mercurial repo
What can I say?… wow… High-res of this photo here.
I’m a web developer from Romania (currently working in Netherlands) and this is my first WebDev Blog. I don’t know yet what I will write here so meanwhile I invite you to read my blogroll.