FREE PBX – script to automatically delete recordings

This script allows to automatically delete voice call recordings every night at 1:15am.

This will delete all recordings older then 60 days.

You need to created a cron job on freePBX server.

  1. SSH into your server and at the prompt, type (this will create a new cronjob on your server and enter “vi editor”):
    crontab -e
  2. Press esc
  3. Press i (for “insert”) to begin editing file
  4. Paste/type the following text into corn job
    15 1 * * * find /var/spool/asterisk/monitor/ -name “*.wav” -mtime +60 -delete >/dev/null 2>&1
  5. Press esc again to exit editing mode
  6. Type :wq to save (w – write) and to exit (q – quite) the file.
  7. Verify your cronjob:
    crontab -l

You are all set, your server will now delete older recordings every night.

If you need to change time when this happens check out this page to see how to modify cron job

Oneplus One

Intall TWRP or Boot one time for superuser only

1. Download Android SDK here (command line tools only on the very bottom of the page). Install, and update only tools.

2. Download lates TWRP here. Move file into folder Andreoid/android-sdk/platform-tools of SDK tools that you just installed. For windows 10 it is C:\Program Files (x86)\Android\android-sdk\platform-tools

3. Put your phone into fastboot mode (volume up and power at the same time).

4. Run cmd as administrator, and do following:


cd C:\Program Files (x86)\Android\android-sdk\platform-tools

fastboot flash recovery twrp.img       (where twrp.img is your file name, for example twrp-3.0.2-0-bacon.img)

fastboot reboot

Phone will restart and now you have TWRP custom recovery installed.

B. FOR TEMPORARY ONE TIME USE – to install superuser root.

cd C:\Program Files (x86)\Android\android-sdk\platform-tools

fastboot boot twrp.img       (where twrp.img is your file name, for example twrp-3.0.2-0-bacon.img)

Power down your phone to restart. It will boot into TWRP, so you can install SU.


Oneplus One root – SU (superuser)

After booting into TWRP. Hit “Install” and choose the from the location on your phone that you saved it to earlier.




Oneplus ONE multiwindow, multiple apps at the same time on the screen.

  • Install Marshmallow on your Android smartphone.
  • Root your device – Nexus 5Nexus 6
  • From Google Play Store, install a file manager app with root access.
  • Open the newly installed file manager app and grant it root permission.
  • Go to /system/ directory and open build.prop file.
  • Inside the file, change the value of build type from user to userdebug.
  • Save the build.prop file.
  • Reboot your device.
  • Once back, enable Developer Options: go to Settings About Phone > tap on Build Number seven times.
  • Go back to Settings Developer Options > go to the bottom of the Drawing category and enable Multi-window from the options.


The Art of Website Development

  • Make sure to use NO-FOLLOW tag on links to generic pages

Your page has certain rating by google. All links on your page share that rating evenly, so if you have 10 links it would be 1/10th of the rating that each links provides to the page it is pointing to. So you want to make sure only few links are clean, and the rest have NO-FOLLOW tag in it. To do it add the following text to inside of the link: rel=”nofollow”.

<a href=”” rel=”nofollow”>Your link text here.</a>


How to start hanging chrome

Google Chrome crashed once for all – not opening any pages

I have uninstalled – installed multiple times (with and without restarting systems) – that didnt work either.

All of a sudden, google chrome got closed – when I re opened it and typed in a site – it stays as it is – nothing happens.

no error messages too.


_________________________ FIX_______________________________

Right click on the Chrome icon and select properties and add ” –no-sandbox” to the end of Target

Note: there must be a space between the final apostrophy and the two dashes


Why need online backup

In the current state there is a lot of important irreplaceble information on personal computers and lots of failing hard drives. The most irreplacble information is not the movies or music you purchased, but rather your pictures, your home videos, electronic finantial data, and many office documents. If not counting purchased music and movies, there is about 30-40GB of irreplaceble data on my pc, so I decided to look for a good backup solution. I should say that physical hard drive backup is not a viable option for me (higher chance of loosing back up data due to disk faliure, to store off site I have to bother freinds or family members, too time consuming).

There are lots of choices, but I needed certain features:

1. Automatic backups.

2. Enough space to atleast save most important info.

3. Company with solid backgound (to protect my data – secure, and to be sure it is future proof – company not going out of business as with many before).

So here is my findings.

IDrive Online Backup


Free account space 2GB + 250MB bonus* 50GB 2GB 1GB paid only Uses your network computer space
FTP access No paid only No
Automatic backup via soft Yes No Yes Yes Yes Yes
Memory taxation 12MB 14MB NA 14MB 16MB 28MB
Paid service $4.95/month ($59.40/year) Unlimited $13.95/month ($139.50/year)
$4.95/month ($59.50/year) 150GB $7.99/month ($95.88/year) 6GB $4.92/month ($59/year) Unlimited NA
Safe delete No Yes NA


* If you use our link to sign up you will get additional 250MB bonus

** Some services remove files from online backup if you delete them from your backed up folder. Uplink leaves files online so it is safe to delete files from your computer, you would still have access to it online.


It is imposible to use your webhosting provider to do data backup as most hosting providers restrict backup use of hosted webspace (some to allow small number of files to be backed up – up to 50GB). For all purpose backup I would go with uplink, as it allows to save deleted files as well (for now atleast) and the least expensive of the bunch from reputable company. Mozy is also very good but if you delete a file from your system and then perform backup again, that file will be deleted from online backup as well. this feature saves mozy space, but causes some issues with my inner wellbeing. If you only need few GB to save data here and there, use mozy, as it is a respectable company with years of service and free and easy to use.

SMS email

SMS through E-Mail: Cingular, Nextel, Sprint, T-Mobile, Verizon, Virgin Mobile

Sending SMS through email is very, very easy. If you can be reminded through email, you can now be reminded through SMS.

I have email reminders sent to me for everything. If you know the correct email address, you can also send these messages to your cellular phone. Here are the email addresses for the 6 most popular cellular phone carriers:

Virgin Mobile: 
US Cellular:
Metro PCS:

where phonenumber = your 10 digit phone number


Live / hotmail

  1. In Outlook Express, click the Tools menu, and then click Accounts.
  2. Click Add, and then click Mail.
  3. Type your name, and then click Next.
  4. Type your full Windows Live Hotmail e-mail address, and then click Next.
  5. Enter the following information, and then click Next:
    • In the My incoming mail server is a box, click POP3.
    • In the Incoming mail (POP3, IMAP, or HTTP) server box, type
    • In the Outgoing mail (SMTP) server box, type
  6. Type the account name and the password for your Windows Live Hotmail account. Clear the Remember password check box unless you’re the only person with access to the computer. Make sure that the Log on using Secure Password Authentication (SPA) check box isn’t selected.
  7. Click Next, and then click Finish.
  8. In the Internet Accounts window, click the Mail tab, click the Windows Live Hotmail account that you added, and then click Properties.
  9. Click the Advanced tab, and under Server Port Numbers, enter the following information, and then click OK:
    • In the Incoming mail (POP3) box, type 995.
    • In the Outgoing mail (SMTP) box, type 25.
    • Under both Outgoing mail (SMTP) and Incoming mail (POP3), select the This server requires a secure connection (SSL) check box. Or Select TLS if you are unable to send mail under SSL.
  10. Click Close.

Remote restart Windows

How to restart Windows PC remotely

1. How To Perform a Basic Remote Computer Restart – Shutdown.exe

For those of you who don’t already know how to remotely reboot a computer, the simplest approach if you’re sitting on the same network as the target PC is to make use of the Windows shutdown.exe tool. The Microsoft support page makes the command a bit more complicated than it really needs to be, because there are a number of “switches” available so that you can tailor the shutdown command.

Essentially, from a command prompt or an application, you can issue the shutdown command using the syntax: shutdown -r -f -m \remotecomputerIP -t 00

  • -m \remotecomputerIP – substitute remotecomputerIP with either the network name or IP address of the computer
  • -r forces a restart
  • -f forces all running applications to close
  • -t 00 tells the command to restart without any time delay (zero seconds)

Depending on your reason for remotely restarting, you’ll want to use these commands carefully. For example, if you just want to set up an application that does a regular reboot every two or three days, you may want to consider allowing a user who’s currently on the computer to cancel the reboot, or at least allow them the option to save whatever they’re currently working on.

However, for the purpose of this article, all we really want to do is remotely force a reboot if you’re away from home and you’re in a situation where your web server isn’t responding. To do this, the command above will work. The one drawback with the “shutdown.exe” approach is that you need to be sure you are connected to your remote computer as a user that has administrator privileges. When you prefer to keep tight security on your PC or server, this isn’t always easy to accomplish.

2. Remotely Reboot Your Computer Through a Web Browser with Shutter

One of the easiest ways to get around this security quagmire is by installing a free application created by Denis Kozlov called Shutter. The cool thing about Shutter is that once you’ve got it set up on your target PC, you can perform various functions on your computer through any web browser on the Internet. First, install Shutter to your target PC or server and the initial screen that comes up will look like this.


First of all, don’t worry about the settings on this screen because these are for when you use the application locally. However, yourinterest is in using the application as a sort of “web server” that gives you access to your PC from any browser. To set it up, click on the Options button and choose the “Web Interface” tab.


On this screen, select “Enable,” choose a “Listen IP” from the list and enter whatever port you’d like to use. Most folks just use port 80 since it’s default, however if you want added security you can use some obscure port. Finally, choose your Username and Password (required), click save and the application is set up – it’s as easy as that! The only last step is to make sure that if you’re using a router, you open up a “hole” so that you can connect to your Shutter server through the router.

To do this, just go to your router administration control panel (usually or, depending on your router’s brand) and configure port forwarding as shown here.


Just make sure the IP and port you defined in Shutter is defined here and that it’s enabled. Once you save, setup is complete. Now you can go to any web browser and send not only a “restart” command to your computer, but also a whole list of other commands.

To access the Shutter service, you can just type in the IP on your local network. In my case, I’d open a browser and type “″ to access the web interface. From an external Internet location, like a library or from work, I simply type in my external IP assigned by the ISP followed by the port, such as “″ and the web interface will come up after you log in with the ID and password you defined.

Editor’s note: If you don’t know what your external IP is, just visit


As you can see, the Shutter web interface lets you perform a whole list of tasks on your remote computer, including muting the volume, turning off the monitor or running a specific program. The great thing about this approach is that all of these commands are issued from the application running on your target computer, so you don’t need to perform any special security configurations to remotely trigger these commands.

3. Remotely Reboot Your Computer Through Twitter With TweetMyPC

Easily one of the coolest applications I’ve seen in a very long time, TweetMyPC is an application you can install on your target PC, just like Shutter. The difference is that in this case, the application “listens” intently to all of the “tweet” messages that you send out from your Twitter account. Whenever you issue a command such as ShutdownRestart, or Logoff – the computer does exactly as it’s told.

Just install the application, go into settings and enter your Twitter credentials.


Click “Save and Close,” and you’re done! No complicated security configuration, no tweaking your router’s internet settings – just install the app, insert your Twitter credentials and you’re golden. Finally, go into your Twitter account and just issue your command.


The convenience of this restart technique are the awesome possibilities. Just imagine, now you can pull out your cellphone and text a Twitter “Restart” update to reboot your computer. Any place where you can access your Twitter account, you can issue one of these three commands to your remote computer. The good news is that the author of this application is in the process of developing a Mac version.

Do you know of any other cool ways to remotely reboot your PC? Share your own tips in the comments section below.

4. Restart your Computer through your router.

If you have a router with DD-WRT installed on it (highly recomend it), then you can do a lot with your router such as wake computers up or shut them down. Check this page for details on how to do it DD-WRT remote shutdown

RDC port Change

HOW TO CHANGE RDC port in Windows (Remote desktop port).

This will work for Windows 7, Vista, XP. (possibly Windows 8 and 10)

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756  ( ) How to back up and restore the registry in Windows
  1. Start Registry Editor (type in “regedit” in search or run prompt and it will run registry editor)
  2. Locate and then click the following registry subkey:
  3. On the Edit menu, click Modify, and then click Decimal.
  4. Type the new port number, and then click OK.
  5. Quit Registry Editor.
  6. Restart the computer.

Note When you try to connect to this computer by using the Remote Desktop connection, you must type the new port. Maybe you have to set the firewall to allow the new port number before you connect to this computer by using the Remote Desktop connection.

304304  ( ) How to configure the Remote Desktop client to connect to a specific port when you use Windows XP

Windows Auto Login

Windows 10, Windows 8, Windows 7 and Vista Automatic login on Startup

If you do not share your computer with any other users and no one else has access to it, you can configure Vista to log you on automatically.

1. Click “Start” and type “netplwiz” in the “Search field” and then press Enter.

2. Click “Continue” when the “User Account Control” window appears.

3. From the “User Accounts” window that appears, verify that your own user account is selected. “Clear” the “Users must enter a username and password to use this computer” option and click OK.

4. Provide the password for your user account when prompted and restart your computer. Vista will automatically log on with your user account.