HTML5 video webm not playing?

Your server not playing webm, then try adding this lines:

application/ogg ogx;
audio/ogg oga ogg spx;
video/ogg ogv;
video/webm webm;
audio/webm weba;
video/mp4 mp4;
audio/mpeg m4a;

Tribute to Steve Jobs

Steve Jobs

http://www.google.com/search?q=tribute+to+steve+jobs

Downloading certain type of documents from a website with wget

Just type this to terminal.
wget -r -A.doc http://pour-website.com

Further reading:
http://www.thegeekstuff.com/2009/09/the-ultimate-wget-download-guide-with-15-awesome-examples/

Adding referrer to header nginx proxy

If you want to adding referrer information to your proxy header, you should add following lines.

location @proxy {
                proxy_pass http://proxy:8090;
                proxy_set_header referrer $http_referer;
        }

cross browser caps lock detection with turkish characters

The first version of script get from

http://www.codeproject.com/KB/scripting/Detect_Caps_Lock.aspx

Finding a keyword inside of files in Linux

find /path/to/search/ -type f -exec grep -l "keyword" {} \;

rm -rf exlude option for bash

ls|grep -v ^EXCLUDE_DIR|xargs rm -rf
Removing all but not EXCLUDE_DIR, that’s the command you may use.

WTF Oriented Programming with .Net

Imagine a programming language at 2000s that still uses goto. This is really WTF Oriented Programming :D

How to install and configure a Liferay on mysql cluster ndb

Hi all,

jdbc.default.url=jdbc:mysql:loadbalance://MYSQLSERVER1:3306,MYSQLSERVER':3306/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false  loadBalanceBlacklistTimeout=5000 database.mysql.engine=ndb

But when we run the liferay server It fail to create database and say that error no:140.
(more…)

MNPP: Mac + Nginx + Percona + PHP or Python

A high performance web server in a one-click installer, it’s very usefull developers. MNPP to manage uwsgi from the preferences or console, giving way to use web applications using WSGI. For now MNPP has support for django 1.3 and web2py natively. MNPP has a menu in the status bar to give more comfort and simplicity in the administration of services.

to download and more information:
http://getmnpp.org/