Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
初始化
  • Loading branch information
html7 committed Apr 12, 2013
0 parents commit c7289b8
Show file tree
Hide file tree
Showing 5 changed files with 318 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
163 changes: 163 additions & 0 deletions .gitignore
@@ -0,0 +1,163 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
*.dotCover

## TODO: If you have NuGet Package Restore enabled, uncomment this
#packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store
61 changes: 61 additions & 0 deletions fortune_telling.txt
@@ -0,0 +1,61 @@
10 ���� ʯ��ľ ��
11 ���� ʯ��ľ ��
12 ���� ��ˮ ��
13 �ﺥ ��ˮ ��
14 ���� ���н� ��
15 �ҳ� ���н� ţ
16 ���� ¯�л� ��
17 ��î ¯�л� ��
18 �쳽 ����ľ ��
19 ���� ����ľ ��
20 ���� ·���� ��
21 ��δ ·���� ��
22 ���� ����� ��
23 ���� ����� ��
24 ���� ɽͷ�� ��
25 �Һ� ɽͷ�� ��
26 ���� ����ˮ ��
27 ���� ����ˮ ţ
28 ���� ��ǽ�� ��
29 ��î ��ǽ�� ��
30 ���� ������ ��
31 ���� ������ ��
32 ���� ����ľ ��
33 ��δ ����ľ ��
34 ���� Ȫ��ˮ ��
35 ���� Ȫ��ˮ ��
36 ���� ������ ��
37 ���� ������ ��
38 ���� ������ ��
39 ���� ������ ţ
40 ���� �ɰ�ľ ��
41 ��î �ɰ�ľ ��
42 �ɳ� ����ˮ ��
43 ���� ����ˮ ��
44 ���� ɳ�н� ��
45 ��δ ɳ�н� ��
46 ���� ɽ��ˮ ��
47 ���� ɽ��ˮ ��
48 ���� ƽ��ľ ��
49 ���� ƽ��ľ ��
50 ���� ������ ��
51 ���� ������ ţ
52 ���� �𲭽� ��
53 ��î �𲭽� ��
54 �׳� ��ƻ� ��
55 ���� ��ƻ� ��
56 ���� ���ˮ ��
57 ��δ ���ˮ ��
58 ���� ������ ��
59 ���� ������ ��
60 ���� ���˽� ��
61 ���� ���˽� ��
62 ���� ɣ��ľ ��
63 ��� ɣ��ľ ţ
64 ���� ��Ϫˮ ��
65 ��î ��Ϫˮ ��
66 ���� ɳ���� ��
67 ���� ɳ���� ��
68 ���� ���ϻ� ��
69 ��δ ���ϻ� ��

72 changes: 72 additions & 0 deletions 颜海镜算命.cmd
@@ -0,0 +1,72 @@
@echo off
mode con lines=20 cols=50
title 颜海镜算命2011贺岁版
color 4a
echo.
echo ☆☆☆☆☆☆☆☆☆☆☆☆☆
echo ☆ 颜海镜算命 ☆
echo ☆☆☆☆☆☆☆☆☆☆☆☆☆
echo.&echo.
echo 颜海镜是一种理念
echo.
echo 我们每天都在努力,只为更好为您服务
echo.
echo ------------------------------------------
echo.
echo 按回车键进入主界面...
echo.
echo 若要退出请直接关闭此窗口...
echo.
echo 颜海镜
echo 日历:%date%
pause>nul

:main
color 4e
cls
echo.&echo.&echo.&echo.
echo 注意此处按民间习惯为虚岁
echo.
echo 即您的周岁年龄加1
echo.
set year=
set /p year= 请输入您的年龄:
set /a year=2011-%year%+1
call :get_num %year%
echo.&echo.
echo ------------------------------------------
echo.
echo 按回车键进入主界面...
echo.
echo 若要退出请直接关闭此窗口...
echo.
echo 颜海镜
echo 时间:%time:~0,5%
pause>nul
set year=
set years=
goto main

:get_num
set /a years=%year%
set /a years=years%%60+10
for /f "tokens=2,3,4" %%i in ('findstr "%years%" fortune_telling.txt') do (
color 2f
cls
echo.&echo.&echo.&echo.
echo 您的出生日期:%year%
echo.
echo 您的属相:%%k
echo.
echo 您是%%i年出生 年命为:%%j
)
goto :eof









Binary file added 颜海镜算命.cmd.lnk
Binary file not shown.

0 comments on commit c7289b8

Please sign in to comment.