Thursday, March 13, 2014

How to download a file from server using SSH Linux?

scp /path/to/local/file username@hostname:/path/to/remote/file
Copy something from some system to some other system:
scp username1@hostname1:/path/to/file username2@hostname2:/path/to/other/file

Copy something from another system to this system:
scp username@hostname:/path/to/remote/file /path/to/local/file 

Friday, October 5, 2012

Thunderbird Lighting Calendar Sync with owa Outlook Calendar


Thunderbird client is far better than Outlook, however, it lacks the Calendar support like Outlook until now. There have been some great improvements and one of them is the ability to sync any calendar, including Outlook to Thunderbird via Lightening Addon.

1. Install the Lightening Calendar Add-on via Tools, Addons
2. Download and add the file Addon for web-mail-1-4-3.xpi
3. Download Davmail Download davmail-4.1.0-2042-setup.exe (9.0 MB) via http://sourceforge.net/projects/davmail/files/

Davmail is a server on your desktop that talks to your Exchange server via webmail and is able to populate the Lightening with calendar information. So, you will be connecting to the calendar locally to Davmail, which in turn will be connecting to your Exchange server using your webmail login.
4. Download and install latest Java on your computer, Davmail requires it.

Once Dave mail is installed, fire up Davmail and make the changes to the configuration to suit your needs.

Notice OWA URL: make it your own https://webmail.yourcompany.com/owa or https://webmail.yourcompany.com/exchange. Whatever you see on your browser when connecting via webmail.

Ports are important. You will have to know how you connect to POP or IMAP and use appropriate port numbers.

Caldav and LDAP leave as default.

Click Save

You should connect to your server without any problems if you have the correct port numbers.

Once Davmail is running you can then go to Thunderbird Lightening and create a new Calendar.
1. Choose Network Calendar
2. Choose CalDav
3. Location type in the following
http://localhost:1080/users/mail@company.com/calendar

notice you are connecting to Davmail, not your Exchange server. Notice the port number of 1080 which is the same on Davmail and notice /users/ this is important leave it there.
4. Change the mail@company.com to your email address such as salma@mail.com. Notice /calendar leave it as is. You should end up with
http://localhost:1080/users/salma@mail.com/calendar

5.Click on Cache and pick a good color. Each entry will be of that color!

Done!

Sweet to have it all working.!

Thursday, October 4, 2012

Move Thunderbird Address book to another profile

Thunderbird can have multiple profiles on one account in XP! Just make a new profile, overwrite it with your old one. Profiles are created under C:\Documents and Settings\username\Application Data\Thunderbird. Note that username is your Windows user profile name and Application Data folder is a hidden folder. Switch to it by using [C:\Program Files\Mozilla Thunderbird\Thunderbird.exe -p] at the RUN prompt (hit Windows Key + R), this will load the profile manager I believe and you can then switch profiles there. Once you import the old profile over the new one, you can then either EXPORT the old one (to import it again into your proper profile), or use mozbackup to back up ONLY the address book, and then have it restore it to the proper (probably named "Default") profile.

Friday, August 26, 2011

Multiple Licence Upgrade Purchase of Lion OS

There are lots of questions as to how to buy multiple license or family pack for the new LION OS upgrade.
You only need to purchase one license!

Download the Upgrade application to your desktop and copy it on to your USB flash disk.

From there you run the application on other computers!

Friday, July 29, 2011

z-index under IE

I had to figure out how to show dropdown menu over some content. I used z-index on css, however, IE did not seem to like it. In order for it to work on IE as compared to Firefox where it was perfectly fine, I added - or + signs as well as added either relative or absolute positioning.

For Example
#sddm div
{ position: relative;
visibility: hidden;
margin: 0;
padding: 0;
background: #EAEBD8;
border: 1px dotted #330000;#5970B2;
z-index:+3;
}

Friday, June 10, 2011

Remove duplicate entries / rows a mySQL database table

ALTER IGNORE TABLE yourtablewithdups ADD UNIQUE INDEX dupidx (field_1 [, field_2x]);
ALTER TABLE yourtablewithdups DROP INDEX dupidx

Wednesday, April 27, 2011

Pure CSS Image Hover

I wanted the image to be enlarged as you hover over the image thumbnail. Most javascripts enlarge's the picture within the same space, and since my images were all in a row and column setting I wanted a "popup" type.

there is the code
.myButtonLink {

display: block;
width: 60px;
text-indent: -99999px;
}
.myButtonLink:hover
{
display: block;
position: absolute;
width: 250px;
background-color:
#aaa; right:500px; color: #FFFFFF; padding: 5px;

}
and the HTML


for this style to work on both Firefox and IE, the html should look
open anchor tag and inside it reference the class to myButtonLink class=myButtonLink href can be hashed like href=#
Open img tag and reference the class again as class=myButtonLink border=0
with src referencing your image file location. Plus add onmouseover=style.width=250 and onmouseout=style.width=60
close img tag and anchor tag

I am unable to write the code on this blogger, it doesnt allow open close tags.

You can look at the code on http://www.spiralstore.com site if you viewcode by right clicking the page.