How to switch between GitHub accounts on your workstation
If you have multiple GitHub accounts and you want to switch between them you need to update the stored username and password on your workstation. On Windows See Git configuration
java.sql.SQLException: Incorrect string value: ‘\xF0\x9F\x96\xA4\xE2\x9C…’ for column
When your application tries to store 4-byte Unicode characters in a MySQL database you may get the error rmessage java.sql.SQLException: Incorrect string value: ‘\x..\x..\x..\x..\x..\x…’ for column To store…
The security database on the server does not have a computer account for this workstation trust relationship
Time to time Windows servers may lose the trust of the domain. When you try to log in with your domain credentials you get the dreaded message: The security database on the server does not have a computer account for this workstation trust relationship…
SQL Server AWS RDS instance ALARM FreeableMemory <=... MB
The SQL database servers use the available memory for caching to speed up the database operation. If we do not restrict the SQL database server memory usage, the operating system will not have enough memory to run. This setting is also necessary for an…
Terraform provider.aws: no suitable version installed
The new versions of Terraform do not contain all plugins after the application installation. When you try to access a provider the first time, Terraform may not be able to communicate with it. * provider.aws: no suitable version installed version…
Display all teams you belong to in GitHub
To get the information on all teams you are part of in Github Open a Terminal window Execute this command with your Personal Access Token curl -H "Authorization: token YOUR_PERSONAL_ACCESS_TOKEN" https://api.github.com/user/teams The returned JSON will…
Chef NoMethodError, undefined method
When you try to bootstrap a node to a Chef server, you may get the error message Compiling Cookbooks… ============================================================== Recipe Compile Error in c:/chef/cache/cookbooks/…/attributes/default.rb…
Package dependent Java JAR files into the project JAR file
When you execute your Java JAR file, you need to include all dependent JAR files in the “fat jar” file, so the Java virtual machine can find them at runtime. Set up NetBeans to include the JAR files from the library In NetBeans you need to…
Restore Windows Server 2012 R2 from backup
Windows Server contains the Windows Backup functionality. It can create full backups of your server that contain all volumes. With the bare metal recovery, you are able to fully restore the server even if the hard disks fail, after a virus attack, or…
Tomcat web server installation
Tomcat is one of the most popular free web servers. Tomcat runs on the Linux, Macintosh, and Windows operating systems. To install Tomcat Install the Java Runtime Environment (JRE) Download the Java JRE…