# -*- coding: utf-8 -*-
#!/usr/bin/env python
# coding: utf-8

__author__ = "Sokos Lee ( cnhawkwing@gmail.com )"
__copyright__ = "Copyright (c) 2006-2017 CnHawk.Org & SokosLee.com"

class AboutMe():

    def __init__(self):
        self.fullName = 'Sokos Lee'
        self.footprint = 'GanZhou ----> ZhuHai ----> GuangZhou ----> ' \
                         'Hohhot ----> ShenZhen ----> ?'
        self.skill =  'C & C++ & JavaScript & PHP & Java & C# & Python & Android & iOS ' \
                      ' & (Apache Tomcat Nginx MemCached MongoDB Redis MySQL)'
        self.twitter = 'https://twitter.com/CnHawkOrg'
        self.gmail = 'CnHawkWing@gmail.com'
        self.interest = 'Mobile internet & Software Architect & Developer & Creator. #Python #Java #PHP #NodeJS #IoT'
        self.desire = 'Democracy  &  Equality &  Fairness  &  Freedom'

    '''Contribution to Projects'''
    def getProject(self):
        nowcn = {'url' :  'http://now.cn',
                 'Technique' : 'PHP & MySQL','MyWork' :
                'Develop Register .HK & .TW Domain'}

        show = {'url' : '404',
                'Technique' : 'Java & Oracle',
                'MyWork' : 'The Background Management of The System'}

        wapwe = {'url' : 'http://wapwe.com',
                 'Technique' : 'ASP.NET & SQL Server',
                'MyWork' : 'The Background Management of The System'}

        tele = {'url' : '404',
                'Technique' : 'Java & SQL Server','MyWork' : 'Design & Dev'}

        zhjckx = {'url' : '404',
                'Technique':'Java(Struts+ Hibernate+ Spring) & Tomcat & MySQL',
                'MyWork' : 'I am Project Manager,Design & Dev'}

        wxcs = {'url' : 'http://wap.wxcsnmg.com & http://www.wxcsnmg.com ',
                'Technique': 'Java(Struts + Hibernate + Spring + MemCached) & '
                             'Apache & Tomcat & MySQL' ,
                'MyWork' : 'I am Project Manager,Design & Dev'}

        lehetv = {'url' : 'http://www.lehetv.com',
                  'Technique' : 'Python(Tornado + SQLAlchemy) & Redis & MySQL'
                                ' & Nginx',
                  'MyWork' : 'I am Project Leader'}

        self.project = [nowcn,show,wapwe,tele,zhjckx,wxcs,lehetv]

        return self.project

    def getFavor(self):
        print('Run & Mountain Climbing & Silence')

    def ps(self):
        print(u'史铁生:死是一件不必急于求成的事,死是一个必然会降临的节日')
        print(u'Tim O\'Reilly:人生是旅行,钱是汽油,旅程中需要加油,但汽油不是旅程的目的。')
        print(u'三毛:有谁,在这个世界上不是孤独的生,不是孤独的死?')
        print(u'Sokos Lee:人生就是一场苦行,你我在同一条路上孤独前行。')

    def getBio(self):
        # Pls, email me !!!
        pass

if __name__ == '__main__':
    aboutMe = AboutMe()
    print("My Name:%s   \nMy EMail:%s \nMy Skill:%s\n\n" % (aboutMe.fullName,aboutMe.gmail,aboutMe.skill))
    projects = aboutMe.getProject()
    for p in projects:
        print("URL:%s\nTechnique:%s\nMyWork:%s\n\n" % (p['url'],p['Technique'],p['MyWork']))

    #   Next Sokos Lee   Blog @cnhawkorg  © 2006-2017 Sokos Lee,Last Updated 2016-08-30 18:18