Escape curly brackets in ID in jQuery
Create and fill hash of arrays in Powershell
You can initialize and fill multidimension hashes (arrays) in powershell this way:
Array in PowerShell – create and read
This is an manual how to work with arrays in PowerShell - how to create them, fill and read.
You can initialize array this way:
C# WebClient return an error (401) Unauthorized. Easy fix
My code in C# console application used to download an image from web service and store it in SharePoint library. But some why the code always returned an error "(401) Unauthorized". The requested URL has been successfully opened in browser on the same machine.
Click this or that element in jQuery
If you want to set the same action for several elements, you can write IDs of elements separated by comma. This way:
Element and CSS class to highlight the required field in SharePoint form
The red star in SharePoint form for required fields can be written as <span> control with class "ms-formvalidation":
<span class="ms-formvalidation"> *</span>
Prepare to install Microsoft SharePoint 2016
I'm preparing to install Microsoft SharePoint Server 2016 to machines in the VLAN without access to Internet. All the distibutives of SharePoint ask for prerequisites which must be downloaded and installed. Unfortunately, you should get them by yourself. If you have internet access, than it's not a problem. But if you don't have it?
How to get index of selected option in Select control
It took me some time to get the index of selected value of <select> html control. I tried to use 'attr', but 'prop' should be used for this.
How to reset MySQL root password in Linux console (SSH)
To reset MySQL root password you should log in as root to your Linux server, stop MySQL service, start it without password and permission checks, log in as root without authorization, update password and restart MySQL server. Now more info.