Archive for Internet

Transfer files using SCP and RSYNC for transfer resume

For transfering files from a UNIX machine to another UNIX machine I use the SCP command. It goes like this:

scp yourFile user@remoteMachine:any/path/on/remote/machine/

This helps me alot when I’m transfering large files and I don’t want to do it from my laptop because I’m forced to wait until the transfer ends. So I just initiate the transfer from my local server that is running LINUX.

If the internet connection failes and the file transfer is broken I use RSYNC command to resume the transfer from the point where the connection failed. Here is an example of how to use RSYNC for that:

rsync –partial –progress –rsh=ssh yourFile user@remoteMachine:any/path/on/remote/machine/

Now let me qickly explain the parametters used:

–partial : keep partially transferred files. This allows us to resume the transfer.
–progress: show progress during transfer. This is prety self explanatory, you can use it only if you want.
–rsh=ssh: This is for tunneling RSYNK through SSH to have a secure communication between the 2 machines.

That’s it!

Comments

Facebook’s New Features

Social networking website Facebook.com, got 2 new features added.
Somehow the new features freaked out members concerned about their privacy and security.

The new features include a News Feed and a Mini Feed.
News Feed is a report of what’s happening in member’s social circles on Facebook, and Mini Feed is centered round one person, showing recent profile changes and recent activity.

I like the new features and can’t see why I should be concerned about, but considering other members reactions maybe FaceBook should make some studies before adding new features :).

Mark Zuckerberg, the creator of FaceBook quickly responded to members concerns, in his own style … “Calm down. Breathe. We hear you.”.

Below is a screenshot of the scariest of the new features, Mini Feed:

Facebook new feature - Mini Feed

Comments

AFLAX & Real-time Chat

In case you don’t know what AFLAX is, prepare to be amazed. It’s a great Javascript Library for the Flash platform, developed by Paul Colton (also the creator of JRun and founder of Aptana Inc.).

Looking at the demos from AFLAX website I found that you can use XMLSockets to create a Real-time connection between a client and server. As oposed to Ajax or Frame based chat scripts, using XMLSockets makes messages to be more spontaneus.

If you download the library you will see that the Sockets example is using a Perl Sockets Server that has to be started from command-line. I will write that sockets server script in PHP these days so come back to get it.

Many usefull applications of this comes into my mind now, but I’ll let you think about it too :) .

Comments

Free Dreamweaver

Yes, Free!

But it’s called Aptana and it does what Dreamweaver does, and maybe more. If you think you need it download from here.

Highlights include the following features:

  • Code Assist on JavaScript, HTML, and CSS languages, including your own JavaScript functions
  • Outliner that gives a snapshot view of your JavaScript, HTML, and CSS code structure
  • Error and warning notification for your code
  • Support for Aptana UI customization and extensions
  • Cross-platform support
  • Free and open source licensed under the Eclipse Public License, v1.0. (Source available soon)

Comments

Cross-Browser Websites

A Cross-Browser website is a website that has the ability to support multiple web browsers.

I can check my website’s appearance on IE, Firefox, Opera, Netscape and other browsers, but I don’t have Safari, so I found this tool http://www.browsrcamp.com/ . Check it out, have fun, and then send an email to those guys, expressing your luve and gratitude :) !

Comments