Latest Entries »

Have you ever been in a situation where you just wanted to transfer a very small file from one PC to another at your office but had limited number of connectivity options between the two? Have you ever felt like there should be a super fast way to transfer small files with ease? Clipboard RDC is here to rescue you.

Currently, windows users have no way of transferring files to or from servers connected via remote desktop connections (RDC), unless they enable the sharing of disk drives which possess a whole lot of risk by exposing your entire drive contents. Moreover, LAN connectivity between servers are disabled most of the times in enterprises. Yes, of course there are FTP connections available many times but frankly speaking if you wanted to transfer a very small file, say, just an XML file from one server to another, would you take the pain of opening the FTP connection on the both the machines and then uploading and downloading the files and then also making sure that the file is deleted thereby freeing up the server space from FTP. Not to mention the port issues you can experience with the same configuring your firewall.

So this got me thinking and that’s when I came up with this application and it’s now open source on Github.

Fork me on GitHub

Fork me on GitHub

Introducing Clipboard- Remote Desktop Connections (RDC)

This project aims to simplify this need. It does this by encoding the file on a server, copying it to clipboard, decoding the file on host computer, and finally by saving it to disk- all on the fly. The last 4 words were the key to its ease of use.

What does it look like?

Clipboard RDC GUI

Clipboard RDC GUI

It contains a no-frills GUI. Simplicity and ease of use were this program’s core values :-)

  • A text area for log messages.
  • 2 buttons- one for server and the other for client.

Browse & Convert

This will open a standard windows File Open dialogue. You can browse and select the desired file. After clicking on Open, the software will encode the file into Base64 and copy the encoded string to clipboard. The progress can be seen in the textarea. Exceptions (if any) will be printed here only.

Convert & Save

As the name implies, this button will fetch the contents of the clipboard, decode the string and save the file contents onto disk. It will auto-magically preserve the exact filename of the file.

How do I use it

  1. Log in to any server using standard windows remote desktop connection.
  2. Execute the application inside the server.
  3. Click on Browse & Convert button.
  4. Select the desired file.

  1. Back into the host machine, execute the application.
  2. Click on Convert & Save button.
  3. Select the desired location where you want the file to be saved. By default the file name will automatically be the same as that in the remote server.
  4. Enjoy the rest of the day :-)

Must have

Since this application uses clipboard to transfer files, the remote desktop connection should have the option of clipboard syncing checked ON as shown in the below screenshot.

Check Clipboard in RDC

Check Clipboard in RDC

Limitation

This is more of a windows/network limitation actually. The size of the file that can be transmitted over clipboard is limited. There is no definite limit on the size, since it depends more on the server configuration and network speed.

Generally speaking 1-1.5 MB files can be easily transmitted. As a workaround, you can split up the file into smaller parts using a archive (eg. winrar) software, and then transmit each file individually.
But then, the whole point of this application is to use it when the transferring through FTP connections seems like an overkill compared to the size of the file to be transferred.

Contribution

This project is open source at Github. Please contribute to this project and help theme in developing the same. You may also report any bugs on Github as well.

Ever wanted to filter out warning messages to stderr and info messages to stdout using log4j configuration settings without writing a single piece of code. Read more to find out how.

View full article »

Did you know that windows 7 has a built-in boss key or for the lack of a better jargon- boss mouse?

A boss key software is one which hides all/specified applications based on some settings when you press a special global hotkey.
If you’ve ever searched for a good boss key program, you would have realized that not every program supports mouse events for hiding/minimizing applications.

But fear not, windows 7’s very own aero peek feature can be tweaked to serve as a good alternative.

View full article »

If you’re like me and work on a variety of tools, editors and software simultaneously then you probably have a hard time keeping all the applications together in the taskbar while simultaneously not compromising productivity and privacy.

Let’s look at how we can improve this using a simple registry tweak.

View full article »

Recently I had an opportunity to attend a meetup on MongoDB with the CEO of 10gen on 23rd December 2012. It’s the company which powers the MongoDB development and support commercially. The folks at the company are the mastermind behind the database. The CEO of the company is Dwight Merriman. He’s the guy who initiated the idea and led that into something what we know today as one of the best document store type NoSQL databases.
The meetup was arranged by ThoughtWorks which in my opinion is one of the coolest and next generation company but we’ll get to that later.
View full article »

Hadoop Twitter Analytics

So a while back, Twitter rolled out the option to download the entire archive of all the tweets. This got me thinking what if we wanted to analyze the tweets using Hadoop & its ecosystem to draw out interesting facts about the way we tweet, retweet etc.

Introduction

Hadoop Twitter Analytics aims to develop a solution for analyzing tweets using Hadoop & related technologies. This project currently contains fetching the Twitter IDs of those users whose statuses have been retweeted the most by the user whose tweets are being analyzed. Multiple analytics will continue to be added as I work on developing this project.

Fork me on GitHub

Fork me on GitHub

View full article »

We all remember the time when Late Steve Jobs introduced

the amazing, the better and the incredible iPad

back in January of 2010. Yes, I have deliberately put that in quotes because that’s what he intended us to believe in and that’s what we all have eventually come to believe in. He sure didn’t start the trend of using these top selling keywords but it has continued till the latest iPad Mini Keynote.

In fact, two of the top selling sales and marketing strategies for selling a product is to Be Likable & To subtly let the consumers believe at an subconscious level that the product is just great and phenomenal. Well, Steve didn’t have to worry about the first one. For the second one, what they do is to use selling adjectives like magical, so much better, a revolutionary product, extraordinary, etc.

Let’s look at how Tim Cook uses those magical words to transcend his thoughts into our subconscious.

View full article »

Follow

Get every new post delivered to your Inbox.