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/05/04
Often, hotspots only allow http/https traffic. Other traffic – like SSH – is blocked. Nowadays, fewer hotspots block that, but too many still do.
So it can be worth a while to route your SSH server through HTTPS (I don’t like Web-based SSH that much as terminal emulation in browsers isn’t that well yet, but that seems to change rapidly, more on that in the “Further reading” section below).
After some background reading at apache – Tunnel over HTTPS – Stack Overflow, here are a few links that help you do it:
You need:
Read more at DAG: Tunneling SSH over HTTP(S) and SSH over SSL, a quick and minimal config..
Steps:
Read more at Using SSH over the HTTPS port · GitHub Help.
Using Putty and an HTTP proxy to ssh anywhere through firewalls | Me in IT.
Tunneling SSH through HTTP proxies using HTTP Connect – ArchWiki.
Not all proxy configurations and hotspots support this. But it might be worth a look: SSH Over Proxy.
SSH plugins for browsers:
Web based SSH:
–jeroen
Posted in Communications Development, Development, Encryption, HTTP, https, HTTPS/TLS security, Internet protocol suite, Power User, Security, SSH, TCP | Leave a Comment »
Posted by jpluimers on 2020/05/01
Verify [WayBack] OpenSSH: Key generation before generating keys.
At the time of grabbing it was this (for the mozilla tag; use another tag if you prefer):
# RSA keys are favored over ECDSA keys when backward compatibility ''is required'',
# thus, newly generated keys are always either ED25519 or RSA (NOT ECDSA or DSA).
$ ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa_mozilla_$(date +%Y-%m-%d) -C "Mozilla key for xyz"
# ED25519 keys are favored over RSA keys when backward compatibility ''is not required''.
# This is only compatible with OpenSSH 6.5+ and fixed-size (256 bytes).
$ ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_mozilla_$(date +%Y-%m-%d) -C "Mozilla key for xyz"
This was not changed based on [WayBack] Key generation: pass-a and -o argument? · Issue #68 · mozilla/wikimo_content · GitHub: a discussion on the KDF rounds (-a parameter) and storage format (-o parameter).
This is slightly less strong than in [WayBack] Upgrade Your SSH Key to Ed25519 | Programming Journal, but seems to be OK when writing this in 2018.
For comparison, a similar discussion is at [WayBack] public key – How many KDF rounds for an SSH key? – Cryptography Stack Exchange.
In practice, I am not for one ssh ID per host, but I use different tags depending on where the ssh ID applies. More discussion on this is at [WayBack] privacy – Best Practice: ”separate ssh-key per host and user“ vs. ”one ssh-key for all hosts“ – Information Security Stack Exchange
Based on the above, I also learned about this password generator: [WayBack] GitHub – gdestuynder/pwgen
–jeroen
Posted in *nix, *nix-tools, Encryption, Hashing, Power User, Security, ssh/sshd | Leave a Comment »
Posted by jpluimers on 2020/05/01
It is easy to replace the halogen bulbs in IKEA track lighting systems like IKEA SANSA or IKEA LINA by LED bulbs (Sansa uses 5.3mm spaced MR16 fitting compatible with both GX5.3 and GU5.3 bulbs, I think LINA uses the same): [WayBack] SM2YER Goran’s Homepage.
There are many other fittings; [WayBack] LED fitting welke moet ik kiezen? | Lampfittingen overzicht has a good list, mentioning these:
- E14
- E27
- GU10
- MR11 (which has slightly thicker pins than G4 and GU4)
- G4 and GU4
(with varying pin thickness)- G5.3, GX5.3, GU5.3
(with varying pin thickness)- G6.35, GX6.535, GY6.35, GZ6.35
(with varying pin thickness)- MR16
- G9
- GU10
- AR111
The problem is the power supplies. They do not like the low wattage, or even burn with low wattage. Two solutions:
Fitting references:
--jeroen
Posted in Development, Hardware Development, IKEA hacks, LifeHacker, Power User | Leave a Comment »
Posted by jpluimers on 2020/05/01
Every now and then, I tend to misplace software license keys so they are only on the system I’ve installed it on.
Too bad, virus scanners (including the built in Windows one) tend to get more picky on which of the below tools get automatically deleted, so I’ve listed quite a few of them, including some posts with more links:
Note some of the PowerShell scripts fail on some of the installations I tried. Not sure why yet.
–jeroen
Posted in Power User, Windows | Leave a Comment »
Posted by jpluimers on 2020/04/30
Based on [WayBack] version control – How do I do an initial push to a remote repository with Git? – Stack Overflow, this is what I do:
On the server
mkdir my_project.git cd my_project.git git --bare initOn the client
mkdir my_project cd my_project touch .gitignore git init git add . git commit -m "Initial commit" git remote add origin youruser@yourserver.com:/path/to/my_project.git git push --set-upstream origin master
The last one is important, especially when you have multiple remotes.
Some servers allow you to skip the server part, as they run them automatically when pushing a new repository from the client.
This can be both an advantage and a disadvantage, for instance when you have typos when adding the remote.
–jeroen
Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »
Posted by jpluimers on 2020/04/30
This is a nice joke: [WayBack] The Invention of C++ – Nice bit of net lore.
But the actual interview linked from the article is quite nice: [WayBack: The Real Stroustrup Interview]
By the name, I found the actual (hopefully still online when this gets out of the blog post queue) version at [WayBack] Stroustrup: Interviews under [WayBack] stroustrup.com/ieee_interview.pdf
–jeroen
Via: [WayBack] The invention of C++ – Thomas Mueller (dummzeuch) – Google+
Posted in C, C++, Development, History, Software Development | Leave a Comment »
Posted by jpluimers on 2020/04/30
From a while ago, but I archived and collected the links. Be sure to read the comments in the Twitter threads.
–jeroen
Posted in Design Patterns, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2020/04/29
Interesting: [WayBack] Mono-repo or multi-repo? Why choose one, when you can have both?
Uses: [WayBack] GitHub – mateodelnorte/meta: tool for turning many repos into a meta repo. why choose many repos or a monolithic repo, when you can have both with a meta repo?
–jeroen
Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »