上一页 1 2 3 4 5 6 7 8 ··· 13 下一页

2017年9月21日

java求两个圆相交坐标

摘要: 最近由于项目需要,根据两个圆函数求出相交的坐标。实现代码如下,另感谢两圆求交点算法实现Java代码,虽然他所贡献的代码中存在问题,但仍有借鉴意义。 1.两个圆相交的数学求法 在中学数学中我们知道,一个圆可以作如下描述,以x1,y1为圆心,r为半径的一个圆: 那么假设现在有两个圆C1与C2,其中C1与 阅读全文

posted @ 2017-09-21 13:37 蚂蚁flow 阅读(1895) 评论(1) 推荐(0) 编辑

判别式

摘要: 根的判别式是判断方程实根个数的公式,在解题时应用十分广泛,涉及到解系数的取值范围、判断方程根的个数及分布情况等。一元二次方程ax^2+bx+c=0(a≠0)的根的判别式是b^2-4ac,用“△”表示(读做“delta”)。 任意一个一元二次方程 均可配成 ,因为a≠0,由平方根的意义可知, 的符号可 阅读全文

posted @ 2017-09-21 13:32 蚂蚁flow 阅读(896) 评论(0) 推荐(0) 编辑

2017年9月16日

This inspection highlights chained comparisons that can be simplified.

摘要: https://stackoverflow.com/questions/26502775/pycharm-simplify-chained-comparison In Python you can "chain" comparison operations which just means they 阅读全文

posted @ 2017-09-16 11:03 蚂蚁flow 阅读(2220) 评论(0) 推荐(0) 编辑

2017年9月12日

What is the maximum length of a URL in different browsers?

摘要: https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers Short answer - de facto limit of 2000 characters 阅读全文

posted @ 2017-09-12 13:41 蚂蚁flow 阅读(303) 评论(0) 推荐(0) 编辑

nginx调整large_client_header_buffers

摘要: https://nginx.org/en/docs/http/ngx_http_core_module.html#large_client_header_buffers Syntax: large_client_header_buffers number size; Default: large_c 阅读全文

posted @ 2017-09-12 13:33 蚂蚁flow 阅读(10457) 评论(0) 推荐(0) 编辑

uWSGI调整buffer-size

摘要: https://uwsgi-docs.readthedocs.io/en/latest/Options.html#buffer-size buffer-size argument: required_argument shortcut: -b parser: uwsgi_opt_set_64bit 阅读全文

posted @ 2017-09-12 13:27 蚂蚁flow 阅读(905) 评论(0) 推荐(0) 编辑

2017年9月11日

Python3中bytes和HexStr之间的转换

摘要: 1 Python3中bytes和HexStr之间的转换 ByteToHex的转换 def ByteToHex( bins ): """ Convert a byte string to it's hex string representation e.g. for output. """ retur 阅读全文

posted @ 2017-09-11 18:55 蚂蚁flow 阅读(3729) 评论(0) 推荐(0) 编辑

2017年8月31日

关于visual studio和vc版本之间的对应关系

摘要: VC6 VC7: Visual studio.net VC7.1: Visual studio 2003 VC8: Visual studio 2005 VC9: Visual studio 2008 VC10: Visual studio 2010 VC11: Visual studio 2012 阅读全文

posted @ 2017-08-31 10:39 蚂蚁flow 阅读(531) 评论(0) 推荐(0) 编辑

2017年8月30日

VCRedist_x86.exe Vcredist_x64.exe

摘要: Update for Visual C++ 2013 and Visual C++ Redistributable Package https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual 阅读全文

posted @ 2017-08-30 18:54 蚂蚁flow 阅读(741) 评论(0) 推荐(0) 编辑

python3转义编码

摘要: s = 'dy电影' print(s) # dy电影 print(type(s)) # print(s.encode('utf-8')) # b'dy\xe7\x94\xb5\xe5\xbd\xb1' print(s.encode('unicode_escape')) # b'dy\\u7535\\u5f71' print(s.encode('unicode_escape').de... 阅读全文

posted @ 2017-08-30 14:33 蚂蚁flow 阅读(221) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 13 下一页

导航