Logo
My Journal
Category

Guides

Category

multi-monitor setup problem

how do I move my panels to the secondary monitor? My office machine is a laptop. I hook it up to a Samsung 22" LCD. I’d like to use this external monitor as the primary, which means that I definitely want to have my panels display on it. However, as much as I tried to drag the panels around or pla...

Continue reading ...

Type Less With SSH Aliases

first this is to make sure you have installed SSH by using this command [php]sudo apt-get install openssh-server[/php] then you will edit SSH config file with this command [php]sudo nano /etc/ssh/ssh_config[/php] and add this on the end of the file [php]# Alias Host (hostname) HostName (hostna...

Continue reading ...

Keeping SSH Sessions Alive

I noticed recently that ssh connections from my Dedicated Centos Server to my Fedora server would time out and disconnect if I left the connection idle for a long period of time. This really annoyed me, as you have to login again specially if you have some edited files open and forgot to save the c...

Continue reading ...

Logging into your Server via RDP

This article addresses how to connect and log in to your Windows Server via RDP using Windows' Remote Desktop Connection client. Starting the Client : To start Remote Desktop, click Start – All Programs – Accessories – Communications – Remote Desktop Connection Now, enter the IP address...

Continue reading ...

Using cURL to get all links in a webpage

The code below finds all links in the href attribute of anchor tags of a given page url. [php] <? $request_url ='http://log.xmodx.com'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $request_url); // The url to get links from curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // We want t...

Continue reading ...