Time to beef up security. Like everyone I have a large number of online accounts. They are generally secured with username and password. I use KeePass to generate unique passwords and keep track of them. There have been a lot of hacks lately. So I wanted to make my most important accounts more secure. More and more online services are adding two factor authentication, e.g. Google, Dropbox. Two factor authentication adds an additional layer of security.
Continue reading
Windows
Error compiling Scalatra project
Seriously? Unsupported major.minor version 51.0 when compiling a Scalatra project? The complete error is “Caused by: java.lang.UnsupportedClassVersionError: org/eclipse/jetty/server/Handler : Unsupported major.minor version 51.0”. After some Googling I found the following statement “You are using different JDK versions to compile and run the application”. No way, that is not possible. Continue reading
Installing Scalatra on Windows
Scalatra is a micro framework for Scala. Installation does not seem to be as straight forward as adding Scalatra to the dependencies of build.sbt. It requires a number of other tools to work: Conscript and giter8. Conscript is a tool for installing and updating Scala code. giter8, which depends on conscript, allows you to check out project templates directly from Github. It’s the recommended way to generate Scalatra project skeletons. These are quick installation instructions for Scalatra on Windows. Continue reading
Error: ‘git’ is not recognized as an internal or external command, operable program or batch file.
Today I wanted to add one of my Github repositories to a sbt project. I was working on my Windows laptop. I setup the following Build.scala file and placed it in the project directory under the root directory of my sbt project: Continue reading
Calculating the MD5 checksum of a file under Windows
I was working on my Windows laptop and needed to calculate the MD5 checksum of a file. Under Linux no problem, but how do you do that under Windows? As always Google is your friend. I found the Microsoft File Checksum Integrity Verifier tool on the Microsoft website. Easy to install and use. Continue reading
Aaahhhhh, changing the shell defaults of Git Bash under Windows
Have you been frustrated by the default window shell settings of Git Bash under Windows? I have. Changing the settings of the Git Bash window directly using properties does not work. Today it bugged me enough that I decided to spend some time to fix it. Continue reading