Install Chocolatey

The Chocolatey home page is at https://chocolatey.org/ Install Chocolatey Navigate to the Chocolatey website at https://chocolatey.org/ and follow the latest instructions. At the time of writing the instructions were Using the Command prompt Open a command prompt as Administrator, Install Chocolatey with the command @”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’))” && SET “PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin” Using …

The instance ID ‘…’ does not exist

When you launch an EC2 instance in AWS and the Chef script is trying to set tags on the instance you may get the error message: The instance ID ‘…’ does not exist It can happen when you launch the instance in one AWS account, and the tagging script tries to find the instance in another …

Determine the Windows PowerShell version

To reliably display the version of the Windows PowerShell engine Open a PowerShell command window, Execute the command, $PSVersionTable.PSVersion PS C:\WINDOWS\system32> $PSVersionTable.PSVersion Major Minor Build   Revision —–   —–   ——-  ——- 5       1        16299  64 If no value is displayed, the version is 1.0, as it does not have the referenced …

How to create a slideshow in Drupal 7

To create a slideshow in Drupal 7 Create a Slideshow content Log into Drupal as administrator In the top menu select Content and Add content On the Add Content page select Slideshow On the Create Slideshow page enter the title of the page, and populate the fields for the images. Click the Choose File to upload the …

How to install a Drupal module

To install a Drupal module Download the Drupal module from the www.drupal.org website, Unzip the module, With an FTP client upload the module directory to sites/all/modules/contrib Log into the Drupal site as administrator, In the menu select Modules, Click the switch next to the module name to turn it ON. The orange switch label reminds you to …

How to create a Docker repository in Artifactory

Artifactory supports multiple repository types, Docker is one of them. To create a new Docker repository in Artifactory Set the Custom Base URL of the Artifactory server From the Artifactory documentation at https://www.jfrog.com/confluence/display/RTF/Configuring+NGINX “When using an HTTP proxy, the links produced by Artifactory, as well as certain redirects contain the wrong port and use the http instead …

How to transfer an Atlassian Confluence wiki space to another server

Confluence is one of the most popular Wikis with a great user interface. To export and transfer an Atlassian Confluence wiki to another server Log into the Atlassian Confluence wiki as an administrator, In the lower left corner click the gear icon and select Content Tools, On the Export tab select the XML radio button …

Atom text editor configuration

Configure Atom Turn off auto-indent on paste to stop Atom reformatting your code. In the Atom menu select Preferences On the left side select Editor Uncheck Auto Indent On Paste Check Show Indent Guide Set Tab Type to soft to place 2 spaces when you press the tab key Atom language packs Atom language packs help you with code completion. Install language packs In the Atom …

Deploy a WAR file of a Java web application on the Apache Tomcat web server

There are two ways to deploy a WAR file of a Java web application on the Apache Tomcat web server Using the command line Copy the WAR file into the webapps folder of the Tomcat installation directory, Make sure the CATALINA_HOME environment variable points to the Tomcat directory (not the bin subdirectry) Open a Terminal window or …

Create a WAR file for a Java web application in NetBeans

Configure the web application Add the web.xml file The wb.xml file contains the web application configuration values for the webserver. I has to be in the WEB-INF directory of the web applicaion. To add the web.xml file to your NetBeans Java web application Right-click the Netbeans project, and select New -> Other… In the New File window select …