Error日志:

  1. Error opening file for reading: Permission denied
  2. ERROR Internal Server Error: /
  3. Traceback (most recent call last):
  4. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 174, in get_response
  5. response = self.process_exception_by_middleware(e, request)
  6. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 172, in get_response
  7. response = response.render()
  8. File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 160, in render
  9. self.content = self.rendered_content
  10. File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 137, in rendered_content
  11. content = template.render(context, self._request)
  12. File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py", line 95, in render
  13. return self.template.render(context)
  14. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 206, in render
  15. return self._render(context)
  16. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
  17. return self.nodelist.render(context)
  18. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  19. bit = node.render_annotated(context)
  20. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  21. return self.render(context)
  22. File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 173, in render
  23. return compiled_parent._render(context)
  24. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
  25. return self.nodelist.render(context)
  26. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  27. bit = node.render_annotated(context)
  28. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  29. return self.render(context)
  30. File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 69, in render
  31. result = block.nodelist.render(context)
  32. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  33. bit = node.render_annotated(context)
  34. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  35. return self.render(context)
  36. File "/usr/local/lib/python2.7/dist-packages/django/template/library.py", line 243, in render
  37. return t.render(new_context)
  38. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 208, in render
  39. return self._render(context)
  40. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
  41. return self.nodelist.render(context)
  42. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  43. bit = node.render_annotated(context)
  44. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  45. return self.render(context)
  46. File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 220, in render
  47. nodelist.append(node.render_annotated(context))
  48. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  49. return self.render(context)
  50. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 1043, in render
  51. output = self.filter_expression.resolve(context)
  52. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 736, in resolve
  53. new_obj = func(obj, *arg_vals)
  54. File "/usr/local/lib/python2.7/dist-packages/django/template/defaultfilters.py", line 51, in _dec
  55. return func(*args, **kwargs)
  56. File "/usr/local/lib/python2.7/dist-packages/django/template/defaultfilters.py", line 278, in truncatechars
  57. return Truncator(value).chars(length)
  58. File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 194, in wrapper
  59. return func(*args, **kwargs)
  60. File "/usr/local/lib/python2.7/dist-packages/django/utils/text.py", line 103, in chars
  61. for char in self.add_truncation_text('', truncate):
  62. File "/usr/local/lib/python2.7/dist-packages/django/utils/text.py", line 77, in add_truncation_text
  63. '%(truncated_text)s...')
  64. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/__init__.py", line 93, in pgettext
  65. return _trans.pgettext(context, message)
  66. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 326, in pgettext
  67. result = ugettext(msg_with_ctxt)
  68. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 321, in ugettext
  69. return do_translate(message, 'ugettext')
  70. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 298, in do_translate
  71. _default = _default or translation(settings.LANGUAGE_CODE)
  72. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 205, in translation
  73. _translations[language] = DjangoTranslation(language)
  74. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 118, in __init__
  75. raise IOError("No translation files found for default language %s." % settings.LANGUAGE_CODE)
  76. IOError: No translation files found for default language zh-CN.
  77. Traceback (most recent call last):
  78. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 177, in __call__
  79. response = self.get_response(request)
  80. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 230, in get_response
  81. response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  82. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 284, in handle_uncaught_exception
  83. 'request': request
  84. File "/usr/lib/python2.7/logging/__init__.py", line 1166, in error
  85. self._log(ERROR, msg, args, **kwargs)
  86. File "/usr/lib/python2.7/logging/__init__.py", line 1258, in _log
  87. self.handle(record)
  88. File "/usr/lib/python2.7/logging/__init__.py", line 1268, in handle
  89. self.callHandlers(record)
  90. File "/usr/lib/python2.7/logging/__init__.py", line 1308, in callHandlers
  91. hdlr.handle(record)
  92. File "/usr/lib/python2.7/logging/__init__.py", line 748, in handle
  93. self.emit(record)
  94. File "/usr/local/lib/python2.7/dist-packages/django/utils/log.py", line 115, in emit
  95. message = "%s\n\n%s" % (self.format(no_exc_record), reporter.get_traceback_text())
  96. File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 323, in get_traceback_text
  97. return t.render(c)
  98. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 206, in render
  99. return self._render(context)
  100. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
  101. return self.nodelist.render(context)
  102. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  103. bit = node.render_annotated(context)
  104. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  105. return self.render(context)
  106. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 1043, in render
  107. output = self.filter_expression.resolve(context)
  108. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 736, in resolve
  109. new_obj = func(obj, *arg_vals)
  110. File "/usr/local/lib/python2.7/dist-packages/django/template/defaultfilters.py", line 778, in date
  111. return formats.date_format(value, arg)
  112. File "/usr/local/lib/python2.7/dist-packages/django/utils/formats.py", line 151, in date_format
  113. return dateformat.format(value, get_format(format or 'DATE_FORMAT', use_l10n=use_l10n))
  114. File "/usr/local/lib/python2.7/dist-packages/django/utils/dateformat.py", line 367, in format
  115. return df.format(format_string)
  116. File "/usr/local/lib/python2.7/dist-packages/django/utils/dateformat.py", line 37, in format
  117. pieces.append(force_text(getattr(self, piece)()))
  118. File "/usr/local/lib/python2.7/dist-packages/django/utils/dateformat.py", line 292, in r
  119. return self.format('D, j M Y H:i:s O')
  120. File "/usr/local/lib/python2.7/dist-packages/django/utils/dateformat.py", line 37, in format
  121. pieces.append(force_text(getattr(self, piece)()))
  122. File "/usr/local/lib/python2.7/dist-packages/django/utils/encoding.py", line 78, in force_text
  123. s = six.text_type(s)
  124. File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 114, in __text_cast
  125. return func(*self.__args, **self.__kw)
  126. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/__init__.py", line 85, in ugettext
  127. return _trans.ugettext(message)
  128. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 321, in ugettext
  129. return do_translate(message, 'ugettext')
  130. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 298, in do_translate
  131. _default = _default or translation(settings.LANGUAGE_CODE)
  132. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 205, in translation
  133. _translations[language] = DjangoTranslation(language)
  134. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 118, in __init__
  135. raise IOError("No translation files found for default language %s." % settings.LANGUAGE_CODE)
  136. IOError: No translation files found for default language zh-CN.
  137. [pid: 3318|app: 0|req: 1/1] 219.237.242.144 () {44 vars in 5238 bytes} [Fri May  6 10:19:53 2016] GET / => generated 0 bytes in 243 msecs (HTTP/1.1 500) 0 headers in 0 bytes (0 switches on core 0)
  138. Error opening file for reading: Permission denied
  139. [pid: 3321|app: 0|req: 1/2] 68.180.229.29 () {32 vars in 469 bytes} [Fri May  6 10:21:04 2016] GET /ge/qqt-a653480/ => generated 19272 bytes in 272 msecs (HTTP/1.1 200) 3 headers in 195 bytes (1 switches on core 0)
  140. Error opening file for reading: Permission denied
  141. ERROR Internal Server Error: /
  142. Traceback (most recent call last):
  143. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 174, in get_response
  144. response = self.process_exception_by_middleware(e, request)
  145. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 172, in get_response
  146. response = response.render()
  147. File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 160, in render
  148. self.content = self.rendered_content
  149. File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 137, in rendered_content
  150. content = template.render(context, self._request)
  151. File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py", line 95, in render
  152. return self.template.render(context)
  153. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 206, in render
  154. return self._render(context)
  155. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
  156. return self.nodelist.render(context)
  157. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  158. bit = node.render_annotated(context)
  159. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  160. return self.render(context)
  161. File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 173, in render
  162. return compiled_parent._render(context)
  163. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
  164. return self.nodelist.render(context)
  165. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  166. bit = node.render_annotated(context)
  167. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  168. return self.render(context)
  169. File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 69, in render
  170. result = block.nodelist.render(context)
  171. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  172. bit = node.render_annotated(context)
  173. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  174. return self.render(context)
  175. File "/usr/local/lib/python2.7/dist-packages/django/template/library.py", line 243, in render
  176. return t.render(new_context)
  177. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 208, in render
  178. return self._render(context)
  179. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
  180. return self.nodelist.render(context)
  181. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  182. bit = node.render_annotated(context)
  183. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  184. return self.render(context)
  185. File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 220, in render
  186. nodelist.append(node.render_annotated(context))
  187. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  188. return self.render(context)
  189. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 1043, in render
  190. output = self.filter_expression.resolve(context)
  191. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 736, in resolve
  192. new_obj = func(obj, *arg_vals)
  193. File "/usr/local/lib/python2.7/dist-packages/django/template/defaultfilters.py", line 51, in _dec
  194. return func(*args, **kwargs)
  195. File "/usr/local/lib/python2.7/dist-packages/django/template/defaultfilters.py", line 278, in truncatechars
  196. return Truncator(value).chars(length)
  197. File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 194, in wrapper
  198. return func(*args, **kwargs)
  199. File "/usr/local/lib/python2.7/dist-packages/django/utils/text.py", line 103, in chars
  200. for char in self.add_truncation_text('', truncate):
  201. File "/usr/local/lib/python2.7/dist-packages/django/utils/text.py", line 77, in add_truncation_text
  202. '%(truncated_text)s...')
  203. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/__init__.py", line 93, in pgettext
  204. return _trans.pgettext(context, message)
  205. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 326, in pgettext
  206. result = ugettext(msg_with_ctxt)
  207. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 321, in ugettext
  208. return do_translate(message, 'ugettext')
  209. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 298, in do_translate
  210. _default = _default or translation(settings.LANGUAGE_CODE)
  211. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 205, in translation
  212. _translations[language] = DjangoTranslation(language)
  213. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 118, in __init__
  214. raise IOError("No translation files found for default language %s." % settings.LANGUAGE_CODE)
  215. IOError: No translation files found for default language zh-CN.
  216. Traceback (most recent call last):
  217. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 177, in __call__
  218. response = self.get_response(request)
  219. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 230, in get_response
  220. response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  221. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 284, in handle_uncaught_exception
  222. 'request': request
  223. File "/usr/lib/python2.7/logging/__init__.py", line 1166, in error
  224. self._log(ERROR, msg, args, **kwargs)
  225. File "/usr/lib/python2.7/logging/__init__.py", line 1258, in _log
  226. self.handle(record)
  227. File "/usr/lib/python2.7/logging/__init__.py", line 1268, in handle
  228. self.callHandlers(record)
  229. File "/usr/lib/python2.7/logging/__init__.py", line 1308, in callHandlers
  230. hdlr.handle(record)
  231. File "/usr/lib/python2.7/logging/__init__.py", line 748, in handle
  232. self.emit(record)
  233. File "/usr/local/lib/python2.7/dist-packages/django/utils/log.py", line 115, in emit
  234. message = "%s\n\n%s" % (self.format(no_exc_record), reporter.get_traceback_text())
  235. File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 323, in get_traceback_text
  236. return t.render(c)
  237. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 206, in render
  238. return self._render(context)
  239. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
  240. return self.nodelist.render(context)
  241. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
  242. bit = node.render_annotated(context)
  243. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
  244. return self.render(context)
  245. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 1043, in render
  246. output = self.filter_expression.resolve(context)
  247. File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 736, in resolve
  248. new_obj = func(obj, *arg_vals)
  249. File "/usr/local/lib/python2.7/dist-packages/django/template/defaultfilters.py", line 778, in date
  250. return formats.date_format(value, arg)
  251. File "/usr/local/lib/python2.7/dist-packages/django/utils/formats.py", line 151, in date_format
  252. return dateformat.format(value, get_format(format or 'DATE_FORMAT', use_l10n=use_l10n))
  253. File "/usr/local/lib/python2.7/dist-packages/django/utils/dateformat.py", line 367, in format
  254. return df.format(format_string)
  255. File "/usr/local/lib/python2.7/dist-packages/django/utils/dateformat.py", line 37, in format
  256. pieces.append(force_text(getattr(self, piece)()))
  257. File "/usr/local/lib/python2.7/dist-packages/django/utils/dateformat.py", line 292, in r
  258. return self.format('D, j M Y H:i:s O')
  259. File "/usr/local/lib/python2.7/dist-packages/django/utils/dateformat.py", line 37, in format
  260. pieces.append(force_text(getattr(self, piece)()))
  261. File "/usr/local/lib/python2.7/dist-packages/django/utils/encoding.py", line 78, in force_text
  262. s = six.text_type(s)
  263. File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 114, in __text_cast
  264. return func(*self.__args, **self.__kw)
  265. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/__init__.py", line 85, in ugettext
  266. return _trans.ugettext(message)
  267. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 321, in ugettext
  268. return do_translate(message, 'ugettext')
  269. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 298, in do_translate
  270. _default = _default or translation(settings.LANGUAGE_CODE)
  271. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 205, in translation
  272. _translations[language] = DjangoTranslation(language)
  273. File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 118, in __init__
  274. raise IOError("No translation files found for default language %s." % settings.LANGUAGE_CODE)
  275. IOError: No translation files found for default language zh-CN.

经确认是新版本的django包版本中只有zh_Hans目录,没有zh_CN,把zh_Hans目录复制一个zh_CN就Ok了

一楼评论的方法也不错,在settings里面直接改成zh-Hans,这样就不用升级完Django,还去改目录了。

Django升级1.9.6出现的中文本地化bug的更多相关文章

  1. django升级2.1python升级3.7时出现的错误:"trying to load '%s': %s" % (entry[1], e) django.template.library.InvalidTemplateLibrary:

    django升级2.1python升级3.7时出现如下的错误: "trying to load '%s': %s" % (entry[1], e) django.template. ...

  2. Ubuntu中文本地化后字体改变

    ubuntu中文本地化后会安装2个字体 fonts-arphic-ukai fonts-arphic-uming 找到这两个字体删除之.. sudo apt- get remove fonts-arp ...

  3. Laravel 验证中文本地化

    1.使用bootsrap好看的提示样式 但是会提示英文 2.将提示中文本地化 2.1.在/resouce/lang下创建文件夹:zh 2.2.已经有小伙伴做好了翻译 https://gist.gith ...

  4. WSL中文本地化

    WSL中文本地化 Windows Subsystem for Linux(简称WSL)是一个在Windows 10上能够运行原生Linux二进制可执行文件(ELF格式)的兼容层.它是由微软与Canon ...

  5. Django升级1.6之后出现“Bad Request (400)”错误的解决方案

    Django从1.4升级到1.6之后发现之前的网站都无法访问了,会出现“Bad Request (400)”的错误,搜了半天终于找到了解决办法. 解决方法很简单: 在settings.py里面添加: ...

  6. 关于Django升级的一些联想

    刚刚阅读完django1.11的release note,从django1.4一直用到django1.11,以及即将到来的大版本django2.0,Django的版本升级策略和国内的技术现状对比称得上 ...

  7. Django升级1.8的一些问题

    1.最明显的问题当然是Settings设置中关于模板的设置数据结构发生变化,这个就不细说了,你开个Django的1.8的新项目就知道怎么改了 2.migrations问题,这个问题是1.8最主要的修改 ...

  8. Django学习手册 - admin后台 切换成中文显示/添加数据表

    Django admin后台管理 切换成中文界面: 站点显示为中文: 在setting 里面修改 LANGUAGE_CORE = 'zh-Hans' 字段名显示中文 class Test(models ...

  9. django 使用HttpResponse返回json数据为中文

    之前我用django一般用JsonResponse来返回json数据格式 但是发现返回中文的时候会乱码 from django.http import JsonResponse def test(re ...

随机推荐

  1. UNIX环境高级编程——信号说明列表

    $ kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGK ...

  2. 在golang中使用leveldb

    leveldb是一个很强悍的kv数据库,自然,我也希望能在go中使用. 如果有官方的go leveldb实现,那我会优先考虑,譬如这个,但是该库文档完全没有,并且在网上没发现有人用于实战环境,对其能否 ...

  3. 海量数据挖掘MMDS week7: 相似项的发现:面向高相似度的方法

    http://blog.csdn.net/pipisorry/article/details/49742907 海量数据挖掘Mining Massive Datasets(MMDs) -Jure Le ...

  4. JAVA代理机制

    JAVA代理相关主要知识如下: (1)利用代理可以在运行时创建一个实现了一组给定接口的新类.         这种功能只有在编译时无法确定需要实现哪个接口时才有必要使用. (2)假设有一个表示接口的C ...

  5. Chipmunk僵尸物理对象的出现和解决(四)

    接上一篇,我们看看五角星和反弹棒碰撞时的代码: -(BOOL)ccPhysicsCollisionBegin:(CCPhysicsCollisionPair *)pair star:(CCNode * ...

  6. [加密]在AES的CBC模式下 pydes vs crypto

    因为项目中有个非常重要的功能,并发量和访问量都很大,里面使用了pydes,总感觉它的性能不太好,从别人的对比来看,性能差距应该挺大,但还是自己测试下吧. 自己测试,心里更有数. 环境 macos 10 ...

  7. linux:你不知道的echo

    linux的echo命令功能是在显示器上显示一段文字.一般格式为: echo [ -n ] 字符串.参数n是指行尾不换行 echo会将输入的字符串送往标准输出.输出的字符串间以空白字符隔开, 并在最后 ...

  8. Android群英传笔记——第七章:Android动画机制和使用技巧

    Android群英传笔记--第七章:Android动画机制和使用技巧 想来,最 近忙的不可开交,都把看书给冷落了,还有好几本没有看完呢,速度得加快了 今天看了第七章,Android动画效果一直是人家中 ...

  9. Linux自动安装JDK的shell脚本

    Linux自动安装JDK的shell脚本 A:本脚本运行的机器,Linux B:待安装JDK的机器, Linux 首先在脚本运行的机器A上确定可以ssh无密码登录到待安装jdk的机器B上,然后就可以在 ...

  10. Android 实现高仿iOS桌面效果之可拖动的GridView(上)

    转载请标明出处:http://blog.csdn.net/sk719887916/article/details/40074663,作者:skay      最近项目中遇到一个LIstview的拖动效 ...