old memo: MD5 hash on Apache password file

The default Apache password is encoded by MD5 slightly modified by Apache.

Since MD5 is a hash, it cannot be decoded easily, so we just need to

encode the password sent by browser using the same method that Apache

uses, and compare the user and encoded passwords for authentication.

This is the example of user(admin) and password(testtest) created by

Apache’s htpasswd.exe (if Windows)

admin:$apr1$4K5…..$2rBEDtuuwjD.QtVycG/xn1

In this case, the key string is “$apr1$4K5…..” which is also called a salt.

So, if we accept the HTTP_AUTHORIZATION with admin:testtest (encoded by base64)

we need to MD5(“testtest”, “$apr1$4K5…..”) and then we get

$apr1$4K5…..$2rBEDtuuwjD.QtVycG/xn1 as the result.

DIY Air Conditioner using unused fridge

Concept: Arduino Temperature Sensor with AC Relay to control unused fridge

And some ventilation to expel the heat of fridge to outside….

Found very good reference for C/C++ programmer to learn Object-C.

how to make API in python

 

I am going to make a middleware API system which integrate with Amazon API.

I am planning to use flask in python + mongodb + nginx for front end.

Demo site will be available hopefully soon here…

http://findasin.info/

Digital Ocean

linode is great

Amazon (AWS) Import Export Service: Supported Devices.

313goaf9WHL._SL75_Generally a line of external drives from LaCie, MicroNet, Seagate, and Western Digital are supported.

Since they claim 16TB is the maximum volume size, I recommend something like this one from Lacie:

 

http://aws.typepad.com/aws/2010/03/aws-importexport-support-for-raw-drives-and-bigger-devices.html

Researching open source CMS

Any suggestion?

Here is what I found so far: http://get-simple.info/download/

 

To Do List

* Install ubuntu 12.04 with megaraid SSD cachecade

* Set up CUDA 5

* Set up Virtual Machine

* Some Links on C# IDEs on Windows/Mac

http://monodevelop.com/
http://www.icsharpcode.net/opensource/sd/

http://xamarin.com/ promising…

Posted in Ubuntu. 1 Comment »

GK Works

Posted in 1. Leave a Comment »