Get everything back on OSX
Boot into recovery mode and reinstall OS X on top of your existing installation. This shouldn't delete your data (but you have that on backups anyway, right?), just repair your OS.

If you also downloaded some random software from obscure russian servers as suggested in the link you posted and gave that software admin access to your computer, you might want to wipe your system and do a fresh install. It could easily have installed malware.

And maybe don't patch your kernel with instructions from YouTube without knowing exactly what you're doing in future? (And questions like this go on http://apple.stackexchange.com/ as it's not programming-related but just general how to use a Mac stuff.)