FPL On Call box wiring

These days I was changing my pool pump controller and I had to call FPL for their On Call box that is connected before my pool pump. As it tunred out they still don't support these boxes when you want to install a electronic pump controller.

Anyway I had some problems figuring out the wires before that. I was left with the impression that the entire box is entirelly between the input lines and the pump. It turned out it's just cutting one of the lines.

NuttX 7.3 documentation for eBook readers (epub and mobi)

I just started to play with the NuttX 7.3 RTOS operating system so now need to read the documentation. For me it's much easier to read on my book reader when I want to read the entire porting guide or user guide instead of on the PC or the tablet. For somebody else might be better reading on the beach so I'm releasing the converted documents if somebody else wants to use them.

Get values of all the properties of an object

Lets say you want to list all properties of an object but you don't know all of them by name. Here is comming in help the Get-Member cmdlet. I find it very useful especially when working with new objects that I'm not familiar with.

I'm going to give an example with the list of network adapters listed from the WMI.

XSLT processor with PowerShell

Here is a simple way to transform XML document with specified XSL in PowerShell. It is easy achieavable using the System.Xml.Xsl namespace of the .NET.


PowerShell 2.0 and Write-Verbose strange behaviour

I was writting a script for work wich was invoked on Windows 2012 R2 with PowerShell 4.0 as well on Windows 2008 R2 with PowerShell 2.0. This script was calling some sg utils and comparing the results. There is option to call it and to get just the result or to call it with more messges to see what actually is doing. So Write-Verbose seemed as a perfect option. In the first case all works fine with PowerShell (PS) 4.0. For some reason with PS 2.0 in Verbose mode it is failing at some point - sg_vpd cannot be called so instead of string for the result I'm getting null.

How to recover mdadm RAID array after superblock is zeroed

   Few days ago I got one of my Linux RAID1 arrays go bad. One of the disks got bad sectors and the other one lost it's superblock. So the array was degradated and the only one "good" disk was with bad sectors. I added a new disk and tried to sync the data but it stucked on 36%. Using tools like "dd" or "ddrescue" didn't help neither. The "dd" just kept stopping and the "ddrescue" was recovering with 364Bytes/second so on 3TB disk this was kind of slow. After 2 days I just gave up recovering with this speed. So back to google I found that mdadm is smart enough so when creating new array it preservs the old data. So I decided to give it a try. Still just in case I didn't wanted to loose my data so did a clone of the disk with the "ddrescue" tool.

Configure debugging environment for ARM in Ubuntu ...
Configure debugging environment for ARM in Ubuntu with Eclipse

Next article is how to configure SEGGER's J-Link debugger to debug the NuttX OS from Eclipse.  Here I'm going to describe the it using The J-Link hardware debugging Eclipse plug-in. [ ... ]

Building NuttX in Eclipse (Ubuntu)
Building NuttX in Eclipse (Ubuntu)

For me personally is more convenient to build the code directly from the IDE where I'm editing it so here is an article how to configure building of NuttX from Eclipse. I'm configuring [ ... ]

Install and configure NuttX ARM build environment ...
Install and configure NuttX ARM build environment in Linux

In this manual will see how to install and configure all the tools needed to build NuttX for ARM under Linux. The toolchain is the one comming with the Ubuntu itself (at least with the [ ... ]

Time Tracker
Time Tracker

Time Tracker is a tool to track the time that was spent for some task and how much this time costs. Features:
   - Set the complementary time
   - Set the rate per [ ... ]

LTC: LKjqX7NipWXyPEkt3L3AwiRuCaw7h1hXLw
BTC: 1ApxQc2j4Wz3N7ei4XwYFTh6t4CeYMzbzZ

Go to top