Inspired by:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eXtreme Go Horse (XGH) Process | |
| Quelle: http://gohorseprocess.wordpress.com | |
| Übersetzung ursprünglich von https://gist.github.com/Neffez/f8d907ba8289f14e23f3855011fa4e2f | |
| 1. Ich denke, also ist es nicht XGH. | |
| In XGH wird nicht gedacht, es wird das erste gemacht, was in den Sinn kommt. Es gibt auch keine zweite Option, die erste ist schneller. | |
| 2. Es gibt 3 Wege ein Problem zu lösen: den richtigen Weg, den falschen Weg und den XGH Weg, welcher exakt wie der falsche ist, aber schneller. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # | |
| # import modules used here -- sys is a very standard one | |
| import sys, argparse, logging | |
| # Gather our code in a main() function | |
| def main(args, loglevel): | |
| logging.basicConfig(format="%(levelname)s: %(message)s", level=loglevel) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (env)~/env pip install pycurl | |
| Downloading/unpacking pycurl | |
| Downloading pycurl-7.19.0.tar.gz (71Kb): 71Kb downloaded | |
| Running setup.py egg_info for package pycurl | |
| sh: curl-config: not found | |
| Traceback (most recent call last): | |
| File "<string>", line 14, in <module> | |
| File "/home/eric/env/build/pycurl/setup.py", line 90, in <module> | |
| raise Exception, ("`%s' not found -- please install the libcurl development files" % CURL_CONFIG) | |
| Exception: `curl-config' not found -- please install the libcurl development files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # SPDX-License-Identifier: MIT | |
| ## Copyright (C) 2009 Przemyslaw Pawelczyk <[email protected]> | |
| ## | |
| ## This script is licensed under the terms of the MIT license. | |
| ## https://opensource.org/licenses/MIT | |
| # | |
| # Lockable script boilerplate | |