Test your RightScale script without creating unnecessary revisions
There are certain functions in RightScale scripts (RightScripts) that you cannot test without launching a new instance. To test your script: Edit the Head revision of the RightScale script and save it, Attach the Head revision of the RightScale script to…
Custom Git Status and Git Pull commands to work with all of your repositories
If you work with many Git repositories it is easy to miss a repository when you commit your changes, and very time consuming to pull from all repositories. It is easy to automate both processes. In this example, we will place all files in…
Useful Bash commands
Most of these commands work in all Linux, MacOSX, and Unix shells, but some of them only work in selected shells. Find files recursively by file name pattern find . -name '*.MY_EXTENSION' Find files, but exclude a directory from the search. (The -print…
Windows 10 can’t connect to this network
If your Windows 10 computer can successfully connect to some wireless networks, but cannot connect to certain wireless networks, it is possible, that the stored credentials are out of date. To force Windows 10 to ask you for the updated username and…
How to disable Microsoft OneDrive on Windows 8.1 and Windows 10
To disable OneDrive on Windows 8.1 and Windows 10 navigate to https://support.office.com/en-us/article/Turn-off-or-uninstall-OneDrive-f32a17ce-3336-40fe-9c38-6efb09f944b0 and follow the instructions for your computer’s operating system.
Find the AWS AMI that a RightScale server template is using
When you use RightScale to launch servers in the cloud, you want to use the same base image to test your Chef cookbooks in Test Kitchen. Packer by Hashicorp is a utility to create custom server images based on cloud images. You supply the image ID and…
Mailbox unavailable. The server response was: No such user here
When you send email from an application, most SMTP servers require authentication. Your application needs to supply a valid username and password to be able to connect to the server. This prevents strangers to use your SMTP server and send millions of…
Unable to read data from the transport connection: net_io_connectionclosed.
When your application tries to send an email using a Gmail account you may get the error message: Unable to read data from the transport connection: net_io_connectionclosed. One of the causes can be, when “Less secure apps” are not allowed to…
The .NET MVC model has to have a parameterless constructor
When you create a class to be used as the model in a .NET MVC application, the class has to have a parameterless constructor. It is called during the POST when the user clicks the submit button of the form. If the class does not have a parameterless…
Turn off the built in touchpad when a mouse is attached
All laptops today feature a touchpad, that enables you to move the pointer on the screen. It can be very annoying when your thumb accidentally moves the cursor when you type, even if an external mouse is connected to the computer. Windows 10 provides a…