/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

third-bit.com
| | osc.garden

In order to keep the 'Last updated' field of posts always accurate, I automated its modification with a custom Git pre-commit hook.
4.1 parsecs

Travel
| |
| | www.wyeworks.com

If you have been developing software for some time you have probably noticed that there are lots of things that can go wrong, no matter how...
4.0 parsecs

Travel
| |
| | vlad.website

Sometimes, you want to add some code to test something out, but you definitely want to make sure you don't git commit it. Of course, you should always check the output of git diff before you make a commit (you do, right?), but if you have a lot of changes things can slip through the cracks. A solution is to write a comment containing a string such as "nocheckin": function do_stuff() { printf("hello!!! testing!!!\n"); // nocheckin call_important_thing(); call_other_thing(); } Then, you need to set git up such that it refuses to make a commit if it detects the "nocheckin" string anywhere in your changed files. Here's how to do it.
4.0 parsecs

Travel
| |
| | www.cybershu.eu

If you work with Python, you probably need to activate a virtual environment to manage dependencies. Using a virtualenv requires activation each time you wan...
18.3 parsecs

Travel
|