Cool: [WayBack] GitHub – ofek/hatch: A modern project, package, and virtual env manager for Python
Via: [WayBack] Hatch: A modern project, package, and virtual env manager for Python – ThisIsWhyICode – Google+
–jeroen
Posted by jpluimers on 2020/05/04
Cool: [WayBack] GitHub – ofek/hatch: A modern project, package, and virtual env manager for Python
Via: [WayBack] Hatch: A modern project, package, and virtual env manager for Python – ThisIsWhyICode – Google+
–jeroen
Posted in Development, Python, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2020/05/04
Cool. [WayBack] Black Thread Design | Convert 3D models to GLTF:
GLTF is the up and coming superstar of 3D model formats – you can even display it on the Facebook news feed. Use this tool to convert from various formats to GLTF using the three.js exporter
All Java Script based: [WayBack] three.js / examples.
Via:
–jeroen
Posted in Development, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2020/04/29
This nailed it: way easier than all the alternatives involving VB scripts, registry keys and Group Policy Editors.
- Create a shortcut to your batch file.
- Get into shortcut property and change target to something like:
cmd.exe /C "path-to-your-batch".- Simply drag your new shortcut to the taskbar
Source: [WayBack] How to pin either a Shortcut or a Batch file to the new Windows 7, 8 and 10 Taskbar and start menu? – Super User
The trick is step 2. After that you can modify back your shortcut to just the batch file.
–jeroen
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 7 | Leave a Comment »
Posted by jpluimers on 2020/04/28
There is still so much Python 2.x stuff on the web, and I’m slowly moving what I have to Python 3.
These links are good starts for print calls and string formatting:
–jeroen
Posted in Development, Python, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2020/04/28
Just in case I ever need to develop Python scripts on Windows (nowadays it’s mostly on Linux/BSD based systems):[WayBack] GitHub – pyscripter/pyscripter: Pyscripter is a feature-rich but lightweight Python IDE.
If you like that, you can (also) help with this project: [WayBack] PyScripter localization Translate PyScripter into your own language.
Via: [WayBack] The PyScripter IDE, which is written in Delphi is looking for translators. We have set up a translation project on transifex.com and would be happy if s… – Lübbe Onken – Google+
–jeroen
Posted in Delphi, Development, Python, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2020/04/22
[WayBack] Use the Unofficial Bash Strict Mode (Unless You Looove Debugging):
#!/bin/bashset -euo pipefailIFS=$'\n\t'
Explanation in the above post.
–jeroen
Posted in bash, Development, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2020/04/20
Since I tend to forget this:
More info at:
I think for functions, you can apply what is linked from Some useful links on bash parameters: $1, $*, $@, quotes, etc., so a loop over all parameters in a function is the same as in a script, see [WayBack] shell – how to loop through arguments in a bash script – Unix & Linux Stack Exchange from Gilles:
There’s a special syntax for this:
for i do echo "$i" doneMore generally, the list of parameters of the current script or function is available through the special variable
$@.for i in "$@"; do echo "$i" doneNote that you need the double quotes around
$@, otherwise the parameters undergo wildcard expansion and field splitting."$@"is magic: despite the double quotes, it expands into as many fields as there are parameters.print_arguments () { for i in "$@"; do echo "$i"; done } print_arguments 'hello world' '*' 'special !\characters' # prints 3 lines print_arguments '' # prints one empty line print_arguments # prints nothing
Posted in bash, Development, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2020/04/07
Interesting read: Time eating bug of the day… – Fabian S. Biehn – Google+.
TL;DR: in SQL Server use SET NOCOUNT ON so tools taking the last modified record count won’t be confused by your trigger.
Source: [WayBack] Time eating bug of the day: I used a TADOQuery.ExecSQL (on Berlin) for an Up…
Related: [WayBack] sql server – ADODB affected rows return trigger’s affected rows – Stack Overflow
–jeroen
Posted in Database Development, Delphi, Development, Office VBA, Scripting, Software Development, SQL, SQL Server | Leave a Comment »
Posted by jpluimers on 2020/04/02
The article is dense but goes way deeper than straightforward sys.argv[1:] handling: [WayBack] 10.6. Handling command-line arguments.
–jeroen
Posted in Development, Python, Scripting, Software Development | Leave a Comment »