Fixing Black Screen Issue After Resuming Ubuntu 13.04

I recently decided to upgrade from Ubuntu 12.04 to Ubuntu 13.04 on my Dell Latitude E6400. Everything went smoothly (I did a clean install, actually, so not really an upgrade per se), except the laptop would display an unlit, black screen after resuming from suspend. To fix this, I needed to activate the proprietary Nvidia […]

Password Protect a Domain with nginx

It’s very easy to place a simple htpasswd-based authentication system on a domain served by nginx. To do this, you’ll want your server block to look like this: The relevant lines here are the last two defining auth_basic and auth_basic_user_file. Notice that the file is /etc/nginx/htpasswd. This means you need to use htpasswd to create that file: This will […]