This past week I started working with the Play Framework (version 2.6), and this is a quick look at how to implement user authentication in a Play application. Specifically this blog post focuses on how to create a custom action so you can secure your Play controllers methods, where you’ll implement those methods using this new, custom action.
When you want to ssh into a server, and you didn’t name your private key file id_rsa, all you need to do to make ssh work is to specify the location of your private key file with the
-i option of the
I have no idea why this works, but if I throw/slide my Google Nexus 9 tablet onto my old iPad 2, the iPad wakes up and logs in automatically. You can see it happen in this 30-second video:
I’m not touching any iPad buttons when this happens. My guess is that the iPad 2 thinks that I just removed a magnetic cover, but really, I have no idea why it does this.
Good design - Facebook login page (iPad).
Good design - Dropbox login page.
Mac startup/login programs FAQ: How do I set up a Mac program to automatically startup when I log in?
If you have a normal Mac application that you want to setup as a Mac startup program (also called a Mac "startup item"), the process is fairly simple, and I'll demonstrate the approach in this article. For other Mac applications, like a command line program, the approach is different, and I'll cover that in a separate article.
CakePHP Auth user login FAQ: Help, how do I get access to the CakePHP user object (user information) after using the CakePHP Auth component for the recommended CakePHP user login process?
CakePHP user registration FAQ: The cookbook covers the topic of CakePHP user login forms, but the CakePHP Auth module uses SHA1 for passwords, and the cookbook doesn't cover user registration (creating users, and SHA1 passwords); how do I set up a CakePHP user registration form, including all necessary CakePHP model, view, and controller classes?
Setting up a basic CakePHP registration form isn't too hard, er, well, once you know how to do it. Here's how.
Drupal update/upgrade FAQ: Help, I can’t login to my Drupal website after performing a Drupal upgrade!
(Okay, that’s not really a question. But it is a common Drupal problem that might make you panic.)
If you ever happen to upgrade a Drupal website, and then find that after the upgrade you can’t login to your Drupal site, don’t panic, I may have an answer for you.