Windows Subsystem for Linux

November 22nd, 2018 No comments

Windows Subsystem for Linux (WSL) is a compatibility layer for running Linux binary executables (in ELF format) natively on Windows 10 and Windows Server 2019.

WSL provides a Linux-compatible kernel interface developed by Microsoft (containing no Linux kernel code), which can then run a GNU user space on top of it, such as that of Ubuntu, openSUSE, SUSE Linux Enterprise Server, Debian and Kali Linux. Such a user space might contain a Bash shell and command language, with native GNU/Linux command-line tools (sed, awk, etc.), programming language interpreters (Ruby, Python, etc.), and even graphical applications (using a X11 server at the host side). (wikipedia)

 

Show/Execute History in Windows Command Line Prompt

November 7th, 2018 No comments

At Linux BASH shell, we can type in history command to print a list of the commands that have been entered in the current shell.

At windows command prompt, you can show a Graphical History window by pressing the F7 key.

Alternatively, you can press F9 function key to enter the specific command you want to execute in the command history.

Source

Top 10 DOS Batch tips (Yes, DOS Batch…)

May 22nd, 2017 No comments
  • Use PUSHD / POPD to change directories
  • Call FTP scripts
  • Read from the registry
  • Run SQL Commands
  • Check if a file or folder exists
  • Pause execution for a number of seconds
  • Use defaults for optional parameters
  • Process each file matching a pattern in a directory
  • Use batch parameter expansion to avoid parsing file or directory info

Link

More:

 

Tags: , ,

MSTest V2 (the Microsoft Test Framework) is now open source!

March 29th, 2017 No comments

Microsoft Test Framework “MSTest V2”

Welcome to the “MSTest V2” repository, the evolution of the Microsoft Test Framework and Adapter. “MSTest V2” is currently in use in a variety of scenarios including:

  • in the relevant in-box unit test project templates (Visual Studio 2017 Preview 4 onwards)
  • in the Create Unit Tests wizard (Visual Studio 2017 Preview 4 onwards)
  • in the Create IntelliTest wizard (Visual Studio 2017 Preview 4 onwards)

This is a fully supported, open source and cross-platform implementation of the MSTest test framework with which to write tests targeting .NET Framework, .NET Core and ASP.NET Core on Windows, Linux, and Mac. You can read more about MSTest V2 here.

GitHub

Tags: ,

Illustrating C++17 though code examples

March 29th, 2017 Comments off

Descriptions of C++17 features, presented mostly in “Tony Tables”.

There are actually over 100 changes in C++17, only some of them are listed here.

Caveat1: C++17 is completed, but not signed off yet. There may still be changes, although highly unlikely (modulo defects).

Caveat2: I make mistakes. This is more likely.

GitHub

Top monospaced fonts for coding

November 27th, 2016 Comments off

A good choice of font for your coding can make a huge difference and improve your productivity, so take a look at the fonts in this post that can make your text editor or terminal emulator look little bit nicer.

Top monospaced fonts for coding

Tags:

How to remove automatically added keyboard layouts?

February 9th, 2016 No comments

To remove the unwanted layouts by creating an IgnoreRemoteKeyboardLayout DWORD in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

and setting it to 1

Source

Code Analysis for C++

January 8th, 2016 No comments

Gazebo – robot simulation made easy

November 4th, 2015 No comments

Robot simulation is an essential tool in every roboticist’s toolbox. A well-designed simulator makes it possible to rapidly test algorithms, design robots, and perform regression testing using realistic scenarios. Gazebo offers the ability to accurately and efficiently simulate populations of robots in complex indoor and outdoor environments. At your fingertips is a robust physics engine, high-quality graphics, and convenient programmatic and graphical interfaces. Best of all, Gazebo is free with a vibrant community.

Gazebo home page

CppCon 2015: Jackie Kay & Louise Poubel “C++ in Open Source Robotics”

November 4th, 2015 No comments