If you need to change the SIM code or disable it altogether on your Android device, here’s how to do just that: Android: How To Disable or Change SIM PIN Code and How to remove the PIN code from the SIM card | Table [WayBack]
Android/iPhone/…: How To Disable or Change SIM PIN Code
Posted by jpluimers on 2017/08/21
Posted in Power User | Leave a Comment »
What directories to backup on ESXi apart from the VMs? – Server Fault
Posted by jpluimers on 2017/08/18
What directories to backup on ESXi apart from the VMs? – Server Fault [WayBack]:
You may want to look at purpose-built VMware backup tools. You will be very disappointed if you treat an ESXi host like a Linux/Unix server.
Use the VMware backup commands [WayBack] from a separate station, and you’ll be left with a nice configuration tarball. I would find another approach for the actual VM backups.
Edit: Host-based example
vim-cmd hostsvc/firmware/sync_config vim-cmd hostsvc/firmware/backup_configThis stores the config in
/scratch/downloads:# vim-cmd hostsvc/firmware/backup_config Bundle can be downloaded at : http://ip.of.esxi.host/downloads/52fd67ba-2fdf-9876-6651-46c3da638f1a/configBundle-centaur.ewwhite.net.tgzAlso see: http://www.virtuallyghetto.com/2013/02/how-to-backup-restore-free-esxi-host.html [WayBack]
–jeroen
Posted in ESXi5, ESXi5.1, ESXi5.5, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »
A start job is running for dev-disk-by\… – Google Photos – Jeroen Wiert Pluimers – Google+
Posted by jpluimers on 2017/08/17
Reproduction of A start job is running for dev-disk-by... – Google Photos / Oops. Let’s see if I can reproduce it, as I think this is related: https://…
Reproducible steps below.
Related:
- [WayBack] TUMBLEWEED How to resolve “A start job is running for dev-disk-by\…” problems? Raspberry Pi / openSUSE
- [WayBack] TUMBLEWEED How to resolve “A start job is running for dev-disk-by\…” problems? Raspberry Pi / openSUSE – Page 2
- [WayBack] TUMBLEWEED How to resolve “A start job is running for dev-disk-by\…” problems? Raspberry Pi / openSUSE – Page 3
- [WayBack] LEAP 42.2 Solution: Activating WLAN WiFi on openSUSE Leap 42.2 / Raspberry Pi-3 aarch64
Tried tips from last link: fails as well
These are the modifications of the steps further on based on the last link above.
- After first boot, verify the WiFi drivers are there:
# rpm -qa | grep bcm43xx
bcm43xx-firmware-20170410-2.1.noarch
- After editing
/etc/dracut.conf.d/raspberrypi_modules.conf, performsudo mkinitrdwithout any-f - After reboot, same error
Error result
At boot time:
A start job is running for dev-disk-by\…
After waiting:
Reproducible steps
- download (or a more recent one) from http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/RaspberryPi3/images/ :
- [WayBack] http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/RaspberryPi3/images/openSUSE-Tumbleweed-ARM-E20-raspberrypi3.aarch64-2017.07.22-Build3.16.packages
- [WayBack] http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/RaspberryPi3/images/openSUSE-Tumbleweed-ARM-E20-raspberrypi3.aarch64-2017.07.22-Build3.16.raw.xz
- [WayBack] http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/RaspberryPi3/images/openSUSE-Tumbleweed-ARM-E20-raspberrypi3.aarch64-2017.07.22-Build3.16.raw.xz.sha256
- Install them on a MicroSD card
- Put in Raspberry Pi 3 and boot
- Get the IP address of the machine, then SSH into it (
ssh root@ip-address, passwordlinux) - Follow the steps from [WayBack] openSUSE on Raspberry Pi 3: From Zero to Functional System in a Few Easy Steps – SUSE Blog | SUSE Communities to get WiFi working:
- Edit
/etc/dracut.conf.d/raspberrypi_modules.confand remove thesdhci-iprocfrom the first and#on the last line:From :add_drivers+=" sdhci-iproc bcm2835-sdhost bcm2835_dma mmc_block dwc2 " # Workaround for Wifi #omit_drivers+=" sdhci-iproc"To :
add_drivers+=" bcm2835-sdhost bcm2835_dma mmc_block dwc2 " # Workaround for Wifi omit_drivers+=" sdhci-iproc" - Run these commands:
mkinitrd -f reboot - Check in
Yastifwlan0exists inSystem->Network Settings, then assign an SSIS plus credentials to it- Verify the list contains
BCM43430 WLAN card - Select it
- Click the
Editbutton - Put the check mark next to
Dynamic Addressthen selectDHCPand the kind ofDHCP(in my caseboth version 4 and 6) - Click the
Nextbutton - Keep
Operating ModeasManaged - Click the
Scan Networkbutton - Select
Network Name (ESSID)from the list - Select
Authentication Modefrom the list - Put the check mark for
Key Input TypeasPassphrase - Enter the
Encryption Key - Click the
Nextbutton - Click the
OKbutton - Quit
Yast - Wait a few moments, then very with
ip athatwlan0got an IP address
- Verify the list contains
- Edit
- Update the system:
zypper refresh zypper dist-upgrade - Reboot
- Wait for the error to occur on the HDMI screen (USB keyboard does not work there, so I cannot copy logs)
Gist log until 7. is below.
IRC chat transcript opensuse-factory
<wiert>
–jeroen
Posted in *nix, Development, Hardware Development, Linux, openSuSE, Power User, Raspberry Pi, SuSE Linux, Tumbleweed | Leave a Comment »
SSD TRIM check tool | CyberShadow’s blog
Posted by jpluimers on 2017/08/17
SSD TRIM check tool | CyberShadow’s blog [WayBack] has source code on github:
trimcheck – SSD TRIM check tool for Windows
Source: CyberShadow/trimcheck: SSD TRIM check tool for Windows
It’s written in D using rdmd as compiler.
–jeroen
via via.
Posted in D, Development, Hardware, Power User, Software Development, SSD, Trim, Windows | 1 Comment »
Great diagram on composing a LINQ query – via Mastering C# – CodeProject
Posted by jpluimers on 2017/08/17
One of the best to graphs diagrams of LINQ I know is in Mastering C# – Lecture Notes Part 2 of 4 – CodeProject [WayBack]
The LINQ explanation in that article [WayBack] is top notch as well. Thanks Florian Rappl [WayBack]!
–jeroen
Posted in .NET, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »
Closed: HDD Guardian – Home
Posted by jpluimers on 2017/08/16
Too bad: it was fun while it lasted.
Mid april 2017 [WayBack] HDD Guardian – Home closed down, so the latest commit removed all the [WayBack] HDD Guardian – Source Code.
HDD Guardian provides a Windows front-end for smartctl, a utility which monitors your hard drive(s) and SSD(s) for health status, taking advantage of S.M.AR.T.
The WayBack machine and Archive.is have archived some links though:
- 2017: [Archive.is] [WayBack] HDD Guardian – Home – most recent home page
- 2017: WayBack: HDD Guardian – Documentation – Documentation – Supported/unsupported controllers
- 2016: WayBack: HDD Guardian – Documentation – News
- 2016: WayBack: HDD Guardian – Documentation – FAQ / Known Issues
- 2017: [Archive.is] HDD Guardian – Source Code – Changesets
- 2017: HDD Guardian – Download: HDD Guardian 0.7.1 (though the downloads themselves are not available).
Anyone interested in getting it before codeplex itself shuts down:
git svn clone https://hddguardian.svn.codeplex.com/svn
Edit 20210909:
Note that a while ago, the salvaged source code got pushed to GitHub: [Wayback/Archive.is] native-api/hddguardian: A GUI app to watch and manage HDDs’ S.M.A.R.T., based on smartmontools. Salvaged from https://hddguardian.codeplex.com
–jeroen
Posted in .NET, Development, Power User, Software Development, VB.NET, Windows | Leave a Comment »
What is the right way to convert into UNIX timestamp from the date and time in C/C++? – Stack Overflow
Posted by jpluimers on 2017/08/16
Thanks R.. for answering this:
POSIX has a formula for exactly what you want:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_15 [WayBack]
tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 + (tm_year-70)*31536000 + ((tm_year-69)/4)*86400 - ((tm_year-1)/100)*86400 + ((tm_year+299)/400)*86400This works whenever you have a broken-down time in GMT, even if the underlying system’s
mktime, etc. functions do not use the same formattime_tas “Unix timestamps”.If your original time is in local time, you can use
mktimeandgmtimeto convert it to GMT using the system’s notion of timezone rules. If you want to apply your own timezone offset rules, just do that manually before using the above formula.
Source: What is the right way to convert into UNIX timestamp from the date and time in C/C++? – Stack Overflow [WayBack]
For testing and more examples: Epoch Converter – Unix Timestamp Converter [WayBack]
Hopefully this will help me getting better implementations for these:
- Monolithic function that requires splitting up: Useful Universal Date Converter function – MikroTik RouterOS [WayBack]
- Calculate Day of Week from Date – MikroTik RouterOS [WayBack]
–jeroen
Posted in Algorithms, C, C++, Development, Software Development | Leave a Comment »
Why doesn’t RevertToSelf undo the most recent SetThreadToken? | The Old New Thing
Posted by jpluimers on 2017/08/16
Oops: I fell in this trap as well: When you call SetThreadToken, [WayBack] it replaces the token. When you call RevertToSelf [WayBack], the token is cleared and the thread no longer has a token. Maybe RevertToSelf should have been named ClearThreadToken, since that would emphasize that the function erases any existing thread token, leaving the thread to inherit the identity of its host process.
Source: Why doesn’t RevertToSelf undo the most recent SetThreadToken? | The Old New Thing [WayBack]
–jeroen
Posted in Development, Software Development, The Old New Thing, Windows Development | Leave a Comment »
Some links on Belise/Elise licensing server (yes, AppWave is dead or at least: should be)
Posted by jpluimers on 2017/08/15
Some links on the Embarcadero License Center server (formerly known as Belise and Elise) from my contributions to these G+ threads:
- Anyone here ever start out using Workstation licenses then switch to eitherNetworked Named User or Networked Concurrent ?… [WayBack]
- Does anyone know what is happening with AppWave? Is it still going, or has something replaced it? – Nicholas Ring – Google+ [WayBack]
When for instance your workstations cannot communicate to the external license servers or you want to run concurrent Delphi/C++-Builder/RAD-Studio instances on your local network, you need to run the Elise licensing server on your network, which requires you to have a server with Java running somewhere.
Despite some of the documentation, it runs on more recent Windows versions too.
Not sure about the money: it’s just that a few clients of mine use it as it makes it easier to manage licenses when you switch contractors or not having various team members only use Delphi part of the time.
Posted in Delphi, Development, Software Development | 1 Comment »







