DIY- Photos at home (Beautiful and Magical)

2010-11-17 1 min read Photo

Requirements:

  1. DSLR Nikon D5000

  2. Some Sparkles of different colors

  3. 2x100W Bulbs

and some imagination

Results:

Fantastic Photos with beautiful effects.

[Sparkles][1]
Sparkles
[Sparkles][2]
Sparkles
[Sparkles][3]
Sparkles
[Sparkles][4]
Sparkles
[Sparkles][5]
Sparkles
[Sparkles][6]
Sparkles
[Sparkles][7]
Sparkles
[Sparkles - Heart][8]
Sparkles - Heart
Enhanced by Zemanta

Fundraising for Linux Foundation.

2010-11-13 1 min read Uncategorized

All of us have been benefited by Linux in some way or other and this is due to all the work that is being done by so many organizations and people around the world. I would like to spare some time to tell you about my initiative to raise 100$ for Linux Foundation. Please visit my donation page or click donate on the widget in the bottom of the page. The Linux Foundation will highly appreciate it and so would I.

Continue reading

function for copy files with progress bar (using pv – pipe viewer)

2010-11-11 1 min read Bash Linux

function for copy files with progress bar (using pv – pipe viewer)

  <td>
    <div class="text codecolorer">
      &nbsp;cp_p() { if [ `echo "$2" | grep ".*/$"` ]; then pv "$1" > "$2""$1"; else pv "$1" > "$2"/"$1"; fi; }
    </div>
  </td>
</tr>
1

dont have to type new file name (it copy file under same name) and dont have to use ‘/’ in the end of destination folder (but you can if u want, its idiot proof)

Continue reading

Print all environment variables, including hidden ones

2010-11-09 2 min read Bash Fedora Linux

Print all environment variables, including hidden ones

  <td>
    <div class="text codecolorer">
      for _a in {A..Z} {a..z};do _z=${!${_a}*};for _i in `eval echo "${_z}"`;do echo -e "$_i: ${!_i}";done;done|cat -Tsv
    </div>
  </td>
</tr>
1

This uses some tricks I found while reading the bash man page to enumerate and display all the current environment variables, including those not listed by the ‘env‘ command which according to the bash docs are more for internal use by BASH. The main trick is the way bash will list all environment variable names when performing expansion on ${!A*}. Then the eval builtin makes it work in a loop.

Continue reading

Skyline with Red color – from mobile.

2010-11-07 1 min read Photo

Have you ever wondered, how the red skyline would look if you did not have your favourite camera with you to capture it. I had only my Samsung Omni Windows Mobile with me to capture this, do comment on how they look 🙂

[Red Skyline][1]
Red Skyline
[Red Skyline][2]
Red Skyline
[Red Skyline][3]
Red Skyline
[Red Skyline][4]
Red Skyline
Enhanced by Zemanta
Older posts Newer posts