" automatically remove trailing whitespace before write function! StripTrailingWhitespace() normal mZ %s/\s\+$//e if line("'Z") != line(".") echo "Stripped whitespace\n" endif normal `Z endfunction autocmd BufWritePre COMMIT_EDITMSG,.vimrc,*.js,*.cpp,*.hpp,*.i,*.h,*.c :call StripTrailingWhitespace()
Friday, December 31, 2010
With anyone working on patches it's always important we have whitespace stripped before the diff/patch is pushed. Therefore this is what I add in my .vimrc(I use vim).
Monday, December 27, 2010
This should summarize what I've done for the past week. Actually, a little more than two weeks; the first patch was posted on Thursday. When work started on the 15th, I continued working on Bug 630937 by posting the third patch. It is still currently the process on being reviewed; so Marina asked me to start on a couple of other bugs as well. I worked on Bug 630934, just as I was about to post a new patch, I noticed Bugzilla was down. So I sent the patch to Marina via email instead. We then discussed about the urgency of messages(over IRC) and how we should implement more generic urgency for easy future implementation of notification features. Then I posted another patch based on the specifications I've discussed. Then unfortunately, I fell sick on Friday(Christmas Eve), sleeping 20 hours on the day itself :p. Guess I was tired from all the weird sleeping schedules. That's all folks I guess, meanwhile I will be working on Bug 630760
Wednesday, December 22, 2010
So I am actually just a pretty normal computer science student studying in Singapore, whose curiousity brought me to even consider participating in the Outreach Program for Women. Yes. I was utterly surprised when I got accepted. It came totally unexpected. I'd like to thank the GNOME Foundation for giving me this chance! One way I'm rather special, is that there are probably not that many people (esp girls) who play as much with Linux as I do (again, esp in Singapore). Though I already stopped much of the playing ... Yep. I think that's all about me. Don't miss me though cause I am gonna post back here about my work on GNOME Shell as a requirement for this program D: A final thing that I want to say is, I love my mentor (Marina). She's really really kind and I am really glad to have her as my mentor <3.