Tuesday, 31 December 2013

#NYE Live Nude Music Show - New York City (NSFW)

Warning : This post contains some controversial 18+ NSFW material.

In my previous post about Dec 31st 2012, I was talking about how some people hang around the bars of East village and Lower east side neighborhoods of Manhattan during the New Year's Eve.

Talking of NYE's, I just remembered a controversial event that was held in New York City. Precisely on Dec 31st of 2011. It was essentially a music show by the punk rock band Kraut in one of the bars in Lower east side. I don't remember, but I think it was the-now-closed dive bar Local 269  on East Houston st. Oh yes it was Local 269 for sure.

And it was controversial because it had a live full nude show by another band as well. The lead singer, guitarist, drummer were fully nude top to bottom. I mean seriously, they had no clothes whatsoever and their dicks were like swinging to the beats. Check out the pictures for yourself. The photos have been blurred a bit to reduce the NSFW-ness.





P.S : On googling a bit, I found the band name is The Afterbirth. Happy New Year!

New Year's Eve - Columbus Circle, New York City

With 2014 less than 24 hrs away, lets rewind to the last day Dec 31st of 2012. Most people spend their money in attending various all-you-can-drink NYE parties or attending the ball drop at Times Square. However a lot of people hop around the various bars and lounges in East Village, Lower East Side or the Midtown neighborhoods.

A lot of shops and malls are thronged by locals and tourists alike. If shopping during New Year's is your way of celebrating, one of the happening places is the 5th ave stores and the shops around Columbus Circle.

'The shops at Columbus Circle' i.e the Time Warner Center is beautifully decorated with christmas trees, synchronized lighting and a host of other festivities. Check out a couple of pictures of the Time Warner Center interiors during NYE 2012 :



This mall features some popular fashion brands like Boss, Armani Exchange, Cole Haan, H&M, J.Crew, J.W.Cooper, Moleskin , Thomas Pink, True Religion, Wolford to name a few. Make sure to have an open mind and and an open wallet :) Happy shopping :)

Monday, 30 December 2013

New Year 2014 - The Countdown

Ola! Como Estas? Well well well, 2014 is just around the cornor and its time to say 2013 a goodbye forever.

So folks, what are your new year resolutions?  Any memories of 2013 you would like to share? How was 2013 for you overall - Good or Bad?

How do you plan to welcome the new year 2014? Which NYE party you going to?

Do drop by your valuable comments... Ciao


Kill a Process in Unix

In UNIX and OSX, you can kill a process from the command line using the "kill" command.

kill -9 PID

The PID (Process ID) can be found by using ps -ef command.

Eg:

ps -ef | grep jrockit

The output will show the Process ID. Let's say , for instance it's 4519.

Then you can kill the process by using :

kill -9 4519

-9 is basically a signal (SIGKILL) to be used with the kill command. The default signal is -15 i.e SIGTERM which is milder signal to terminate a process.

More detailed information about kill signals can be found here.

Technorati cliam token USM62NJ7A438

Hardcode subtitles using Handbrake - Apple OSX

If you're a movie buff like me and watch a lot of non-english, foreign language movies, you must be coming across the headache to find english subtitles.

Although you can google and download the subtitles file ( .srt files ), it can be quite convenient to permanently hardcode the subtitles to the video. A very good app to do so is known as Handbrake

Although the main purpose of Handbrake is to transcode video into different formats, it is also useful to hardcode a .srt file to a video.

A sample screenshot is shown below :


As you see, you can simply choose a video by clicking Source. Then click the subtitles tab at bottom and click "Add External SRT" to choose the .srt file.

Once selected, just choose the Output format and click Start to encode. After it's done, you see a funny popup like this :)





Sunday, 29 December 2013

Free up memory (RAM) in Mac OSX

While using Mac OSX at times you feel may some application is eating up too much memory, whereby the system performs too slowly. If you observe any noticeable lag in the performance, chances are a lot of memory RAM is being used up and the free RAM is too low.

In such a case, open the Terminal and type the following:

purge

This will free up a lot of used or inactive RAM.

In fact in order to check the exact figures, open the Activity Monitor from the Utilities. Then click the System Memory tab from bottom. Compare the figures of Used and Free Memory before and after running the purge command. You'll see that the Free Memory stats shoot up drastically, thereby improving the performance.


Reading files recursively from a directory in Perl

Here's a sample illustrative script to read filenames from within a directory recursively in Perl and then executing some commands is as below:

use strict;
use warnings;

my $dir = "/usr/var/";   <----- here you can mention the location / path of the directory

opendir DIR, $dir;   <---- DIR is the directory handler

my @files = readdir DIR;

foreach my $file(@files) {

// execute_your_own_commands_here

}

closedir DIR;

As you see above, the array @files will store all the filenames within the specified directory.
In the next foreach loop, we perform some set of commands recursively on each of the files.

Related Posts Plugin for WordPress, Blogger...
eXTReMe Tracker