Wednesday, May 15, 2013

1and1 Custom Domain on Blogspot

I decided to use my custom domain for my blog, which looks straight forward according to the instructions in blogger.com, until i went to change the CNAME in the domain host 1and1.
Blogger (google) requires changing 2(two) CNAME on the internet host, but 1and1 only has space for 1 CNAME (one)!

I battled this for a month, and even scoured the internet for any resolution with any definitive solution, until i came up with a solution; after putting all together.

The best way to do it it is by using Google Host Verify Tool. The steps reproduced below.
  • Go to the Blogger and update the information on your Settings | Basic tab. Find the area for "Publishing," and click the link to add a custom domain.
  • Then, click on "Switch to advanced settings." 
  • Enter in the URL for your custom domain in the text box provided, and click Save.
  • You will encounter an error; Error 12.
Figure 1
  • Log in to your 1&1 account at https://admin.1and1.com
  • If it's not already selected, click the Administration tab. Click Domains. The Domain Overview page appears.
  • From the New drop-down menu, select Create Sub-domain. 
  • Check the box next to the subdomain, and type the name of the sub-domain on Figure 1 above
  • From the DNS menu, select Edit DNS Settings.
  • Click the radio button next to CNAME.
  • Include the CNAME record value associated with your use. Use the values in Figure 1 as the CNAME value. (remove the (.) at the end)
  • Click on the Google Verify Webmaster Tool (highlighted on Figure 1). It will open another webpage
Figure 2
  • Select 1and1.com from the Domain name provider box and Click Verify
    Figure 3
  • Congratulations, The site is verified!
  • Go ahead and add the custom domain on Settings|Publishing tab

Who is Satoshi Nakamoto? UPDATE

A this Bitcoin craze goes woldwide, there is still a question now answered... WHO IS SATOSHI NAKAMOTO!!??

Satoshi Nakamoto
Some think...
  • of British Origin
  • ... a world-class programmer, with a deep understanding of the C++ programming language.
  • ... understands economics, cryptography and peer-to-peer networking
  • ... a team of people who worked on this, or this guy is a genius.
  • Last word from him is "moved on to other things"
Quite a handful... But still who is Satoshi Nakamoto!!?
Ted Nelson claims that he is Shinichi Mochizuki, a math professor at Kyoto University. http://m.cnet.com/news/computer-visionary-says-he-knows-who-invented-bitcoin/57585224

Thursday, May 2, 2013

django and virtualenv on Aptana Studio

Create a folder for storing Virtualenv environments

C:\Users\amachefe>mkdir env
C:\Users\amachefe>cd env

Create a virtual environment VCMS by running the virtualenv command.
C:\>powershell
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
PS C:\>
PS C:\Users\amachefe\env>virtualenv vcms
New python executable in vcms\Scripts\python.exe
Installing setuptools................done.
Installing pip...................done.

In Microsoft Windows, before activating the virtual environment, ensure that the new environment is used by setting the Powershell execution policy
PS C:\> Set-ExecutionPolicy RemoteSigned
PS C:\> exit

Activate the virtualenv environment just created

PS C:\Users\amachefe\env>vcms\Scripts\activate
(vcms) C:\Users\amachefe\env>
(vcms) C:\Users\amachefe\env>pip list

(vcms) C:\Users\amachefe\env>pip show
ERROR: Please provide a package name or names.
(vcms) C:\Users\amachefe\env>pip install django
Downloading/unpacking django
  Downloading Django-1.5.1.tar.gz (8.0MB): 8.0MB downloaded
   Running setup.py egg_info for package django

    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
Installing collected packages: django
  Running setup.py install for django

    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
Successfully installed django
Cleaning up...
Storing complete log in C:\Users\amachefe\pip\pip.log