Archive for the “Web use” Category

Sunday, August 1, 2010 Categorized under Web use

What is SFTP, and how do I use it to transfer files

SFTP, or secure FTP, is a program that uses SSH to transfer files.
Unlike standard FTP, it encrypts both commands and data, preventing passwords and sensitive information from being transmitted in the clear over the network.
It is functionally similar to FTP, but because it uses a different protocol, you can’t use a standard FTP client to talk to an SFTP server, nor can you connect to an FTP server with a client that supports only SFTP.

You can use SFTP with a graphical SFTP client or at the command line.
Graphical SFTP clients

Using graphical SFTP clients simplifies file transfers by allowing you to transmit files simply by dragging and dropping icons between windows. When you open the program, you will have to enter the name of the host (e.g., quarry.uits.indiana.edu) and your username and password. At Indiana University, students, faculty, and staff can download two SFTP clients (MacSFTP for Mac and WinSCP for Windows) from IUware.
Command line SFTP

You can use command line SFTP from your Unix account, or from your Mac OS X or Unix workstation. To start an SFTP session, at the command prompt, enter:
sftp username@host

For example, to connect to your dvader account on the host sithlord.org, you would enter:
sftp dvader@sithlord.org

Enter your password when prompted.

Some standard commands for command line SFTP include:

cd Change the directory on the remote computer
chmod Change the permissions of files on the remote computer
chown Change the owner of files on the remote computer
dir (or ls) List the files in the current directory on the remote computer
exit (or quit) Close the connection to the remote computer and exit SFTP
get Copy a file from the remote computer to the local computer
help (or ?) Get help on the use of SFTP commands
lcd Change the directory on the local computer
lls See a list of the files in the current directory on the local computer
lmkdir Create a directory on the local computer
ln (or symlink) Create a symbolic link for a file on the remote computer
lpwd Show the current directory (present working directory) on the local computer
lumask Change the local umask value
mkdir Create a directory on the remote computer
put Copy a file from the local computer to the remote computer
pwd Show the current directory (present working directory) on the remote computer
rename Rename a file on the remote host
rm Delete files from the remote computer
rmdir Remove a directory on the remote host (the directory usually has to be empty)
version Display the SFTP version

! In Unix, exit to the shell prompt, where you can enter commands.
Enter exit to get back to SFTP. If you follow ! with a command (e.g., !pwd), SFTP will execute the command without dropping you to the Unix prompt.

Popularity: 82%

Thursday, May 27, 2010 Categorized under Web use

7 great firefox addons

Here’s a list of the major firefox addons that I use

LastPass

lastpassThis robust password manager is a must-use freeware tool that supports multiple operating systems and browsers. With LastPass, you create a master password, and then it uses automatic form filling and one-click log-in to simplify password entry. LastPass will create secure passwords for you, as well as allow for secure password sharing, password import and export, secure note-taking, and password backup and restore.
Download LastPass addon here

Delicious

delicious Here you got one very usefull tool. It helps you in everything related to bookmarks; you can add it to almost major browsers, and also access it on the web. You can share your bookmarks with your friends and even make them private. This is even better, as you can add a lot of information regarding the bookmark, using it as a micro blog.
Defenitly better then any other bookmark aplication.
Download Delicious addon here

NoScript

noscriptThis free Firefox extension blocks JavaScript from running without your permission, but NoScript doesn’t allow you to stop its own devices. After installation, NoScript adds only a small blue button marked “S” above the toolbar. To configure the program options, simply click the button to display a very conventional interface.
Download NoScript addon here

Firebug

firebugHave you tried out Firebug yet? If not, you might want to consider giving it a go. It’s one of a few Firefox extensions that I use almost daily in my web development work, and I can guarantee that it’s made my life at least a little bit easier. I most often use Firebug for its ability to “inspect” various elements on the page.
Download Firebug addon here

Better Privacy

betterprivacyBetter Privacy (free) can get rid of privacy-busting Flash cookies, also known as local shared objects or LSOs, which are used by many sites to supplement the normal HTTP cookies. Flash cookies can be used for similar things as HTTP cookies, including saving preferences and tracking where you surf, but you can’t delete Flash cookies using basic browser options like you can with regular cookies.
Download Better Privacy addon here

Aardvark

ardverk Cool utility for cleaning up a page (for printing or better viewing) as well as for web development. Displays a red rectangle on the element under the mouse — hit “w” to go wider (get the containing element), then hit other keystrokes to remove, etc. Powerful and user-friendly selector utility for selecting elements and doing various actions on them.

Download Aardvark addon here

AdBlock +

adblock+Annoyed by adverts? Troubled by tracking? Here’s a very good addon that everyone should use to avoid those unnwanted worms. It’s very easy to use. You simply have to click on the link or image you want to block and add it to the blacklist. It wont show anymore. A very usefull tool for every developer or any home user should use on a day to day basis.
Download Adblock+ addon here

Popularity: 59%

Text-shadow in IE with jQuery

One of the things IE wont show beside other major browsers, is the text-shadow effect. With this plugin you can achieve it. A handy little thing of Internet Explorer is that it gives you access to CSS declarations it does not understand, so this plugin simply requests the text-shadow value of a given element and processes that.

Demo and Download

Popularity: 70%