Archive for August, 2018
Posted by jpluimers on 2018/08/28
As G+ refused to put this in a comment at [WayBack ] Does anybody know whether the Embarcadero blogs have got individual RSS feeds? And what’s the URL of the RSS feed for all blogs? … – Thomas Mueller (dummzeuch) – Google+ :
No RSS logo is visible for me on the blog pages, but inspecting the source reveals the 404 link below; deducting from that I got 200 results:
What doesn’t work for RSS (CC +Marco Cantù) as you get 404:
events
individual questions
individual blog posts
Failure examples:
–jeroen
Read the rest of this entry »
Posted in Delphi , Development , Software Development | 4 Comments »
Posted by jpluimers on 2018/08/28
Since it was not possible to install PowerShell 3 on ancient Windows Server 2003 and Windows Server 2003 R2 machines, I opted for this workaround during the time they were being retired:
I’ve investigating how much work it will be to migrate the machine, as opposed to adapting the scripts with Poshcode/Jaykul modules (of which many have external dependencies that I’d need to check first). It’s about the same order of magnitude, so I’ll be migrating the machine earlier. In the mean time, a different machine will run the scripts and access the required data over a network share.
Source: [WayBack ] Is it possible to install PowerShell 3 on a Windows Server 2003 or 2003 R2? – Super User
Posted in CommandLine , Development , PowerShell , PowerShell , Scripting , Software Development | Leave a Comment »
Posted by jpluimers on 2018/08/27
[WayBack ] I am on a Mac that is bound to an AD Domain. The AD Domain has a 90 days password expiration policy. When will my password expire? $ cat bin/is-passwor… – Kristian Köhntopp – Google+
For my link archive:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash —
validFor=$(( 90 * 86400 ))
domainPrefix='/Active Directory/DOMAIN/doma.in/"
lastPW=$(dscl "/$domainPrefix" -read /Users/$USER | awk '/SMBPasswordLastSet/ { print $NF }')
unixPW=$(($lastPW / 10000000 – 11644473600 + $validFor))
expireDate=$(date -r $unixPW)
echo "Password expires $expireDate"
Script copied to [WayBack ] Kristian Köhntopp: I am on a Mac that is bound to an AD Domain. The AD Domain has a 90 days password expiration policy. When will my password expire? · GitHub
–jeroen
Posted in *nix , Apple , bash , Development , Mac , MacBook , MacBook Retina , MacBook-Air , MacBook-Pro , MacMini , Power User , Scripting , Software Development | Leave a Comment »
Posted by jpluimers on 2018/08/27
Base on the below (Dutch) tweet where an organisation had an auto-responder like this:
Thanks for your message. As of 20150701, we have a new email address: foo@example.org.
Did you use any of our old email addresses, then we forwarded it to the new one.
You will get a response to your e-mail within 5 working days.
Any mail to foo@example.org would get the same auto-response.
They should just leave out the first 2 sentences.
–jeroen
handig @zorgenzekerheid mail naar klantadvies.wlz@zorgenzekerheid.nl geeft reply “een nieuw e-mailadres: klantadvies.wlz@zorgenzekerheid.nl”
Posted in LifeHacker , Power User | Leave a Comment »
Posted by jpluimers on 2018/08/27
I’m from the BITNET RELAY era, so every now and then I need to get used to how things are done on IRC:
[WayBack ] IRC Private Messages – /msg, /invite, /query, Internet Relay Chat
Summarised in my own words:
/msg nick single private message
/query nick private channel
–jeroen
Some of my BITNET history: xyzzy, Relay Conferencing before IRC even existed « The Wiert Corner – irregular stream of stuff
Posted in BITNET Relay , Chat , IRC , Power User , SocialMedia | Leave a Comment »
Posted by jpluimers on 2018/08/24
This tutorial explains how to find out network bandwidth usage per process in real time using nethogs tool under Linux operating systems.
Cool tool!
Source: [WayBack ] Linux: See Bandwidth Usage Per Process With Nethogs Tool – nixCraft
An alternative is iftop – Wikipedia .
via:
–jeroen
Posted in *nix , *nix-tools , Linux , openSuSE , Power User , RedHat , SuSE Linux , Tumbleweed | Leave a Comment »
Posted by jpluimers on 2018/08/24
Based on [WayBack ] MS Excel 2011 for Mac: How to Change Data Source for a Pivot Table :
Refreshing the data is in the “PivotTable” toolbar under “Data”: either
“Refresh” for the current PivotTable or
“Refresh All” for all PivotTables in the spreadsheet
Setting the range of source data is “Change Source” in the “PivotTable” toolbar under “Data”
If your data is on a sheet by itself, it’s better to select the range using column only notation than using column:row notation, compare these:
‘FRITZ!Box_CallList.csv’!$A:$S
‘FRITZ!Box_CallList.csv’!$A$1:$S$401
The last trick makes it way easier to add newer data from an external CSV file into an existing workbook with various PivotTable analysis worksheets:
Append the CSV data to the source
Copy over any formulas needed to make pivot life easier
“Refresh All”
On a 1920×1200 screen, the PivotTable toolbar looks like this:
Excel 2011 for Mac PivotTable toolbar
–jeroen
Posted in Office , Office 2011 for Mac , Power User | Leave a Comment »
Posted by jpluimers on 2018/08/23
It looks like the Delphi [WayBack ] TFileStream.Create does not have an overload that allows you to create or append. Luckily, [Archive.is ] TFile.Open allows you to do this when passing the correct [Archive.is ] TFileMode enumeration value:
TempStream := TFile.Open(TempPath, TFileMode.fmOpenOrCreate , TFileAccess.faReadWrite, TFileShare.fsRead);
I still wonder why that never made it into a TFileStream.Create overload, or why these overloads fail to use enumerations or sets of modes.
–jeroen
Posted in Delphi , Development , Software Development | 6 Comments »
Posted by jpluimers on 2018/08/23
Source: [WayBack ] How To Make A Good Code Review — Geek&Poke
At least we don’t ened to obfuscaste it before shipping.
Rule 1: try to find at least something postive.
–jeroen
via:
Read the rest of this entry »
Posted in Agile , Conference Topics , Conferences , Development , Event , Fun , Software Development | Leave a Comment »