1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-07-01 06:02:08 +02:00

build fixes, downgrade rouge for now

This commit is contained in:
Matthias Kretschmann 2014-10-11 19:41:19 +02:00
parent 4839c2c3df
commit 83fdd50f50
6 changed files with 30 additions and 31 deletions

View File

@ -7,7 +7,7 @@ group :development do
gem 'jekyll-sitemap'
gem 'jekyll-timeago'
gem 'jekyll-redirect-from'
gem 'rouge'
gem 'rouge', '1.6.2'
gem 'mini_magick'
gem 'fileutils'
# for faster LSI generation

View File

@ -7,21 +7,20 @@ author: Matthias Kretschmann
date: 2008-02-26 23:24:17+00:00
wordpress_id: 12
categories:
- design
- design
tags:
- tutorial
- tutorial
---
As you may know you can easily password protect your website or parts of it using an htaccess file with special instructions on an [Apache](http://www.apache.org/)-based server. For using this method you just have to put a file named .htaccess (which includes the instructions for the webserver) and a file named `.htpasswd` (which includes the login-accounts) in the directory you want to have password protected. But you have to encrypt the passwords of the login data for yourself, which is a quick task on a Mac.
As you may know you can easily password protect your website or parts of it using an htaccess file with special instructions on an [Apache](http://www.apache.org/)-based server. For using this method you just have to put a file named `.htaccess` (which includes the instructions for the webserver) and a file named `.htpasswd` (which includes the login-accounts) in the directory you want to have password protected. But you have to encrypt the passwords of the login data for yourself, which is a quick task on a Mac.
I won't go into detail what exactly is needed in your `.htaccess`, since it often depends on your hosting provider which instructions are allowed. If you are new to all this stuff and want to password protect your website or parts of it, have a look in the part ["Password Protection"](http://www.javascriptkit.com/howto/htaccess3.shtml) of the [Comprehensive guide to .htaccess written by Feyd](http://www.javascriptkit.com/howto/htaccess.shtml).
I won't go into detail what exactly is needed in your `.htaccess`, since it often depends on your hosting provider which instructions are allowed. If you are new to all this stuff and want to password protect your website or parts of it, have a look in the part [Password Protection](http://www.javascriptkit.com/howto/htaccess3.shtml) of the [Comprehensive guide to .htaccess written by Feyd](http://www.javascriptkit.com/howto/htaccess.shtml).
The login data, in detail just the password is stored encrypted in the .htpasswd-file but you have to encrypt it before writing it in this file. On a Mac you can benefit from the underlying [Unix](http://www.apple.com/macosx/technology/unix.html)-technology for quickly generating your login accounts using the commandline utility `htpasswd`.
Just open Terminal application and type in the following code and replace username and password with your desired data:
```bash
``` bash
htpasswd -nb username password
```

View File

@ -16,7 +16,7 @@ categories:
redirect_from:
- /new-goodie-niepces-camera-obscura-and-the-history-of-the-first-photograph/
-/4-more-icons-niepces-camera-obscura-v11
- /4-more-icons-niepces-camera-obscura-v11
---
These two desktop icons show the Camera Obscura as it was used by Nicéphore Niépce in an Aperture and iPhoto style and are intended as an homage to him. Nicéphore Niépce made it first possible to preserve an image taken with a camera obscura in 1826 or 1827 by using a special mixture of bitumen on a pewter plate, naming it Heliography. This first preserved photograph "View from the Window at Le Gras" is the one you can see in the iPhoto icon contained in this package. The third icon is the folder icon I have created for this icon package.