Coding Frenzy

autohotkey multiple line string

t_str = ( a test another test ) msgbox % t_str

Share

PHP: create random password

$str = "0123456789abcdefghijklmnopqrstuvwxyz"; $n = 8; $len = strlen($str)-1; for($i=0 ; $i<$n; $i++){ $s .= $str[rand(0,$len)]; }

Share

The easiest way to build your own VPN server

Some people suggest that maybe you should try to build your own vpn server yourself! Indeed it’s not rocket science but still it needs someone to show you the rope. I am not going to be very detailed in each step but you can research them separately. Step one: First get a VPS get a [...]

Share

Easy steps to correct the incorrect VPS time

When you get a VPS outside your own territory the time-zone is unlikely correct. Not only that, sometimes the VPS clock is just wrong: it can be 10 to 20 minutes faster or slower. You are happy after correcting it, not not too long as the clock will be wrong again after a reboot. This [...]

Share

CentOS website backup shell scripts

It’s vitally important to backup your website on another machine. If you have a website running on a machines and have a FTP account on another server or even a computer at your home, Follow this step-by-step guide, you will be setting up a reliable automatic regular backup. Step 1: SSH to your VPS console [...]

Share