Category Archives: Programming

Remove Duplicate Lines in Notepad++

If you’ve ever had the need to remove the duplicate lines from a long list of entries like so…

hi
bye
hi
guy
bye
hi

… and are looking for this…

hi
bye
guy

You can use the find/replace feature in Notepad++ to do it if you use the regex funcationality. Here’s the find string…

^(.*?)$\s+?^(?=.*^\1$)

Just replace with a zero length string.

If you’d like to read up on the details I found this tip here

Please remember to subscribe to the newsletter or feed to stay up to date!

Disclaimer: Thoughts and opinions are my own, and do not reflect the views of any employer, family member, friend, or anyone else. Some links may be affiliate links, but I don't link to anything I don't use myself.

The Male Dominated Field of Programming #1aDay

Apparently only around 20% to 30% of currently working programmers are female, and in my experience it seems to be closer to 20% than 30%. Still, the post raises some important points especially about behavior.

I want my girls to be able to do anything they are capable of and interested in just like I wish the same for any boy.

Still, regarding the cartoon, I half wonder if the person has ever watched a girl play with a doll. There is more going on in a 5 minute session than I can keep track of when I watch my girls with their dolls… And yes, they also love the “ipad” (aka Kindle Fire).

Read the full article here

Please remember to subscribe to the newsletter or feed to stay up to date!

Disclaimer: Thoughts and opinions are my own, and do not reflect the views of any employer, family member, friend, or anyone else. Some links may be affiliate links, but I don't link to anything I don't use myself.