For my link archive: [Wayback/Archive.is] bimmer.work : VIN Decoder for BMW
–jeroen
Posted by jpluimers on 2022/03/09
For my link archive: [Wayback/Archive.is] bimmer.work : VIN Decoder for BMW
–jeroen
Posted in About, cars, E61 530xd touring, LifeHacker, Personal, Power User | Leave a Comment »
Posted by jpluimers on 2022/03/09
Not sure why, but most of my Visual Studio configurations have the “PowerShell: Launch Current File w/Args
” debug configuration template. So here is the JSON you need to add in your launch.json
configuration file.
{ "type": "PowerShell", "request": "launch", "name": "PowerShell Launch Current File w/Args Prompt", "script": "${file}", "args": [ "${command:SpecifyScriptArgs}" ], "cwd": "${file}" }
The trick is the bold part that prompts Visual Studio for the arguments.
Note: in order to have such a file, you need to have opened a folder in Visual Studio Code first, then open a PowerShell script file from that directory second.
Related:
–jeroen
Posted in .NET, CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2022/03/09
I needed this for my blog post tomorrow:
import os os.system('sh') # or bash, tcsh, zsh, whatever. :-P
[Wayback] How do I drop a bash shell from within Python? – Stack Overflow
Thanks [Wayback] Chris Jester-Young!
This trick works at the Python shell.
–jeroen
Posted in Development, Python, Scripting, Software Development | Leave a Comment »