Things to commit just before leaving your job
gist.github.com
Things to commit just before leaving your job
1–10 of 165 posts
Re: Things to commit just before leaving your job
#2Re: Things to commit just before leaving your job
#3Oh wow. This literally sent a shiver down my spine. Imagine debugging that.
Also love the randmoness based ones!
Re: Things to commit just before leaving your job
#4 #ifndef DONE
#ifdef TWICE
void g(char* str);
#define DONE
#else // TWICE
#ifdef ONCE
void g(void* str);
#define TWICE
#else // ONCE
void g(std::string str);
#define ONCE
#endif // ONCE
#endif // TWICE
#endif // DONE
Granted, it isn't one line long.[0] https://www.thc.org/root/phun/unmaintain.html (Cert issue shows up on FF unfortunately)
Re: Things to commit just before leaving your job
#5Re: Things to commit just before leaving your job
#6We've got a guy in the office that merges the past over the present all the time. He's not quitting but I imagine if you were to try to break things this would be a good way to do it.
There's no reason for him to commit javascript files he doesn't even work on the front end. It took me forever to figure out he wrote over my files the other day.
Re: Things to commit just before leaving your job
#7Re: Things to commit just before leaving your job
#8#define volatile // this one is cool Oh wow. This literally sent a shiver down my spine. Imagine debugging that. Also love the randmoness based ones!
Re: Things to commit just before leaving your job
#9If only we can get a rosettacode version of this in all languages. I bet trolls will coming out left and right. It would be pure evil.
Re: Things to commit just before leaving your job
#10We've got a guy in the office that merges the past over the present all the time. He's not quitting but I imagine if you were to try to break things this would be a good way to do it.