The blog relating the daily life of web agency developers
Source: Anything Goes | CommitStrip
Via: 1998 called, it wants its code back :D
–jeroen
Posted by jpluimers on 2017/07/28
The blog relating the daily life of web agency developers
Source: Anything Goes | CommitStrip
Via: 1998 called, it wants its code back :D
–jeroen
Posted in Fun, History, Quotes | Leave a Comment »
Posted by jpluimers on 2017/07/27
Not sure why without the -z compression switch this succeeds:
# rsync -avloz /var/lib/named/master/ /etc/named/master/ sending incremental file list pluimers.com Segmentation fault (core dumped) # rsync -avlo /var/lib/named/master/ /etc/named/master/ sending incremental file list pluimers.com pluimers.com.20161231 pluimers.com~ sent 10,495 bytes received 74 bytes 21,138.00 bytes/sec total size is 132,231 speedup is 12.51 # rsync -avloz /var/lib/named/master/ /etc/named/master/ sending incremental file list sent 1,547 bytes received 13 bytes 3,120.00 bytes/sec total size is 132,231 speedup is 84.76
–jeroen
via: [WayBack] rsync(1) – Linux man page
Posted in *nix, *nix-tools, Power User, rsync | Leave a Comment »
Posted by jpluimers on 2017/07/27
Brilliant solution by Asbjørn Heid:
So the solution I came up with is to use the observation that the “array of const” is “array of TVarRec”, and that “array of TVarRec” is passed as as two arguments: a pointer to the data and the length of the array (or rather, the highest index in the array).
Source: Is there a way to convert ‘array of const’ (open array) to TValue? For example,… [WayBack]
–jeroen
Posted in Delphi, Development, Software Development | 1 Comment »
Posted by jpluimers on 2017/07/27
Some links that were useful getting the SMS sending stuff to work.
The documentation is clear on what to do to send/receive SMS:
But it is unclear what USB hardware does work, so here are some links:
You can also do it the other way around:
–jeroen
Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2017/07/26
HTTP Prompt is an interactive command-line HTTP client featuring autocomplete and syntax highlighting. Download url -> https://github.com/eliangcs/http-prompt – Joe C. Hecht – Google+
Source: HTTP Prompt is an interactive command-line HTTP client featuring autocomplete… [WayBack]
To me it looks remarkably similar to https://github.com/jkbrzt/httpie [WayBack] which too is a visual cURL replacement.

–jeroen
Posted in *nix, Communications Development, cURL, Development, HTTP, Internet protocol suite, Power User, Software Development, TCP, Web Development | Leave a Comment »
Posted by jpluimers on 2017/07/26
Seems I need to say good bye to Bitbucket: while creating a new repository without changing any user aspects, I got this nice message at https://bitbucket.org/repo/create which does not explain which limit I reached:

You’ve exceeded your user limit, restricting all your repositories to read-only access. Change your plan to restore write access. Learn more
Later I found that https://bitbucket.org/account/user/jeroenp/plans-and-billing/ lists I’m within the free plan:
–jeroen
Posted in BitBucket, Development, DVCS - Distributed Version Control, git, Source Code Management | Leave a Comment »
Posted by jpluimers on 2017/07/26
Though the Mikrotik people seem reluctant to make the font size in Winbox configurable, if you run it through WineBottler on OS X, you can scale the individual app. It’s not very pretty but makes it easier to use.
The trick is based on the Windows DPI font settings explained for instance at DPI Display Size Settings – Change – Windows 7 Help Forums and Large Fonts in Registry: Where Exactly? | PC Review but then in Wine.
For Windows, this is a system wide setting, but on a WineBottler application there is one “Windows environment” per application, so it’s application specific and should work for other applications than WinBox as well.
It makes it much easier to do script editing now.
Steps I performed:
/Applications/Winbox4Mac.app/Contents/Resources/system.reg[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts] 1460991918"LogPixels"=dword:00000060"LogPixels"=dword:00000080The value increases the DPI from 0x60 (96 DPI) to 0x80 (128 DPI) , but the WinBox software isn’t smart enough to scale a lot of other UI properties based on it (like controls dialogs, grid cell sizes and script editors).
So it takes a bit of experimenting what works well (on my system, dword:00000090 – or 144 DPI) which scales to 150% cuts off too much of the descenders).
Values I tried:
I got at this trick through [Wine] Screen font size then wading my way to find where system.reg was stored on my system.
TODO: dive into Fixing Windows font scaling without restarting | Marc Durdin’s Blog and see if other registry settings need to be applied as well.
–jeroen
Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2017/07/25
I’ve been using cURL but always had a feeling not to its potential basically because the cURL man page [WayBack] is both massive and lacks concrete useful practical examples.
For instance, I knew about the --header and --verbose options (I always use verbose names even though shorter -H and -v exist) to pass a specific header and get verbose output, but the man page basic examples like this by Tader:
curl --header --verbose "X-MyHeader: 123" www.google.comsource: How to send a header using a HTTP request through a curl call? – Stack Overflow [WayBack]
There are some more examples at bropages.org/curl but they’re hardly organised or documented.
So I was really glad I found the below answer [WayBack] by Amith Koujalgi to web services – HTTP POST and GET using cURL in Linux – Stack Overflow.
But first note that recent versions (around 7.22 or higher) of cURL now need to combine the --silent and --show-error (or in short -sS) parameters to suppress progress but show errors: linux – How do I get cURL to not show the progress bar? – Stack Overflow [WayBack]
Posted in *nix, Communications Development, cURL, Delphi, Development, HTTP, https, Internet protocol suite, JavaScript/ECMAScript, JSON, Power User, REST, Scripting, Security, Software Development, TCP, TLS, XML, XML/XSD | 1 Comment »
Posted by jpluimers on 2017/07/25
For my own reference:
–jeroen
Posted in Development, RouterOS, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2017/07/24
Cool:
Tutorial showing how to turn your handwriting into a font for FREE! This is great for making personalized gifts, kids’ crafts, scrapbooking, & more!
It’s all about www.myscriptfont.com [WayBack] which can genrerate TTF or OTF form a filled in PDF Form [WayBack] or PNG Form [WayBack]
–jeroen
Source: How to Turn YOUR Handwriting into a Font for FREE! [WayBack]
Via:
Posted in Font, LifeHacker, Power User | Leave a Comment »