Must read for anyone using git: Don’t Be Scared of git rebase | I care, I share, I’m Nathan LeClaire.
–jeroen
Posted by jpluimers on 2017/07/06
Must read for anyone using git: Don’t Be Scared of git rebase | I care, I share, I’m Nathan LeClaire.
–jeroen
Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »
Posted by jpluimers on 2017/07/05
Thanks to ZeroByte answering at [Answered] Where are ip firewall address-list timeout values documented – MikroTik RouterOS [WayBack] which I edited a bit here:
I haven’t seen anything specific to the format of these time tokens, but the firewall add-to-address-list timeout is documented here:
http://wiki.mikrotik.com/wiki/Manual:IP … Properties…It seems to take the same format as any other similar duration-related input I’ve encountered:
- a raw number is interpreted as seconds
You can specify a number as another duration with tokens:
- s = seconds (default)
- m = minutes
- h = hours
- d = days
- w = weeks
A few aspects:
- Tokens can combine be in any order
- Whitespace is ignored
So these are all valid:
2s 2h 2w
1w2d3h4m5s
5s4m3h2d1w
- Days and weeks just get added together. If you specify 1w8d, this is the same as 2w1d
- The last value specified may be in h:m:s format or in h:m (omit seconds)
- Interestingly, if you mix and match, they just get added:
- “1d 2h 12:30” -> “1d 14:30:00”
- Values larger than 536870911 seconds are stored and tracked but when displayed show as 0sec.
(248 days, 13:13:55)- The maximum value is 4294967295 seconds (which is the maximum 32-bit value)
This decodes to: 7101w3d6h28m15s as the largest value….
(7101 weeks is ~136 years counting for leap years, by the way)
–jeroen
Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2017/07/04
Just in case I need any of them: now in chronological order.
MarcoDelphiBooks – http://www.marcocantu.com
Source: MarcoDelphiBooks
–jeroen
Posted in Delphi, Delphi 2005, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2017/06/29
via If only there was a plugin to convert a Google Suite Document into Markdown Syntax… – Kristian Köhntopp – Google+ [WayBack]
GitHub – mangini/gdocs2md: Convert a Google Drive Document to the Markdown format, suitable for publishing. [WayBack]
In the gapps language: Apps Script | Google Developers
Maybe one day – when I use Google Docs more often – I make a reStructuredText version
–jeroen
Posted in Development, gapps Google Apps Script, Google, Google Apps, Lightweight markup language, MarkDown, Power User, reStructuredText, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2017/06/29
XML processing never gets easy. So here are some links that helped me:
–jeroen
Posted in Development, Software Development, XML, XML/XSD, XPath | Leave a Comment »
Posted by jpluimers on 2017/06/28
Bug: Initialisation of Delphi Record containing a dynamic array with ‘Implicit’ class operator – Stack Overflow [WayBack]
Analysed in Source: Initialisation of Delphi Record containing a dynamic array with ‘Implicit’ class operator – Stack Overflow [WayBack]
Posted in Delphi, Delphi 10.1 Berlin (BigBen), Development, Software Development | 2 Comments »
Posted by jpluimers on 2017/06/28
Gosh, bash can be a pain. So here are some more links that proved to be useful in the past:
–jeroen
Posted in bash, Development, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2017/06/27
Since I always forget:
for /l %1 in (1,2,200) do echo %1 >> text-%1.txt
This creates files with incremental filenames like this:
text-1.txt
text-3.txt
...
text-199.txt
–jeroen
via: For – Loop through a range of numbers | Windows CMD | SS64.com [WayBack]
Posted in Batch-Files, Development, Scripting, Software Development | 4 Comments »
Posted by jpluimers on 2017/06/27
It’s a while ago I saw this first, but recently I bumped into it again and found out I never posted a link, so here it goes:
A game to help you master the pen tool
Source: The Bézier Game
–jeroen
Posted in Development, EPS/PostScript, Font, Power User, Software Development | Leave a Comment »
Posted by jpluimers on 2017/06/26
–jeroen
Posted in Assembly Language, CP/M, Development, History, Software Development, Z80 | Leave a Comment »