Skip to content

Commit

Permalink
finished pro1 and pro2
Browse files Browse the repository at this point in the history
  • Loading branch information
YixuanFranco committed Jun 2, 2016
1 parent 0af4c0f commit f768269
Show file tree
Hide file tree
Showing 7 changed files with 234 additions and 0 deletions.
Binary file added Yixuan/0000/duck.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Yixuan/0000/finnal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions Yixuan/0000/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-


from PIL import Image, ImageDraw, ImageFont, ImageColor


'''
打开文件,
声明 text 的位置, 是什么, 字体, 颜色.
----
'''

original = Image.open("duck.jpg") #Open pic

font = ImageFont.truetype("msyh.ttf", 60)

d = ImageDraw.Draw(original)

d.text((500, 0), "2", font=font, fill=(255,0,0,255))

d = ImageDraw.Draw(original)

original.save("finnal.jpg")

Binary file added Yixuan/0000/msyh.ttf
Binary file not shown.
200 changes: 200 additions & 0 deletions Yixuan/0001/code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
1. 3f654938-3b34-4585-b7f7-f41567b8e645
2. b8e79c24-a7b4-4723-adae-96148557fb5f
3. ce2de3c4-f479-47da-9bfe-84d54511597b
4. 0d7ad4d4-a24c-46c5-b400-d5f13131c3a6
5. ea97a605-feea-4806-8cab-9efc5009cb4f
6. 44651cd4-3729-4fa3-8ef6-578c4aca17c5
7. a6bdb701-6c63-4618-8183-03445f7341db
8. 6b403e29-97ba-4d61-a1cc-b640b08b7184
9. 656983b7-0f17-44b4-bfe1-b256bd313a4c
10. ce587a68-a0a9-48b9-b575-69fcfd466f4f
11. 151e5e37-3a62-48e7-a78b-7d0a580dd4d9
12. 1ddaeba0-e342-4800-a324-dd48f837fae0
13. 438b79e6-0944-448b-8116-5bcb1af00f87
14. 4d59bff5-5049-4b81-b056-ea400f34d830
15. ba70787c-c4b4-4f1f-84b8-bfd1c4cc0923
16. d02a649a-acc9-46f8-8795-aadda041c9b0
17. ee6127aa-c615-4bb6-8b58-6814b539a897
18. 095477f1-920b-40bb-bf8b-5d63d4cc8562
19. aa2fb5b6-7642-4427-963c-8866d09d5661
20. b87c5852-c605-4753-8a68-ea3ceca4364c
21. 2f880a72-82a2-4ed6-b139-269f1b9c613b
22. bc40ada8-8553-4a6f-9d8c-30640f7448a1
23. 37cbf172-73d2-4eaa-8d24-509146eca5cd
24. 484ccf9b-a0cd-4c87-9445-b31d9bb7ddd8
25. 3364723d-74ec-4df7-bfa5-8b19419f5ae9
26. fdb3737b-d8f1-435b-b32d-25c11b170934
27. e53991dd-50c5-45b9-974d-296716ddc0e0
28. bf60b96b-2bc4-4043-b84a-78445116d6fb
29. 2fe83f3e-16f3-4234-acfc-313887ff9620
30. f27a9f6d-3daf-4172-9a45-975e870eef5b
31. 7761b335-1884-45b4-a6a7-908b92122b3c
32. 30166b2f-9e53-479f-beea-7002d67b3707
33. 46fb8106-129b-4618-8d15-4fdd4be6f861
34. 75b52f54-e50d-4542-9d91-dc1e80ae1a0f
35. 26b23075-5b85-4720-a127-81dd1940e5d8
36. ece5ed26-991c-4b3f-9309-9edbaabfe015
37. c2eb57bd-b24d-423b-bb58-64aeb7b7c00b
38. 53232e6c-5e39-47a9-bfc3-5b7652025d54
39. fe8d95c7-2666-4217-b0c0-1aeaca2aecfd
40. a1330a02-4ccf-408d-a46a-ed2170ec5e9e
41. e27ff244-2f12-4749-b0bf-fab075bd4375
42. ee96285b-6611-45a2-977e-743e68e9f84b
43. 46b5294d-d6e3-401f-a6d1-67786bfac27e
44. 64494b13-579b-45df-a3c9-55b4b0cb566c
45. 3e10dda7-eb94-4652-9fb4-fd5202a53927
46. 8f2fb84c-e8fb-4dbe-8428-7eb0c1f42647
47. df66e698-0a0f-4541-a873-7fe456235d6f
48. 18be0daf-7704-4a43-8758-ef3d5fe2e122
49. a30daa16-3c9e-4022-9e16-392e3440b42b
50. 703f2bfd-692b-487b-a8c2-0edfdb95f538
51. 96e0eaa8-ad18-41f3-abb7-5f0239eeaf0d
52. a2e00b48-5869-40b2-9712-0b1aae345f18
53. d1c97db9-8402-44f1-b5a4-4d3183d469c4
54. e552c679-5e3d-4000-8f1e-689ae23afe69
55. 4db88579-5c7b-4339-a4b4-33cf870358bb
56. da7ef6e2-d0b3-47db-9bfb-63391733b688
57. a89536d8-9ebe-4741-a433-4c092183e598
58. d2f9d5c0-3bd7-4b34-ab50-4794f3b7e733
59. d42fa8f9-082c-4a79-ab3e-f8c67c88712a
60. 0a2f6922-2860-4b5d-ac3b-390637839a38
61. 02900b28-c774-4a4d-9497-1af77a14c5b9
62. d520298b-d0ab-4c0e-b740-b08647a263fb
63. 2f938524-d218-4215-a66a-bcf5d86665c2
64. ad06ad28-6d69-4a57-81c7-2e4e28edd074
65. 951f99f3-3c41-49c7-95d5-252e98c53c88
66. 9b45f680-bf88-4afd-9db6-9c76c857b565
67. 409adbc5-c62a-45e6-951c-7a43ac4c014f
68. eda3935b-1900-46be-9158-91c2d617d16a
69. b4830980-bae7-4151-931f-b6252d701605
70. 63e29a47-7995-480e-aaaf-e288a7229656
71. ec53de7b-38cd-4dab-acf6-3d3c951519ae
72. 79fd2f79-7269-4a80-b62a-4b67e21371fe
73. 74de0b9e-a660-42b9-aded-5e8cac9bc20b
74. 8a6eaedc-116b-4ab3-a5b6-37ca7c970d0d
75. bd4b77b8-dc32-411e-b0f2-2434d9dde74f
76. 43d32480-955a-444c-9794-d6d53746ea83
77. cd74e749-1e3d-406a-9ade-b88698cce346
78. 1abc5745-2fc9-4244-8f2b-03c9bc2544ee
79. dd59494e-2339-411b-8a69-6500d32e06e7
80. 71fed090-15a4-42b2-8a24-56baa748172e
81. 764a33d2-222a-45f6-ae20-f174b1a21548
82. 28c2e491-4003-4b73-b570-c5d6eae7f247
83. 64f36931-fd83-4001-af20-18c6112dc57e
84. 4ec62f94-021f-4007-8475-70ebc880a187
85. 1086e631-a654-4597-9c2b-47d14ddb04d2
86. 5457bc3a-0595-4c2f-8cae-78a5cf75b0ab
87. 026fb380-c1f2-4e71-a655-37db4a063640
88. 0b44fa97-7019-48a8-9fb7-fa5a8baf1cd6
89. c88c4ba8-8886-414a-875a-2fbcd87c1e15
90. 880e5c6a-4b6b-4a0f-b7bd-0dde578ff4a0
91. 905d527e-f54b-4b45-8d11-0e78ac8b6d1f
92. 9477e52f-ab15-4f7a-8b3d-d06411051b8e
93. 8ddc8db6-ecaa-4494-a4d7-1496aa9be92c
94. 068e1a52-1002-4a66-ae90-07c7bbb80686
95. 5ac1b226-0077-434c-81fc-ba5b59b843ed
96. 0b13b926-dd01-4016-a5a6-115d154265eb
97. be819d0a-8d7e-42a5-80f4-432f0ced0324
98. f2dcd76b-8c4a-40af-a57b-77612594c207
99. 11b7e07b-baa7-4114-b479-f7749dd1ac98
100. ed3d4461-c291-4701-95b1-36fd6a4ece7f
101. cc14d776-7461-48ba-818f-03510a8466f0
102. 1dbe55f1-9877-4e18-8e76-36c7d1bbd239
103. 25decf42-91d1-4ec4-9603-abfa9a5afa4c
104. ea19ed4e-abfb-462b-ba90-a1294c4e53b7
105. 4bfeadcc-95e7-439f-9f4f-046892382991
106. 6a82b514-f7e9-4ea1-8f82-79d181a015f0
107. e745de17-6139-4847-842c-008ba60acb0b
108. c3ab3ff7-cd3f-4c83-8aa0-a033502b46e2
109. a1b9ba37-5230-4956-a820-46a273c35bb8
110. 52387327-01ee-4f4c-8a91-1833e0d19fa0
111. d98edc3e-895e-4d01-a505-f94c1d6cf4e4
112. ec72b2e1-93d2-43e4-b6d3-501b4a3e7654
113. 7e2ad2bd-4421-4762-995b-d1941fe7e876
114. dab25b3b-6cce-4ca2-91eb-2eb0e11b55b3
115. ae16df43-402d-4765-9249-89fcbc5188a8
116. 0a56c626-a169-4100-b932-3fdef9141079
117. 25711d01-9228-4f9c-ae13-86f774c6e179
118. dfb72410-9208-4e69-9252-1c8b56e2b052
119. 571eaa38-4c6f-49cd-bb7d-cccd4b9e913e
120. d8ba2cf4-1a32-40fd-8171-28fa53c1b269
121. 749292ea-db2e-4db5-a952-18c0e71cdcaf
122. b7a0a1d9-4032-40e7-8fe5-2219a04bb14b
123. 9af40fa8-9e35-4fd4-b879-869e8da3b88d
124. 8352d9ad-3e2e-4b67-aff2-65b8c046d82e
125. 509e61d2-8b47-4c5d-8bd8-b3bc6d0eb8b0
126. e415e315-b647-4e1b-bb14-aaff11923410
127. 9ec998e4-d655-40a3-bedc-4291efa781da
128. b3a3d295-a987-4442-9396-646909aaf2cc
129. 0037ae45-5623-4c34-8482-4f2b0d0c1e65
130. 4cc5ae3c-b317-43b8-bed4-8b0dd8c4bed0
131. 5562ebf3-8df6-426a-8bcb-a7a25a57bcae
132. feaa277c-6f8d-41c7-a3e6-00c76b9e6077
133. 65e4a317-42c4-44a5-9c2a-b9261c2494ea
134. 0799db74-2799-412b-9109-118933312560
135. a91f601f-caab-4d7f-a874-f1ec883d90c2
136. 017e1b31-e568-4f8a-8887-99b7b3743fbd
137. 3301ab55-ae27-4713-ab25-f553e27a927d
138. f3a9549e-6bea-4912-9d22-6e92f488544a
139. e7d69120-5877-4212-bbd9-f4623f9fbe8d
140. ccf2adcf-d816-41f9-8733-33d58b5f2a5a
141. 1a579cb8-c2fd-4386-9676-de421c4837a4
142. 43f026b9-e09c-4b4c-913b-e1e3d2e7c1cc
143. b8737099-63a3-4771-b0c1-3ad57c195d37
144. aae9711c-7ef2-45c5-89e8-8913518b0b36
145. 1dbc21aa-64cd-4ce8-a150-9d1c1f986b51
146. 449b9684-511f-4cd5-b610-51d9168ae8b1
147. 89ca7227-4fab-483a-9682-fe0d619dd216
148. 197b78b6-7a54-4a59-be80-2c84bb8811b3
149. af95ddc9-3821-411d-8c6e-cd78785e7b56
150. c600a1cc-9965-4bb1-8494-ef9d0f4abff5
151. 694837db-f956-4772-a8ce-edfbfde6ff25
152. ed6b74c2-2f43-42bb-ab4e-4be2957fbe1a
153. a47381c8-3369-4830-bb9f-97643f8a1fa9
154. 2733d133-0703-4648-9ef5-373a0beda5ac
155. ad806245-df11-4bf2-89dc-195294083141
156. 8492943f-de1c-4b34-b49c-2779ea5af3a7
157. 2364d4d2-b9c0-4d0a-a9e5-c9b4e38c9e24
158. 9889efba-a977-4d5b-9f3b-9a98f8e8e6e2
159. 36ce676b-63a1-471f-b1ea-1e755ccc7631
160. 977e26db-ed39-405a-b007-0c2b2bf43625
161. 9ff654b7-3b09-43bf-97fc-2acd4d308aa1
162. 1809a02d-3970-4951-bef3-acf7884a402c
163. 25602879-7ad0-41f3-a8cb-635c2996ce4c
164. adda3d47-377d-4a19-9d3e-abff09dc2c67
165. 0c83fa5e-d271-4ebb-a438-840cb074c7a0
166. c1f7ba6e-b22b-4850-ba21-ae231da31f6b
167. 8568a74e-843b-45d0-9a30-582b8c8e9c59
168. 6ffbeb12-8639-4d97-9988-a73360cddffc
169. f3598b23-0741-499d-9bcd-ed1a1d3edae7
170. 3b3492ff-b0a8-4341-943a-c44a6bb11f27
171. 2701fec9-0693-4463-9599-befc09ce987a
172. dc728f2f-c057-4f8f-b690-9646d69b6e41
173. cb9569ab-d12e-4fc1-a905-0347868f0519
174. 30fb9248-4cb8-4f51-add3-c7914ae34bfe
175. 4a669209-cab6-4800-85aa-a6de510ed81c
176. d5f81043-7cd9-4ab1-8247-40907be973bb
177. 7b23f2a5-db14-4e25-81b9-4449f0c26b32
178. 8768a814-e3e8-4396-a7e1-32440ec34c17
179. 697e96ef-bcff-4097-8bbd-ee3a8beb5be7
180. dc0ab926-196d-4d8b-8bed-0d842550c13b
181. 53ea2b69-8c9a-4511-80ed-2142f1964d0a
182. f38e6218-37e4-43af-85f5-a27acef5d8be
183. cc19ab8d-a7af-446b-8d8a-1155b4b52851
184. a6890790-ff42-402f-9352-792eea1a1f30
185. 19124697-b4ba-4e67-b846-28c2f6cd2d09
186. 57e9443a-7577-4e74-a32f-5ad71cccefe6
187. 4899e4f1-a0b9-46f8-a09b-cf0420e88444
188. 0f06b2f6-6fdf-4398-8071-d62d9520d3d3
189. 50476641-9902-411a-b664-52d233e16040
190. 2ea035c3-c362-44f3-9824-2dbbfcd32f41
191. 77a582c6-046c-4a66-93fd-5315f0bca09f
192. 3f1682d0-f6bc-4d0d-a335-d30ab3dc267b
193. 14d6c743-69f1-4c5a-87c9-a666eb611f72
194. fde1c6c1-905f-4785-829c-26925ad38d50
195. fd17032e-c76a-476b-818b-0697f70cfd12
196. 2ba10acf-ef65-4954-901d-485082c78259
197. cf805a2d-030d-4fc0-a2a8-33c5096ac68e
198. f7439f89-4b23-4f9d-b610-f5bfa276275c
199. 0c1b58bc-2d78-4a3b-9cf5-f971da929379
200. 96c4ae13-3927-4023-8c8f-9a77e9dd46a1
8 changes: 8 additions & 0 deletions Yixuan/0001/code.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import uuid

i = 1
while (i < 201):
f = open('code.md', 'ar+')
s = str(i)+". "+str(uuid.uuid4())
f.write(s+"\n")
i +=1
Empty file added Yixuan/0001/workfile
Empty file.

0 comments on commit f768269

Please sign in to comment.