07 Mar

Gulaal movie – music and lyrics

Its been long since i’ve heard such contentful, meaningful, provoking and great lyrics with such gr8 musical representation.
The lines they’ve written are just mind-blowing. Music is awesome and vocals as well.
Now I’ve got very high-expectations from Gulaal.

The very first song I heard was – 

1) SHEHER by Piyush Mishra/Swanand Kirkire

he.. ek bakhat ki baat bataein, ek bakhat ki,
ja sheher hamaro so gayo tho rat gajab ki,

hai chahu aur sab aur disa se lali chahyi re,
jugni nache chunar oodhhe khoon nahayi re,

sab auro gullal put gayo sab auro me,
he.. sab auro gullal put gayo bipda chhayi re,

jis rat gagan se khun ki baris re,
jis rat shaher me khun ki baris re

sarabor bor ho gayo sheher wo, 
sarabor bor ho gayi dhaara,
sarabor bor ho gayo re jattha insano ka pada pada,
sabhi jagat ye puche thaa jab itna sab kuch horiyo tho,
wo shahar hamara kaay-baay sa aankh mund ke soyo thho,
o saheriyo bolyo nind gajab ki aisi aayi re…

jis rat gagan se khun ki baris aayi re,
jis rat shaher me khun ki baris re…

Sannata veeraana khamoshi anjaani
Zindagi leti hai karvatein toofaani
Ghirte hain saaye ghanere se
Rookhe baalon ko bikhere se
Badhte hain andhere pishaachon se
Kaapein hai jee unke naachon se
Kahin pe wo jooton ki khatkhat hai
Kahin pe alaavon ki chatpat hai
Kahin pe hai jhingoor ki aawaazein
Kahin pe wo nalke ki taptap hai
Kahin pe wo kaali si khidki hai
Kahin wo andheri si chimni hai
Kahin hilte pedon ka jattha hai
Kahin kuch munderon pe rakha hai

Sunsaan gali ke nukkad par jo koi kutta cheeckh cheekh kar rota hai
Jab lamp post ki gandli peeli ghupp roshni mein kuch kuch sa hota hai
Jab koi saaya khud ko thoda bacha bachakar ghum saayon mein khota hai
Jab pul ke khambo ko gaadi ka garam ujaala dheeme dheeme dhota hai

Tab sheher hamaara sota hai…

jab shehar hamara sota hai to malum tumko hann kya kya kya hota hai
idhar jagti hai lashe, jinda ho murda – udhar jindgi khota hai
idhar chhekhti hain ek halla khairati us asptal me ??? 
haath me uske agale hi pal, garam maans ka naram lothda hota hai…

idhar uthi hain takrarein jismon ke jhatpat len den mein unchi si
udhar ghaav se riste khoon ko door guzarati aankhe dekhen rookhi si
lekin usko leke rang birange mahalon mein gunjaish hoti hai
nashe mein doobe sehan se khoonkhaar chutkulon ki paidaaish hoti hai
adh-nange jismon ki dekho lipi puti si lagi numaaish hoti hai
laar tapakte chehron ko kuchh shaitaani karne ki khwaahish hoti hai

wo poochhen hain hairaan hoke aisa sab kuchh hota hai kab
ho batlao to unko aisa tab tab tab tab hota hai….
jab shehar hamara sota hai

– XX –

Secondly came the Yaara Maula song..
No one can predict what effect this song will leave after such a soothing start of the song Yaara Maula.



2) YAARA MAULA by Rahul Ram, Aushim, Piyush Mishra

haan haan Yaadon mein hai ab bhi
Kya sureela wo jahaan tha
Hamaare haathon mein rangeen gubbare they aur dil mein mehekta samaa tha

yaara o maula

Wo to khwabon ki thi duniya
Wo kitaabon ki thi duniya
Saans mein they machalte hue zalzale aankh mein wo suhaana nasha tha

yaara o maula [beats started effecting…]

Wo zameen thi aasmaan tha
Humko lekin kya pata tha
Hum khade they jahaan par usi ke kinaare par gehra sa andha kuaan tha 
[This line has got the impact – the most powerful line and hence supporting the aggresive muzik….here they go…]

Yaara…maula… 

Phir wo aayi bheed bankar
Haath mein they unke khanjar
Bole phenko ye kitaabein
Aur sambhalo ye salaakhein

Ye jo gehra sa dhooaan hai
Haan haan andha to nahi hai
Is kooein mein hai khazana
Kal ki duniya to yahin hain
Kood jao le ke khanjar
kaat daalo jo ho andar
Tum hi kal ke ho Shivaji…
Tum hi kal ke ho …SIKANDAR!

Humne wo hi kiya jo unhone ne kahaa
kyunki unki to khwahish yahi thi

Hum nahi jaante ki ye kyun ye kiya
kyun ki unki farmaaish yahi thi

Ab hamaare lagaa jaayka khoon ka
nahi hai koi jo hamein kuch bataaye
Bataao karein to karein kya?…..

– XX –

song ends with heavy questions and bass beats..nd i still felt like some more lines are there…btw do you have the answer??
well the third i loved is Aarambh Hai Prachand.. one more gr8 and provoking song, appropriate musik and great comparisons in the lyrics.

3) Aarambh hai prachand by Rahul Ram, 

Chorus
Aarambh hai prachand
Bolein mastakon ke jhund
Aaj jung ki ghadi ki tum guhaar do

Aan baan shaan
Ya ki jaan ka ho daan
Aaj ek dhanush ke baan pe utaar do

Man kare so pran de
Jo man kare so pran le
Wo wahi to ek sarv shaktimaan hai

Krishn ki pukaar hai ye
Bhaagwat ka saar hai
Ki yuddh hi to veer ka pramaan hai

Kaurawon ki bheed ho
Ya paandavon ka neer(d) ho
Jo lad sakaa hai wohi to mahaan hai

Jeet ki hawas nahi
Kisi pe koi vash nahi
Kya zindagi hai thokaron pe maar do

Maut ant hai nahi
To maut se bhi kyun darein
Ye jaake aasmaano mein dahaad do!

Wo dayaa ka bhaav yaki
Shaurya ka chunaav yaki
Haar ka wo ghaav tum ye soch lo

Yaki bhoore bhaal par
Jalaa rahe vijay ka laal
Laal ye GULAAL tum ye soch lo
Rang kesari ho ya mridang kesari ho
Ya ki kesari ho taal tum ye soch lo

Jis kavi ki kalpana mein
Zindagi ho prem geet
Us kavi ko aaj tum nakaar do

Bheegti maso mein aaj
Phoolti ragon mein aaj
Aag ki lapat ka tum bhaghaar do


– There are other songs which also are different for example the song “Ranaji” has got damn funny lyrics.. The song “Duniya” is again a good song.
I mean over-all the album is DIFFERENT.. Seems like I’m gonna hear it a lot :)

– Lets see what Gulaal – Movie gonna do!!!

Ask for other lyrics if u want.. Do comment here as well…

04 Mar

Regular Expression Basics – Quick Reference

Characters

Character

Description

Example

Any character except [\^$.|?*+() All characters except the listed special characters match a single instance of themselves. { and } are literal characters, unless they’re part of a valid regular expression token (e.g. the {n} quantifier). a matches a
\ (backslash) followed by any of [\^$.|?*+(){} A backslash escapes special characters to suppress their special meaning. \+ matches +
\Q…\E Matches the characters between \Q and \E literally, suppressing the meaning of special characters. \Q+-*/\E matches +-*/
\xFF where FF are 2 hexadecimal digits Matches the character with the specified ASCII/ANSI value, which depends on the code page used. Can be used in character classes. \xA9 matches © when using the Latin-1 code page.
\n, \r and \t Match an LF character, CR character and a tab character respectively. Can be used in character classes. \r\n matches a DOS/Windows CRLF line break.
\a, \e, \f and \v Match a bell character (\x07), escape character (\x1B), form feed (\x0C) and vertical tab (\x0B) respectively. Can be used in character classes.
\cA through \cZ Match an ASCII character Control+A through Control+Z, equivalent to \x01 through \x1A. Can be used in character classes. \cM\cJ matches a DOS/Windows CRLF line break.

Character Classes or Character Sets [abc]

Character

Description

Example

[ (opening square bracket) Starts a character class. A character class matches a single character out of all the possibilities offered by the character class. Inside a character class, different rules apply. The rules in this section are only valid inside character classes. The rules outside this section are not valid in character classes, except \n, \r, \t and \xFF
Any character except ^-]\ add that character to the possible matches for the character class. All characters except the listed special characters. [abc] matches a, b or c
\ (backslash) followed by any of ^-]\ A backslash escapes special characters to suppress their special meaning. [\^\]] matches ^ or ]
- (hyphen) except immediately after the opening [ Specifies a range of characters. (Specifies a hyphen if placed immediately after the opening [) [a-zA-Z0-9] matches any letter or digit
^ (caret) immediately after the opening [ Negates the character class, causing it to match a single character not listed in the character class. (Specifies a caret if placed anywhere except after the opening [) [^a-d] matches x (any character except a, b, c or d)
\d, \w and \s Shorthand character classes matching digits 0-9, word characters (letters and digits) and whitespace respectively. Can be used inside and outside character classes. [\d\s] matches a character that is a digit or whitespace
\D, \W and \S Negated versions of the above. Should be used only outside character classes. (Can be used inside, but that is confusing.) \D matches a character that is not a digit
[\b] Inside a character class, \b is a backspace character. [\b\t] matches a backspace or tab character

Dot

Character

Description

Example

. (dot) Matches any single character except line break characters \r and \n. Most regex flavors have an option to make the dot match line break characters too. . matches x or (almost) any other character

Anchors

Character

Description

Example

^ (caret) Matches at the start of the string the regex pattern is applied to. Matches a position rather than a character. Most regex flavors have an option to make the caret match after line breaks (i.e. at the start of a line in a file) as well. ^. matches a in abc\ndef. Also matches d in “multi-line” mode.
$ (dollar) Matches at the end of the string the regex pattern is applied to. Matches a position rather than a character. Most regex flavors have an option to make the dollar match before line breaks (i.e. at the end of a line in a file) as well. Also matches before the very last line break if the string ends with a line break. .$ matches f in abc\ndef. Also matches c in “multi-line” mode.
\A Matches at the start of the string the regex pattern is applied to. Matches a position rather than a character. Never matches after line breaks. \A. matches a in abc
\Z Matches at the end of the string the regex pattern is applied to. Matches a position rather than a character. Never matches before line breaks, except for the very last line break if the string ends with a line break. .\Z matches f in abc\ndef
\z Matches at the end of the string the regex pattern is applied to. Matches a position rather than a character. Never matches before line breaks. .\z matches f in abc\ndef

Word Boundaries

Character

Description

Example

\b Matches at the position between a word character (anything matched by \w) and a non-word character (anything matched by [^\w] or \W) as well as at the start and/or end of the string if the first and/or last characters in the string are word characters. .\b matches c in abc
\B Matches at the position between two word characters (i.e the position between \w\w) as well as at the position between two non-word characters (i.e. \W\W). \B.\B matches b in abc

Alternation

Character

Description

Example

| (pipe) Causes the regex engine to match either the part on the left side, or the part on the right side. Can be strung together into a series of options. abc|def|xyz matches abc, def or xyz
| (pipe) The pipe has the lowest precedence of all operators. Use grouping to alternate only part of the regular expression. abc(def|xyz) matches abcdef or abcxyz

Quantifiers

Character

Description

Example

? (question mark) Makes the preceding item optional. Greedy, so the optional item is included in the match if possible. abc? matches ab or abc
?? Makes the preceding item optional. Lazy, so the optional item is excluded in the match if possible. This construct is often excluded from documentation because of its limited use. abc?? matches ab or abc
* (star) Repeats the previous item zero or more times. Greedy, so as many items as possible will be matched before trying permutations with less matches of the preceding item, up to the point where the preceding item is not matched at all. “.*” matches “def” “ghi” in abc “def” “ghi” jkl
*? (lazy star) Repeats the previous item zero or more times. Lazy, so the engine first attempts to skip the previous item, before trying permutations with ever increasing matches of the preceding item. “.*?” matches “def” in abc “def” “ghi” jkl
+ (plus) Repeats the previous item once or more. Greedy, so as many items as possible will be matched before trying permutations with less matches of the preceding item, up to the point where the preceding item is matched only once. “.+” matches “def” “ghi” in abc “def” “ghi” jkl
+? (lazy plus) Repeats the previous item once or more. Lazy, so the engine first matches the previous item only once, before trying permutations with ever increasing matches of the preceding item. “.+?” matches “def” in abc “def” “ghi” jkl
{n} where n is an integer >= 1 Repeats the previous item exactly n times. a{3} matches aaa
{n,m} where n >= 0 and m >= n Repeats the previous item between n and m times. Greedy, so repeating m times is tried before reducing the repetition to n times. a{2,4} matches aaaa, aaa or aa
{n,m}? where n >= 0 and m >= n Repeats the previous item between n and m times. Lazy, so repeating n times is tried before increasing the repetition to m times. a{2,4}? matches aa, aaa or aaaa
{n,} where n >= 0 Repeats the previous item at least n times. Greedy, so as many items as possible will be matched before trying permutations with less matches of the preceding item, up to the point where the preceding item is matched only n times. a{2,} matches aaaaa in aaaaa
{n,}? where n >= 0 Repeats the previous item n or more times. Lazy, so the engine first matches the previous item n times, before trying permutations with ever increasing matches of the preceding item. a{2,}? matches aa in aaaaa

source: www.regular-expressions.info

04 Mar

Quick look at subversion / svn commands – overview

About Subversion:

Subversion, also known as svn, is a version control system much like the Concurrent Versions System (CVS). Version control systems allow many individuals (who may be distributed geographically) to collaborate on a set of files (typically source code). Subversion has all the major features of CVS, plus certain new features that CVS users often wish they had. This package includes the Subversion client (svn), tools to create a Subversion repository (svnadmin) and to make a repository available over a network (svnserve).

Below is an introductory part for regular usage and basic details for working with SVN, performaing different tasks with SVN. Detailed information can be surely obtained from the Subversion site

Regular SVN Commands:

svn –help // obtaining commandline help from svn
svn add filename // adding file to svn
svn add directory // adding directory to svn
svn ci filename -m “message” // checking in/commiting a file to svn
svn commit –message “message” filename
svn ci foldername -m “”

Creating a tag from trunk:

svn copy http://path/to/repository/trunk http://path/to/repository/tags/TagName -m “Message for Tag Release ”

Creating a tag from branch:

svn copy http://path/to/repository/branches/branch_name http://path/to/repository/tags/TagName -m “Message for Tag Release ”

Switch tag/branch/trunk to specific location:

svn switch http://path/to/svn/repository/tag /target/path/

To switch from old svn repository url to newer:

svn switch –relocate http://path/to/svn/repository/tag http://new/path/to/svn/repository/tag

We shifted our repository to newer location. The tags created from earlier repository were still pointing to older SVN Repository path. To correct that we must relocate the point of current settings to newer location.

Cleaning up subversion files caused by escaped processes and crashed:

svn cleanup

Difference between SVN repository with present changes:

svn diff filename
svn di filename

Difference between two SVN Revisions:

svn diff -r rev1:rev2 filename

List directory/file under repository

svn list directory
svn ls directory

Display information about file or directory including Date modified, author, revision, path in repository.

svn info filename

Show the Subversion log messages for a set of revision(s) and/or file(s) and/or all directory contents in repository.

svn log filename
svn log .
svn log http://path/to/file
svn log -v .
svn log -r RevisionNumber http://path/to/file

Create / Rename Directories in SVN:

svn mkdir directory
svn mkdir http://path/to/directory
svn move directory1 directory2
svn mv directory1 directory2
svn mv file-old-name fil-new-name

Undo changes to local file with respect to SVN Version:

svn revert filename

Mark files Resolved after resolving conflicts in file:

svn resolved filename

Check status of file/directory in SVN:

svn status
svn st

Meanings of Status’s first column:

U: File to be updated
A: File to be added
D: File to be deleted
R: File to be replaced
G: File to be merged
C: Conflicting changes
X: Resource is external to repository (svn:externals)
?: File/directory not under version control
!: File/directory missing
‘ ‘: no modifications
C: Conflicted
M: Modified
*: Local file different than repository. File will be overwritten with the updated version from the server, if you perform an update.
L: locked
S: switched to a branch

Retrive latest commited changes from SVN Repository to your local copy

svn update
svn up

-- Kedar Vaijanapurkar --