Archive for the ‘Development’ Category
Posted by jpluimers on 2021/12/14
A page with IPv4 and IPv6 network blocks and addresses [Wayback] Locations and IPs for whitelisting | UptimeRobot:
If you need to whitelist these IPs so that any requests that Uptime Robot send are not blocked.
Or in [Wayback] text form (with Wayback history):
216.144.250.150
69.162.124.226
69.162.124.227
69.162.124.228
69.162.124.229
69.162.124.230
69.162.124.231
69.162.124.232
69.162.124.233
69.162.124.234
69.162.124.235
69.162.124.236
69.162.124.237
63.143.42.242
63.143.42.243
63.143.42.244
63.143.42.245
63.143.42.246
63.143.42.247
63.143.42.248
63.143.42.249
63.143.42.250
63.143.42.251
63.143.42.252
63.143.42.253
216.245.221.82
216.245.221.83
216.245.221.84
216.245.221.85
216.245.221.86
216.245.221.87
216.245.221.88
216.245.221.89
216.245.221.90
216.245.221.91
216.245.221.92
216.245.221.93
208.115.199.18
208.115.199.19
208.115.199.20
208.115.199.21
208.115.199.22
208.115.199.23
208.115.199.24
208.115.199.25
208.115.199.26
208.115.199.27
208.115.199.28
208.115.199.29
208.115.199.30
208.115.199.30
46.137.190.132
122.248.234.23
188.226.183.141
178.62.52.237
54.79.28.129
54.94.142.218
104.131.107.63
54.67.10.127
54.64.67.106
159.203.30.41
46.101.250.135
18.221.56.27
52.60.129.180
159.89.8.111
146.185.143.14
139.59.173.249
165.227.83.148
128.199.195.156
138.197.150.151
34.233.66.117
2607:ff68:107::3
2607:ff68:107::4
2607:ff68:107::5
2607:ff68:107::6
2607:ff68:107::7
2607:ff68:107::8
2607:ff68:107::9
2607:ff68:107::10
2607:ff68:107::11
2607:ff68:107::12
2607:ff68:107::13
2607:ff68:107::14
2607:ff68:107::15
2607:ff68:107::16
2607:ff68:107::17
2607:ff68:107::18
2607:ff68:107::19
2607:ff68:107::20
2607:ff68:107::21
2607:ff68:107::22
2607:ff68:107::23
2607:ff68:107::24
2607:ff68:107::25
2607:ff68:107::26
2607:ff68:107::27
2607:ff68:107::28
2607:ff68:107::29
2607:ff68:107::30
2607:ff68:107::31
2607:ff68:107::32
2607:ff68:107::33
2607:ff68:107::34
2607:ff68:107::35
2607:ff68:107::36
2607:ff68:107::37
2607:ff68:107::38
2607:ff68:107::39
2607:ff68:107::40
2607:ff68:107::41
2607:ff68:107::42
2607:ff68:107::43
2607:ff68:107::44
2607:ff68:107::45
2607:ff68:107::46
2607:ff68:107::47
2607:ff68:107::48
2607:ff68:107::49
2607:ff68:107::50
2607:ff68:107::51
2607:ff68:107::52
2607:ff68:107::53
2607:ff68:107::54
2607:ff68:107::55
2a03:b0c0:0:1010::832:1
2a03:b0c0:1:d0::e54:a001
2604:a880:800:10::4e6:f001
2604:a880:cad:d0::122:7001
2a03:b0c0:3:d0::33e:4001
2600:1f16:775:3a01:70d6:601a:1eb5:dbb9
2600:1f11:56a:9000:23:651b:dac0:9be4
2a03:b0c0:3:d0::44:f001
2a03:b0c0:0:1010::2b:b001
2a03:b0c0:1:d0::22:5001
2604:a880:400:d0::4f:3001
2400:6180:0:d0::16:d001
2604:a880:cad:d0::18:f001
2600:1f18:179:f900:88b2:b3d:e487:e2f4
–jeroen
Posted in Development, LifeHacker, Power User, Web Development | Leave a Comment »
Posted by jpluimers on 2021/12/14
From a while back, so I hope it has been fixed by now on the SVB PGB site.
The Dutch SVB (sociale verzekeringsbank, the [WayBack] organisation that implements social security schemes in The Netherlands) has a web-site to submit declarations for PGB ([Wayback] individualised subsidy for care, or personal care budget).
Authentication for the site goes through DigiD, the identity provider through which government related web-sites can verify the identity of Dutch residents on the internet.
In from somewhere in the mid 2010s until somewhere in 2020, the SVB PGB site would log you out when the 15-minute inactivity count-down in the lower right of the screen would reach zero.
After that, the behaviour changed: you would be logged out 15 minutes after logon, forcing one to login way more often. Each logoff/logon cycle had these effets:
- loosing the data you entered on the current page
- a cost to SVB of about EUR 0.15 excluding VAT for the logon
- loss of time and convenience for the end-user
Note that due to site stability reasons in the years before, I already printed each web-page to PDF before submitting, as there was no way to use the “back” button to see what information you had entered.
That way at least I had the information at hand when re-entering the same information. It also provided me of a “paper” trail of site navigation and entered data.
That’s why I reported it early March 2021:
Read the rest of this entry »
Posted in Authentication, Development, DigiD, Power User, Security, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2021/12/13
The below answer works on my Linux and OS X systems (each having multiple network adapters configured):
[WayBack] bash – How to get the primary IP address of the local machine on Linux and OS X? – Stack Overflow
ip route get 1 | awk '{print $NF;exit}'
For Linux, I have this bash function:
# note the ";exit" lists the first default route interface, as there can be multiple
function nmap-fingerprint_network_of_default_interface() {
default_if=$(ip route list | awk '/^default/ {print $5;exit}')
default_if_cidr=$(ip -o -f inet addr show $default_if | awk '{print $4}')
nmap -sP $default_if_cidr
}
And for OS X this one:
# requires ipcalc
function nmap-fingerprint_network_of_default_interface() {
default_if=$(route -q -n get default | awk '/interface:/ {print $2;exit}')
default_if_address=$(ifconfig $default_if | awk '/inet / {print $2;exit}')
default_if_netmask_hex=$(ifconfig $default_if | awk '/inet / {print $4;exit}')
default_if_network_bit_count=$(ipcalc --nocolor --class $default_if_address $default_if_netmask_hex)
default_if_cidr=$(echo "$default_if_address/$default_if_network_bit_count")
nmap -sP $default_if_cidr
}
These are the variables used:
default_if: network interface of the default route
default_if_cidr: IPv4 CIDR of the network interface of the default route (see Classless Inter-Domain Routing: CIDR notation – Wikipedia)
default_if_address: IPv4 address of network interface of the default route
default_if_netmask_hex: hexadecimal IPv4 network mask of network interface of the default route
default_if_network_bit_count: number of set bits in the IPv4 network mask of the network interface of the default route
Links used to get the above functions:
I might have gotten away with a pure bash solution (see [WayBack] Bash script for calculating network and broadcast addresses from ip and netmask or CIDR Notation · GitHub or my post Getting your local IPv4 addresses, netmasks and CIDRs), but the above works and is way shorter, and easier to maintain.
In stead of ipcalc, subnetcalc can do the same calculations and also supports IPv6, so that is something for a future try:
–jeroen
Posted in *nix, *nix-tools, Apple, bash, Color (software development), Development, Mac, Mac OS X / OS X / MacOS, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2021/12/09
Cool tool that shows the asymmetric timing character of networks (usually because the send and receive paths are different): [Wayback] Splitting the ping
split-ping is a tool that can tell you what direction packet latency or loss is on. This is handy for network debugging and locating congestion.
The blog above explains the reason and details in great depth. Recommended reading.
Source code: [Archive.is] benjojo/sping: Split ping, see what direction the loss or latency is on
It is supposed to work better than [Wayback] cmds/isoping.cc – vendor/google/platform – Git at Google
* Like ping, but sends packets isochronously (equally spaced in time) in
* each direction. By being clever, we can use the known timing of each
* packet to determine, on a noisy network, which direction is dropping or
* delaying packets and by how much.
*
* Also unlike ping, this requires a server (ie. another copy of this
* program) to be running on the remote end.
Via:
–jeroen
Read the rest of this entry »
Posted in Development, Go (golang), Network-and-equipment, Power User, Software Development | Leave a Comment »
Posted by jpluimers on 2021/12/09
Thread start: [Archive.is] Boris Veldhuijzen van Zanten on Twitter: “I created a fake company to play around with spammers, and it is just such a joy to use, and you can use it too. A thread: I receive an email from a scammer/spammer. Like this:… “
Archived unroll: [Wayback] Thread by @Boris on Thread Reader App – Thread Reader App.
Via: [Archive.is] Boris Veldhuijzen van Zanten on Twitter: “Or, next time you receive spam reply with this: “Please forward this email to bill@noprocurement.com, and delete my email, as I’ll be changing jobs soon, and this email address will no longer be active.””
The [Archive.is] inspiration partly came from [Wayback] The Story of Lenny, the Internet’s Favorite Telemarketing Troll:
Lenny is a decade-old chatbot designed to troll telemarketers that has developed a cult following online. It’s remarkably convincing, but is it actually effective?
Research indicated that Lenny is effective and wastes time of scammers which they cannot spend on calling real people.
Some highlights
Waste time by sending spammers in an auto-reply loop of personas.
“Please forward this email to bill@noprocurement.com, and delete my email, as I’ll be changing jobs soon, and this email address will no longer be active.”
One of the email forwards bounces:
There even is a (http-only) web-site [Wayback] Nordic Procurement Services – Providing Procurement services worldwide since 1994.
A plugin for gmail or other mail systems would be cool, just as having more domains and accounts:
Some people are already adding these to their own domains:
Be sure to spread the word.
Oh, and have some spammers contact john@noprocurement.com
–jeroen
Posted in Development, LifeHacker, Power User, Software Development, SPAM | Leave a Comment »
Posted by jpluimers on 2021/12/08
Some sites manage to disable various printing options (including layout, so you cannot choose between landscape and portrait any more, or force landscape when portrait works better or vice versa).
Googling this got me into a web of things that didn’t help me (see links below), but those led me to this query [Wayback] chrome save as pdf layout missing portrait landscape – Google Search.
That returned a helpful result at [Archive.is/Wayback] Chrome Print dialogue not offering fit to page, landscape, other printing options – Google Chrome Community:
I found a solution.
1. Install the
Stylus Extension.
2. Go into the Stylus extension and click on “Write new style”.
3. Put the following code in:
@page {
size: auto;
}
4. Give it a name (I called mine “Fix Orientation”) and save it.
5. Reload the page you’re trying to print and the print dialogue should now have the “Layout” option and you should always get it for any page you print from now on.
It’s about the extension [Archive.is] Stylus – Chrome Web Store
Redesign the web with Stylus, a user styles manager. Stylus allows you to easily install themes and skins for many popular sites.
I reconfigured the OHRA Mijn Zorg site to force re-enabling of layout by adding @page { size: auto !important; } for https://mijn.ohrazv.nl/ (click the Save button to save this change permanently):
Read the rest of this entry »
Posted in Chrome, CSS, Development, Google, HTML, Power User, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2021/12/07
As I might need this in the future, some highlights from [Wayback] How to build a CD ISO image file from the windows command line? – Stack Overflow:
mkisofs, part of [Wayback] cdrtools (formerly cdrecord) with separately hosted [Wayback] win32 builds (and some win64) and [Wayback] sources on sourceforge.net (it is also available for many other platforms).
Examples:
mkisofs -v -dvd-video -V "VOLUME_NAME" -o "c:\my movies\iso\movie.iso" "c:\my movies\dvd"
mkisofs -r -R -J -l -L -o image-file.iso c:\project\install
- The GitHub hosted open source .NET Core project [WayBack] DiscUtils that besides the ISO file system also supports many other file systems (like UDF, FAT and NTFS) and disc formats (like VHD, VDI, XVA, VMDK, etc).
- The commandline part
cdbxpcmd of [Wayback] cdburnerxp.
With some examples:
cdbxpcmd --burn-data -folder:input -iso:output.iso -format:iso -changefiledates
cdbxpcmd --burn-data -layout:mycompilation.dxp -iso:output.iso -format:iso
- The built-in Windows API IMAPI which [Wayback] can be found in MSDN with some examples at:
–jeroen
Posted in Development, Power User, Software Development, Windows, Windows Development | Leave a Comment »