Ramin Hossaini (blog)

18Nov/091

Making ‘Fairy Tales’

This time round, I tried to take more screenshots

Fairy Tales

4Nov/091

Search through files for a string (Linux)

To search a directory recursively for specific text or a string, use:

find . -exec grep "string to find" '{}' \; -print
Tagged as: 1 Comment
30Oct/093

Surrealism “Propaganda”

I had this idea for a couple of days and finally decided to do it yesterday. This was the process (very very roughly)

Step 1: Getting the initial photos

This is the embarassing part. You'll look silly almost no matter what - trying to get a self-portrait in a suitable position that you envision. A camera on tripod, remote control and bounce-flash later though (thanks, I like my bedsheets too):

step1

Got some stock-photography from Pierre on DeviantArt

step1_stock

Step 2: Putting the 2 together

I had to give the photo a bit more room at the top, so I photoshopped some more wall there. With composites, sometimes I'll mask out the individual parts as precisely as I can initially and save the respective masks in my channels. In this case, I put them together first and then masked it all together. I think that's a mistake and I should have masked the subject first (me) then masked the television. Could have saved myself quite a bit of time afterwards.

step2

Step 3: Magic

OK, so I skipped a lot of steps - my bad - I didn't take any screenshots. I was too busy wondering "how the hell am I going to get this to blend". I guess there's always a point in these highly-processed photos where I say "I should stop right now, this is just not working", but I keep on going because it's taken so much effort already. Eventually, there's a point where I say "oh, I might have something here". I suppose that makes it all the more rewarding in the end.

I use a lot of different filters and textures and try to burn-and-dodge a lot.

step3

Step 4: Colouring and painting light

I hate masking and I love "painting-light" and manipulating it. I think that if I actually loved masking, I could have some really amazing work.

At this point, I also did a bit of liquifying and stretched/distorted parts of the photo.

Almost 3 hours later, this was the final shot:

step4

24Oct/091

Synchronize Google Calendar on iPhone

Note: This should also work on the iPod Touch

iPhone OS 3.0 introduced support for CalDAV and ICS - that means it's really simple to sync with your Google Calendar:

Start by going into Settings:

IMG_0009

Go into "Mail, Contacts, Calendars", then "Add account..."

IMG_0010

Add a CalDAV account and fill the details:

IMG_0013

If you check your calendar, it should sync

IMG_0016

You can also add all your other calendars by adding a "Subscribed Calendar"

Start by going to the settings for the calendar you want to add:

gcalendar

Click on the "ICAL" link to get your Calendar's private address

gcalendar2

It's usually a really long link, so start by putting it under your drafts or email it to yourself. Add another Calendar account (not a CalDAV this time, but a "subscribed Calendar" Then copy-and-paste into the Server input box specifying URL to the .ics file)

IMG_0014

22Oct/090

Flickr adds people-tagging, finally joins the bandwagon

flickr

A feature that many in the Flickr community have been requesting for years has finally been implemented.

What?! No @ sign in front of the names??

Tagged as: No Comments
19Oct/090

WordPress BlogInfo variables

bloginfo('atom_url');       //ATOM feed for site
bloginfo('charset');        //The character set
bloginfo('description');    //The description of the blog
bloginfo('html_type');      //HTML version of the site
bloginfo('name');           //Title of blog
bloginfo('pingback_url');   //The pingback URL
bloginfo('rss2_url');       //The RSS URL
bloginfo('stylesheet_url'); //The URL for the template's CSS file
bloginfo('template_url');   //The URL of the template
bloginfo('url');            //The address of the blog
bloginfo('version');        //Version of the WordPress installation
bloginfo('wpurl');          //URL for WordPress installation
Tagged as: No Comments
19Oct/090

Google Wave adds online-status indicator

wave

This was the biggest lacking feature in Google Wave (for me) for a while. Nice to see it added!

Tagged as: , No Comments
Bear