ssh, curl, tar are available in windows 10 1803

Windows 10 now includes more Windows native CLI tools. We did this because you asked.  It’s common for developers to have muscle memory for these tools and we’re glad to bring them to Windows 10.

OpenSSH-based client and server

OpenSSH is a suite of tools originally created by the OpenBSD Foundation for remote command-line administration, public/private key management, secure file transfers, and more.

The SSH client and key agent are enabled and available by default in this Update, and the SSH server is an optional feature-on-demand. For more information, check out this blog post on the beta we shipped in Fall Creators Update.

Adding these tools was one of the top tooling requests we heard from the community.

Tar and Curl with Windows 10

Tar allows you to create and unpack .tar archive files.  The tar format is common in Linux much like zip is common in Windows.

Curl is a feature rich CLI tool for sending and receiving files.  It supports a variety of protocols.  A simple use case is you can easily make an HTTP request and view the response all from the command line.

Read the announcement blog post for more details.


create bootable windows Installation ISO with cdimage.exe

@cdimage.exe -bootdata:2#p0,e,b”ISOFOLDER\boot\”#pEF,e,b”ISOFOLDER\efi\Microsoft\boot\efisys.bin” -o -m -u2 -udfver102 -g -l%DVDLABEL% ISOFOLDER %DVDISO%

export an edition from ESD file

  1. check image index.

dism /Get-WimInfo /WimFile:install.esd


2. dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity


change :1 to the image wanted.

3. delete install.esd, keep install.wim





PCIe over Cable


PCIe over Fiber Optic Cables

The PCI-SIG cable specification doesn’t specify fiber optic solutions for PCIe. Several vendors have however introduced active fiber optic cable products for PCIe. These cables plug into the standard PCIe over cable connector and then convert the signals into optical signals and send them over fiber optic cables. The primary advantages of these products is that the fiber cable can span considerably longer distances – typically up to 500 meters, and that the optical signals are completely immune to EMI interference.

Two types of applications are utilizing PCIe over cable with active fiber optic cables. First are outdoor data acquisition and security systems where the distance feature is key. The second is within heavy industry factory floor applications where the fiber optic natural immunity to EMI (from welding and other machines) is key.

PCIe as a Network

PCIe was originally defined to support CPU-to-I/O communications, with a single PC serving as the bus interface host. Multi-computing can be accomplished using PCIe through a combination of non-transparent bridging and CPU-to-CPU communications software. This technology expands the applicability of PCIe to a wide variety of high-end applications, including radar and sonar analysis, medical imaging, test and measurement and high-performance computing (HPC) inter-communications.

modify dietpi to show vlan IP in ssh welcome message

My router is a x86 mini box, running dietpi ( ). ISP requires VLAN 10 to access internet.

Dietpi shows the first available Ethernet IP in its welcome message, however, it doesn’t support interfaces other than the default ones.

In order to modify this, need to change the following file:


meanwhile, dietpi uses RAMDisk, it actually copies files to:


Test with this path, and later apply the changes to the source path.

#find eth[0-9]
for ((i=0; i<$MAX_DEVICE; i++))

if (( $(grep -ci -m1 “eth$i.10” “$FP_TEMP”) )); then




#Obtain device/ip info
if (( $DEVICE_FOUND )); then

#Find active network device
# – eth takes priority, if both eth wlan are active.
ip r > “$FP_TEMP”
if (( $(grep -ci -m1 “eth$ETH_INDEX.10” “$FP_TEMP”) )); then


elif (( $(grep -ci -m1 “wlan$WLAN_INDEX” “$FP_TEMP”) )); then



#IP address
IP_ADDRESS=$(ifconfig “$ACTIVE_DEVICE” 2>&1 | grep -m1 ‘inet’ | awk ‘{ print $2 }’ | cut -d: -f2)



I hardcoded the interface here because it is used by myself only.

Debug Interface Access SDK

The Microsoft Debug Interface Access Software Development Kit (DIA SDK) provides access to debug information stored in program database (.pdb) files generated by Microsoft postcompiler tools. Because the format of the .pdb file generated by the postcompiler tools undergoes constant revision, exposing the format is impractical. Using the DIA API, you can develop applications that search for and browse debug information stored in a .pdb file. Such applications could, for example, report stack trace-back information and analyze performance data.

run Starcraft(remastered) in multi devices with single account

you can launch Starcraft either from battle net client, or through command line parameter “-launch”. If launched through command line, click LOGIN button located on the top-right corner.

After it received settings, it enables remastered feature(of course, HD texture). the settings last a few days before it requires re-login.

you can do this in multi devices, and all of them can enable HD texture without re-login before settings expired.



Starcraft:Remastered shares the same build with the free copy of Starcraft.