The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,854 other subscribers

Archive for the ‘Power User’ Category

systemd – How to clear journalctl – Unix & Linux Stack Exchange

Posted by jpluimers on 2019/05/24

Some tips on pruning entries from the systemd journal:

For stock opensuse, this is also relevant, as it seems to allow indefinite growth: [WayBack] systemd – journald Settings likey need your attention

You can view disk usage with this command:

journalctl --disk-usage

–jeroen

Posted in *nix, Linux, Power User, systemd | Leave a Comment »

Scheduled jobs and jitter…

Posted by jpluimers on 2019/05/23

Too bad G+ doesn’t allow the WayBack machine or Archive.is to archive the whole thread at [WayBack] [Archive.isDas es inzwischen fast überall Standard ist die Uhren mit einem guten Zeitsignal zu synchronisiseren (NTP, DCF-77, GPS etc) ist eigentlich eine gute Sache… – Kristian Köhntopp – Google+ so here are a few quotes below.

The generatel conclusions seem to be that:

This was the start:
Nils Ketelsen originally shared:

Guckt man live sieht es schon anders aus: Während die RunQueue meist so bei 4-5 liegt (bei 21vCPUs kein Problem) springt sie jede volle Minute einige Sekunden lang auf 20. Bei durch 2 Teilbaren Minuten auf ca. 40. Bei durch 10 Teilbaren Minuten auf 70, bei durch 15 teilbaren Minuten auf 150…. Ich habe eben durch einen schlecht getimten Toilettenbesuch die volle Stunde verpasst, das muss ich gleich mal anders hinbekommen, aber ich gehe davon aus, daß es da noch schlimmer ist.

And these some of the comments:

Read the rest of this entry »

Posted in *nix, *nix-tools, Algorithms, cron, Development, Power User, Software Development | Leave a Comment »

Handy interactive map of the periodic system – elements.wlonk.com

Posted by jpluimers on 2019/05/20

Handy interactive map of the periodic system: [WayBackelements.wlonk.com

via: [WayBack] Interactive Periodic Table.Wonderful. Identify the typical uses for each element as you scroll over it.http://elements.wlonk.com/ElementsTable.htm – Lars Fosdal – Google+

Read the rest of this entry »

Posted in LifeHacker, Power User, science | Leave a Comment »

How to clear screen artifacts without rebooting Windows (multiple versions) – Super User

Posted by jpluimers on 2019/05/20

  1. go to control panel | display
  2. change the screen resolution. the artifact will go away
  3. click on cancel when windows asks you if you want to keep the new resolution.

this works on laptops too.

[WayBackUser mahesh – Super User answering [WayBackHow to clear screen artifacts without rebooting Windows (multiple versions) – Super User

–jeroen

Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Vista, Windows XP | Leave a Comment »

Not sure if this btrfs error was benign or not.

Posted by jpluimers on 2019/05/17

Booting the VM gave this in the log:

# btrfs balance /
WARNING:

    Full balance without filters requested. This operation is very
    intense and takes potentially very long. It is recommended to
    use the balance filters to narrow down the scope of balance.
    Use 'btrfs balance start --full-balance' option to skip this
    warning. The operation will start in 10 seconds.
    Use Ctrl-C to stop it.
10 9 8 7 6 5 4 3 2 1
Starting balance without any filters.
ERROR: error during balancing '/': Input/output error
There may be more info in syslog - try dmesg | tail
diaspore:~# dmesg | tail
[ 2261.857360] BTRFS info (device sda2): found 144 extents
[ 2261.922014] BTRFS info (device sda2): found 144 extents
[ 2262.003653] BTRFS info (device sda2): found 144 extents
[ 2262.146557] BTRFS info (device sda2): found 144 extents
[ 2262.268034] BTRFS info (device sda2): relocating block group 20951597056 flags data
[ 2268.255631] BTRFS info (device sda2): found 19765 extents
[ 2278.541549] BTRFS info (device sda2): found 19758 extents
[ 2278.685372] BTRFS info (device sda2): relocating block group 14558429184 flags data
[ 2278.714483] BTRFS warning (device sda2): csum failed root -9 ino 269 off 65150976 csum 0x27374190 expected csum 0x7091fbbc mirror 1
[ 2278.714619] BTRFS warning (device sda2): csum failed root -9 ino 269 off 65150976 csum 0x27374190 expected csum 0x7091fbbc mirror 1

Booting from a rescue DVD, then checking with an unmounted /dev/sda2 nothing is wrong:

localhost:~ # btrfs check /dev/sda2
Checking filesystem on /dev/sda2
UUID: 23d33d0f-0468-4408-b73c-b0eec9387d82
checking extents
checking free space cache
checking fs roots
checking csums
checking root refs
checking quota groups
found 6460166144 bytes used, no error found
total csum bytes: 5795704
total tree bytes: 214171648
total fs tree bytes: 193740800
total extent tree bytes: 12910592
btree space waste bytes: 40754145
file data blocks allocated: 35720101888
 referenced 11352182784

Both had the same version:

# btrfs version
btrfs-progs v4.13

If I ever need recovery, then these links likely help:

–jeroen

Posted in *nix, *nix-tools, btrfs, File-Systems, Power User | Leave a Comment »

Formulier SVB PGB voor IBAN-wijziging van een zorgverlener en zorgverleningsovereenkomst versies en met en zonder familie

Posted by jpluimers on 2019/05/17

LET OP! Per zorgverleningsovereenkomst, moet je OOK een zorgbeschrijving indienen: zorgbeschrijving naar zogkantoor, zorgverleningsovereenkomst naar zorgkantoor en SVB.

Buiten SVB om:

  • [WayBack/Archive.isZorgkantoor Zorg en Zekerheid: Zorgbeschrijvingen en zorgovereenkomsten: Website van de Zorgkantoren Zuid-Holland Noord & Amstelland en de Meerlanden, met informatie over de AWBZ, het zorgaanbod in de regio, zorgverstrekking en eigen bijdrage, het persoons gebonden budget etc. Het zorgkantoor is verantwoordelijk voor de uitvoering van AWBZ-zorg in de regio.
    • Sinds 2014 geldt er een maximum tarief van € 20,- per uur voor niet-professionele zorgverleners. Dit speciale tarief voor niet-professionele zorgverlening is van toepassing wanneer:
      • een ouder of familielid zorg levert, ook als deze hiervoor wel gediplomeerd is, of;
      • de zorgverlener niet beschikt over een zogenaamde BIG-registratie, of;
      • de zorgverlener of instelling niet is ingeschreven in het handelsregister als zijnde verlener van zorg.
    • Het speciale tarief voor niet-professionele zorgverleners geldt niet wanneer u al PGB genoot voor 2014.
  • [Archive.is] PGB | Vraag en Antwoord | Deskundig | Gratis Dé specialist persoonsgebonden budget (PGB) geeft (met 20 jaar ervaring) op deze pagina snel en correct antwoord op PGB vragen.

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Reset Linux Desktop To Default Settings With A Single Command – OSTechNix

Posted by jpluimers on 2019/05/16

To reset Ubuntu Unity or any other Linux desktop with GNOME/MATE DEs to its default settings, run:

dconf reset -f /

Source: [WayBack] Reset Linux Desktop To Default Settings With A Single Command – OSTechNix

I need to check if it works on OpenSuSE with XFCE as there the dconf command is installed, but I still have a default desktop (mainly because most of the work I do is using a terminal over ssh).

–jeroen

via: [Archive.is] Never thought about dconf reset… Joe C. Hecht – Google+

Posted in *nix, *nix-tools, Linux, Power User, X11 | Leave a Comment »

Google old content posted before a specific date

Posted by jpluimers on 2019/05/15

Steps:

  1. Start with something like https://www.google.com/search?q=”did+you+hear+about+the+man”+”he%27s+0K+now”
  2. Clicking Tools followed by Any Time, then Custom range often does not show a dialog.
  3. Appending &tbs=qdr:y to the URL magically enables that popup:
    https://www.google.com/search?q=”did+you+hear+about+the+man”+”he%27s+0K+now”&tbs=qdr:y
  4. After filling it in, you get a very different URL like https://www.google.com/search?q=”did+you+hear+about+the+man”+”he%27s+0K+now”&tbs=cdr:1,cd_min:,cd_max:01-01-2007

This is how I found the post in Did you hear about the man who got cooled to absolute zero? He’s 0K now.

I think cdr stands for custom date range and qdr for a built in date range as after searching for the abbreviations, I found [WayBack] Google Search URL Request Parameters | DETECTED that discusses tbm and tbo in addition to tbs.

The trick above is the successor of [WayBack] Filter Google Results by Date with a URL Trick which appended &as_qdr=d.

–jeroen

Posted in Google, GoogleSearch, Power User | Leave a Comment »

Time capsule opening ceremony today at MIT’s Stata Center after programmers solve MIT’s 20-year-old cryptographic puzzle | MIT CSAIL

Posted by jpluimers on 2019/05/15

[WayBack] Programmers solve MIT’s 20-year-old cryptographic puzzle | MIT CSAIL:

The capsule ceremony will happen Wednesday, May 15 at 4 p.m. at MIT’s Stata Center.

Cool work, with a very cool challenge.

Via/related:

  • a

–jeroen

Posted in Development, Power User, Security, Software Development | Leave a Comment »

Some links on ShellNew: a user local place (registry and file system) to have Visual Studio templates for Blank Solution files

Posted by jpluimers on 2019/05/14

Some systems to not have a %windir%\ShellNew directory, so here are some links and observations on ShellNew entries in the registry.

Originally, I needed this for Creating a blank Visual Studio solution without a directory, and sln Format Version numbers but found a default installation did not have a %windir%\ShellNew directory.

A similar Windows 8.1 system had these files there:

  • EXCEL12.XLSX
  • MSPUB.PUB

On the Windows 10 system, these files were in C:\Program Files (x86)\Microsoft Office\root\vfs\Windows\SHELLNEW, so apparently, Windows 10 has moved more into a Virtual File System structure.

Machine wide registered extensions

The key HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew on both systems has the below values, indicating you do not need a file template: a binary template in the registry suffices:

  • Data having REG_BINARY content of a 22-byte empty .zip file
  • ItemName having a REG_EXPAND_SZ content pointing to @%SystemRoot%\system32\zipfldr.dll,-10194

The key HKEY_CLASSES_ROOT\.rtf\ShellNew on both systems has the below values, indicating you do not need a file template: a text template in the registry suffices:

  • Data having REG_SZ content of a 7 character file content {\rtf1}
  • ItemName having a REG_EXPAND_SZ content pointing to @%ProgramFiles%\Windows NT\Accessories\WORDPAD.EXE,-213

The key HKEY_CLASSES_ROOT\.bmp\ShellNew on both systems has the below values, indicating you do not need a file template: a zero byte template in the registry suffices:

  • NullFile having an empty REG_SZ
  • ItemName having a REG_EXPAND_SZ content pointing to @%systemroot%\system32\mspaint.exe,-59414

User wide registered extensions

At HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders, is a value named Templates having an absolute path which can be expanded from %AppData%\Microsoft\Windows\Templates.

That directory was empty, but it is connected to the HKEY_CURRENT_USER\Software\Classes counterpart of HKEY_CLASSES_ROOT (the latter is an alias for HKEY_LOCAL_MACHINE\SOFTWARE\Classes).

So in stead of putting template files in %WinDir%\ShellNew plus registering them underHKEY_CLASSES_ROOT, you can put them in %AppData%\Microsoft\Windows\Templates and register them under HKEY_CURRENT_USER\Software\Classes.

Empty Visual Studio solution files for the current user

Since people have requested empty solution files to be created without creating a directory for a long time ([WayBack] create solution without folder – Visual Studio) and Visual Studio still does not allow you to do that, I have amended the %WinDir%\ShellNew based solution I created some 7 years ago at  Creating a blank Visual Studio solution without a directory, and sln Format Version numbers, to a current user based one:

[WayBack] jeroenp / wiert.me / commit / 01e4430712a6 — Bitbucket:

Amend empty Visual Studio templates to support%AppData%\Microsoft\Windows\Templates referenced from HKEY_CURRENT_USER\Software\Classes

Future

I might be able to morph this into a registry-only solution by using REG_MULTI_SZtyped values containing the actual .sln template content as multi-line strings separated by zero bytes. Some starting links on this for future reading:

Related

–jeroen

Posted in Power User, Windows, Windows Explorer / Windows Shell | Leave a Comment »