A few interesting articles on Python dictionaries and nested dictionaries :
A special syntax for the Filter parameter is required for some Active Directory PowerShell cmdlets such as Get-ADUser to get the expected result.
This article explains perfectly how to properly handle it : http://www.powershellish.com/blog/2015-11-17-ad-filter
Windows PowerShell Syntax Plugin provides Syntax coloring, indenting and filetype detection for Windows PowerShell.
It is available at :
If you use Pathogen, just extract into your bundle folder.
If not, just set up Pathogen as follows below :
Additional actions to make it work on Windows 7 :
cd C:\Program Files (x86)\Vim\vimfiles
Install pathogen.vim in C:\Program Files (x86)\Vim\vimfiles\autoload
To enable Pathogen, add this to your gvimrc :
filetype plugin indent on
On Windows 7/10, the gvimrc file must be named as _gvimrc and located in one of the folders :
$HOME points to your home directory in Windows 7 and $VIM points to your directory where Vim/gVim have been installed.
The personal initialization files are searched in the order specified above
and only the first one that is found is read.
This plugin is now enabled. Enjoy !
shellcheck is a tool that gives you warnings and suggestions for your shell scripts.
It can be used from the command line. Just install it using your package manager.
There is an other option for checking by submitting your code on shellcheck website for an immediate feedback.
More details available on : Github
To see what’s inside a variable or a Perl object, Data::Dumper is often used.
For inspecting objects, its features are limited.
Data::Printer helps you dump your Perl data structures in a complete, colored and human-friendly way.
This module is not part of the Perl core modules.
To install it on Debian Buster :
apt install libdata-printer-perl
Start using it. Its syntax is simple and pretty straightforward.
For objects, it provides public/private methods details that Data::Dumper does not.
Debian provides deb packages for Vim and Vim scripts. Vim scripts are a set of addons to vim to automate repetitive tasks or adding new functionalities to the Vim editor.
This addon, closetag.vim, will be installed and enabled and ready for use when editing an HTML file.
Debian provide a central way to manage Vim addons, vim-addons-manager, system-wide or a per-user configuration.
To install it :
apt install vim-addon-manager vim-scripts
To enable it just for you :
vim-addons install closetag
A local copy of closetag.vim is created in ~/.vim/macros
To enable it in your Vim editor :
The auto-closing function is available in insert mode by typing Ctrl-_
More infos :
A couple of tutorials around Sed :