Posted by: Paul C. Snider
on September 02 2009
Found this while browsing the web, thinking how I miss my gDesklets program. I kept getting the same error stating that there was no directory available or something similar. I forget the error because I was able to fix just by doing the following step:
sudo apt-get install python2.5
Posted by: Muhfi Asbin Sagala
on June 18 2009
One time, when we want to uploading a file, we are having difficulties because the file size is too large and our internet speed is so slow. Therefore, we must split our file into some small parts so we can upload it per small parts. How to do this?
First, we must compress the file with tarball archiver.
Posted by: Thom Brown
on May 19 2009
I discovered something whilst trying to crop and re-size a video with FFMPEG: the order of switches actually matters! I couldn't find any mention of this in the documentation, and nowhere could I find an explanation of why my video was being cropped after it was resized. The video I was re-encoding had some fuzziness at the top, and an ugly black border down the right-hand side. I wanted to remove these, but have a fixed output size.
Here's an example. Our input file, input.avi is a 640x480 video.
Posted by: Taras
on May 14 2009
rsync --include-from=/tmp/include.txt --exclude-from=/tmp/exclude.txt -aRvm ./src /tmp/dest
include.txt
>>*.pdf
exclude.txt
>>*.*
Posted by: Taras
on May 13 2009
pwgen - generate pronounceable passwords
Example of usage:
pwgen -A1 13
A - use small case
1 - one pass per line
13 - count of symbols in pass
Posted by: arisnb
on May 13 2009
If we have one Ip Public, but our web server more then one. How to configuration with apache webserver ? Tukang Nggame have tips. Follow example network topology :
wbsvr-1,wbsvr-2,etc -----main-server(public)--------client-browser
wbsvr-1 is a local webserver 1, example http://192.168.1.1/tukang-nggame/
wbsvr-2 is a local webserver 2, example http://192.168.1.2/tukangnggame/
main-server(public) is main web server, exh http://www.example.com
In Main Server use Apache web server and Isntall mod proxy-html. This command at console :
#apt-get install libapache2-mod-proxy-html
Enable that module (make link module) with command at console :
#ln -s /etc/apache2/mods-available/proxy_http.load /etc/apache2/mods-enabled/proxy_html.load
#ln -s /etc/apache2/mods-available/proxy_http.conf /etc/apache2/mods-enabled/proxy_html.conf
Edit configuration /etc/apache2/apache2.conf (main server)
Order Deny,Allow
Allow from All
ProxyPass http://192.168.1.1/tukang-nggame/
ProxyPassReverse http://192.168.1.1/tukang-nggame/
< /Location >