Make sure to read through comments. Funny stuff, if you know even the basics of the regular expressions.
Category: Programming
A big part of my work has to do with code. I’ve worked as system administrator – installing, patching, and configuring someone else’s code. I’ve worked as independent programmer, writing code on my own. I also programmed as part of the team. And on top of that, I worked as Team Leader and Project Manager, where I had to interact a lot with programmers. Programming world on its own is as huge as the universe. There is always something to learn. When I find something worthy or something that I understand enough to write about, I share it in this category.
–i-am-a-dummy
Here is a handy command-line option for MySQL client: –i-am-a-dummy, or, if you don’t have a sense of humor, –safe-updates. When used, this will prevent updating or deleting rows without explicitly specifying a WHERE clause. It will also limit the number of SELECT and JOIN results.
GitHub source code editor
Call me stupid, but that’s one awesome feature of GitHub that I haven’t noticed until now – source code editor. When you view a file in your repository, there is an ‘Edit’ button on the toolbar above it. That provides you with a simplistic text editor (with controls for tab/space indentation and wrapping), as well as a commit log fields. Here is how it looks:
It’s not something that you would use for the majority of the coding of course, but it is a really nice option for quick edits all around. Especially, if you have non-technical people in the project who edit README and other documentation files, and have no idea about Git at all.
.gitignore
Geek and Poke does it again.
