fapg’s corner

Tips, and news from world

Rewrite to https

October 8th, 2010

If you want to rewrite a URL to https in the same virtualhost that you run http, you can add the flag RewriteCond %{HTTPS} !=on, like this:

Click to continue reading “Rewrite to https”

Category: apache, linux, network | No Comments »

konsole (kde 4) fixed windows size

January 14th, 2010

Para forçar o tamanho por omissão da konsole do kde4, faça o seguinte:

Click to continue reading “konsole (kde 4) fixed windows size”

Category: command line, desktop, linux | No Comments »

Extend vmware disk

October 14th, 2009

To extend a disk in vmware, can be done with the following command:

Click to continue reading “Extend vmware disk”

Category: command line, linux, virtualization, windows | No Comments »

openssl utils commands

September 3rd, 2009

This post describes the most used commands  from OpenSSL tool.

Click to continue reading “openssl utils commands”

Category: command line, linux | 4 Comments »

Changing a service port number on a Windows System

August 10th, 2009

In order to change one service port number in Windows systems, you need to change the services file in the %SYSTEMROOT%\SYSTEM32\DRIVERS\ETC folder (usually c:\windows\system32\drivers\etc).

Click to continue reading “Changing a service port number on a Windows System”

Category: services, windows | No Comments »

Convert nero images (nrg) to iso

August 6th, 2009

To convert nero images (.nrg) to iso images, you can do this with the command nrg2iso.

Click to continue reading “Convert nero images (nrg) to iso”

Category: command line, linux | No Comments »

Script to send sms via voipbuster

July 30th, 2009

I made a script to send sms’s via voipbuster portal.

Click to continue reading “Script to send sms via voipbuster”

Category: command line, linux, scripts | 2 Comments »

Open programs with kde file association

July 29th, 2009

If you want open programs in command line, using kde file association, do it with kde-open.

Category: command line, desktop, linux | No Comments »

Convert a string to upper or lower case in bash

July 6th, 2009

If you want change a string to lower, do this:

Click to continue reading “Convert a string to upper or lower case in bash”

Category: command line, linux | No Comments »

Wireless Channels

June 26th, 2009

This info is very useful, if you manage a wi-fi infrastructure:

Click to continue reading “Wireless Channels”

Category: network, wireless | No Comments »