How to use proxy with curl in Php

By | May 1, 2023

Proxy with Curl Curl is a very useful library for transferring data over various protocols like http, ftp, https etc. In other words curl can be used to programatically download a web page, or upload file to ftp etc. It also supports using a proxy. This means that curl requests can go through a proxy… Read More »

Convert excel to csv in php

By | March 11, 2013

When working with data import and export for example, file formats like csv and excel are commonly used. Data can be exported to csv format and imported elsewhere. Also data might be entered manually in an excel file and then imported in the database. So there might be a need to convert excel files to… Read More »

Monitor and auto restart crond in cpanel/whm

By | June 9, 2013

Crond is the cron daemon that is responsible for running the cron tasks of all users on a linux system. Most hosting providers provide it on the servers they sell. Cpanel is a popular server management application that can manage various such daemons and services and restart them if they shut down for some reason…. Read More »

Speed up menus in lxde desktop

By | February 26, 2013

Here is a quick trick that can speed up the main/navigation menus and menus in file manager like pcmanfm inside the lxde desktop. This trick is a setting for the gtk library. 1. Open the file named .gtkrc-2.0 in the home directory. If the file does not exist, then create one. 2. Put in the… Read More »

Speed up mouse click speed on lxde desktop

By | February 26, 2013

The lxde desktop is a lightweight desktop for linux systems. Similar to xfce but requires lesser resources than the heavier gnome and kde desktops. Many linux distros have a lxde spin as well for those who prefer the lxde desktops. For example Lubuntu is the lxde variant of ubuntu. Fedora too has a lxde version…. Read More »

Install Backtrack 5 rc3 on virtualbox

By | February 25, 2013

Backtrack 5 rc3 is at the present the latest release of backtrack linux and is based on ubuntu. Virtualbox supports such oses very well and installation of guest additions is also very swift and smooth. So now we are going to install the backtrack distro inside Virtualbox. Get the latest virtualbox for your system (windows,… Read More »