For my link archive because of the tips: [WayBack] How To Use Journalctl to View and Manipulate Systemd Logs | DigitalOcean
–jeroen
Posted by jpluimers on 2020/11/05
For my link archive because of the tips: [WayBack] How To Use Journalctl to View and Manipulate Systemd Logs | DigitalOcean
–jeroen
Posted in *nix, *nix-tools, journalctl and journald, Linux, Power User | Leave a Comment »
Posted by jpluimers on 2020/11/05
Cool post: [WayBack] Register and use a custom clipboard format in Delphi – twm’s blog.
It is about transmitting GPS (WGS 84) coordinates from one program to another via the clipboard.
One day I will find some time to dust off some draft clipboard posts that I have been dormant for too long.
These already got published:
Via [WayBack] I just now had the need to transmit GPS (WGS 84) coordinates from one program to another. First, I simply copied longitude and latitude separately using… – Thomas Mueller (dummzeuch) – Google+
–jeroen
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2020/11/04
Out of the box, Visual Studio Code does allow you to pull from and commit/push to git repositories, but it has not much more git support.
These two marketplace extensions will help big time:
I like GitLens most as it covers so much more than just git history.
If you only need git history access, then you can use Git History as well.
More information and a better comparison:
–jeroen
Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »
Posted by jpluimers on 2020/11/04
Multi-WAN routing always involves marking incoming connections to the replies go out on the same connection: [WayBack] Mikrotik Remote Access via Multiple WAN Links | Syed Jahanzaib Personal Blog to Share Knowledge !
# Mirkotik IP Firewall Mangle Section/ ip firewall mangle# Mark traffic coming via WAN-1 linkadd chain=input in-interface=WAN1 action=mark-connection new-connection-mark=WAN1_incoming_conn# Mark traffic coming via WAN-2 linkadd chain=input in-interface=WAN2 action=mark-connection new-connection-mark=WAN2_incoming_conn# Mark traffic routing mark for above marked connection for WAN-1 , so that mikrotik will return traffic via same interface it came inadd chain=output connection-mark=WAN1_incoming_conn action=mark-routing new-routing-mark=to_WAN1# Mark traffic routing mark for above marked connection for WAN-2, so that mikrotik will return traffic via same interface it came inadd chain=output connection-mark=WAN2_incoming_conn action=mark-routing new-routing-mark=to_WAN2# Finally Add appropriate routes in ROUTE section/ ip routeadd dst-address=0.0.0.0/0 gateway=1.1.1.2 routing-mark=to_WAN1 check-gateway=pingadd dst-address=0.0.0.0/0 gateway=2.2.2.2 routing-mark=to_WAN2 check-gateway=ping
Related:
–jeroen
Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2020/11/04
SetLength can relocate the memory[WayBack] Pointers are dangerous – twm’s blog
Via: [WayBack] Pointers can be really helpful, especially they can improve performance and readability, but they are also dangerous. I spent nearly a day tracking down… – Thomas Mueller (dummzeuch) – Google+
–jeroen
Posted in Conference Topics, Conferences, Delphi, Development, Event, Software Development | Leave a Comment »
Posted by jpluimers on 2020/11/03
Too bad I bumped into this a long time after having been a regular PlasticSCM user: [Archive.is] Plastic SCM blog: Unified diff of a branch:
Learn how to create a custom action to run a unified diff operation for a Plastic SCM branch.
It is an open source tool called unifiedbranchdiff.exe at github, and seems based on a cm path for getting paths, and cm patch for generating the actual patch, and needing external GNU tools diff and patch (hopefully it also works with more recent versions than the woefully outdated 2007 Win32 versions of [WayBack] DiffUtils 2.8.7 for Windows and [WayBack] Patch 2.5.9 for Windows).
Related:
–jeroen
Posted in Development, DVCS - Distributed Version Control, PlasticSCM, Software Development, Source Code Management | Leave a Comment »
Posted by jpluimers on 2020/11/03
Since I keep forgetting this has been possible since the introduction of html 5: [WayBack] html – Is it possible to specify a starting number for an ordered list? – Stack Overflow:
If you need the functionality to start an ordered list (OL) at a specific point, you’ll have to specify your doctype as HTML 5; which is:
<!doctype html>With that doctype, it is valid to set a
startattribute on an ordered list. Such as:<ol start="6"> <li>Lorem</li> <li>Ipsum</li> <li>Dolor</li> </ol>
–jeroen
Posted in Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2020/11/03
These are quite OK: [WayBack] GitHub – colinj/TDateTimeHelper: Helper record for TDateTime type in [WayBack] DateTimeHelper.pas with DUnitX tests in [WayBack] TDateTimeHelper.Tests.pas.
Via: [WayBack] Does Delphi XE 10.2.2 ship with type helpers for TDateTime type? Or do I need to implement my own. – Graeme Geldenhuys – Google+.
It got even promoted at [WayBack] Delphi XE3: Record Helpers for Intrinsic Types.
–jeroen
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2020/11/02
No, I do not like the OnePlus Slate font, despite the lower x-height.
Background:
The fonts (images from Wikipedia):
|
|
|
Roboto – Wikipedia |
Slate (typeface) – Wikipedia |
–jeroen
Posted in Android Devices, Font, LifeHacker, OnePlus Five, OnePlus Six, Power User | Leave a Comment »