Riot.js – nice React alternative

Riot.js – nice React alternative

Recently I’m looking for easier versions of popular libraries. There is a lot of buzz around Facebook React.js library, but i found it not especially user / developer friendly – at least at first glitch. Obviously some people says that it’s not so complicated, but… there is something super simple and super light – Riot.js .

interesting jQuery alternative – laroux.js

interesting jQuery alternative – laroux.js

If we are talking about jQuery alternatives there is not much on the market. With age jQuery put a little bit on weight, not mentioning it’s speed. If we are talking about weight and speed we have Zepto.js and… we can use pure JavaScript which isn’t especially convenient in larger  projects. But definitely it’s much more but… it’s faster.

Apache and PHP on OS X Yosemite

Apache and PHP on OS X Yosemite

It’s just a short instructions how to run Apache and PHP on OS X Yosemite.

PHP and Apache are already there – just need to run Apache and enable PHP. Video showing up whole process is available here:

Here you can check out exact changes.

Firsting first – we have to run Apache

sudo apachectl start

Then make some changes in httpd.conf file

sudo nano /etc/apache2/httpd.conf

Find two lines

LoadModule rewrite_module libexec/apache2/mod_rewrite.so
LoadModule php5_module libexec/apache2/libphp5.so

and uncomment them. To enable PHP and mod_rewrite.
And then restart Apache –

FFmpeg on AMI Linux and CentOS the easy way

FFmpeg on AMI Linux and CentOS the easy way

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video.

All you need to do is just install one more repository:
http://rpmfusion.org/Configuration

wget http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
sudo rpm -Uhv rpmfusion-free-release-6-1.noarch.rpm
wget http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
sudo rpm -Uhv rpmfusion-nonfree-release-6-1.noarch.rpm
sudo yum install ffmpeg

Done.
ffmpeg version 0.10.15 Copyright (c) 2000-2014 the FFmpeg developers built on Aug 30 2014 15:49:19 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)

Obviously there is no fun with FFmpeg if you don’t have anything to convert. I needed to crop vertical videos from iPad to square – Vine like format.