sleepingsucks

Notepad++ Notes

Posted in Uncategorized by cdeschenes on November 13, 2015

Search & replace with adding lines:

example: I can not sleep!

I want to add “sleeping sucks” before this line

Search Mode: extended

Find what: I can not sleep!

Replace With: Sleeping Sucks\r\nI can not sleep!


 

Match anything inside parentheses:

Search Mode: Regular Expression

Find What:  \(([^()]*)\) Starts with a space!

Replace With: emplty


 

 

<path>./.*?</path>

OS X 10.11 El Capitan – Flush DNS

Posted in Uncategorized by cdeschenes on November 9, 2015

To flush your DNS on OS X 10.11, issue this command in terminal:

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say flushed

OS X El Capitan xcrun: error

Posted in Uncategorized by cdeschenes on November 9, 2015

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

How to fix this error:

xcode-select –install