How many trailing zeros does a factorial have

Simple question: How many trailing zero does 10000! have? Simple to solve it using python import math factorial_answer = str(math.factorial(10000)) print(len(factorial_answer) – len(factorial_answer.rstrip('0'))) Python think about 100ms and tell me the answer is 2499. This question is name as “Trailing zeros” … Continue reading

Install Keras with CUDA on Windows 10 PC

Objective The objective of this post is guide you use Keras with CUDA on your Windows 10 PC. Install Dependencies Hardware: A graphic card from NVIDIA that support CUDA, of course. Driver: Download and install the latest driver from NVIDIA … Continue reading

当和父母辩论并且赢了的时候,就觉得父母老了。
— 后来才知道那是自己中二

PotPlayer Mini Skin Fixed for version 1.6.59347

potplayer_mini

After an update of PotPlayer, the older mini skin seems stopped working. Only a windows style border w/ title bar are shown with no control components nor progress bar. But modified mini skin on DA still working. So I wonder … Continue reading

正则表达式零宽断言

正则表达式里”零宽断言”这个词可能有很多不同的说法, 比如环视, 正向匹配, 反向匹配, 零宽度负预测先行断言…

写了个抓imgChili大图的python脚本

python_imgchili

Directly download full size pictures on imgChili certain albums.

自制平板支架

P51107-142306

材料: 长尾票夹*n, 捆扎条*2 少废话多发图

可控梦境并不是都能随便控制
要打败大魔王, 必须要有合适的方法, 也会有无论怎么尝试也找不到令自己信服方法时候
而因为时间原因很快就必须起床了的时候, 就只好瞎编一个方法骗过自己, 但是经常会很不甘心, 宁愿直接结束掉也不要用瞎编的
然而起床以后还是不甘心啊…

迅雷盗链的”大”数据分析

2015-10-18_21-40-08

起 上周为了传送<某热门剧集>到欧洲, 将两集当天的<某热门剧集>上传到Linode的http服务器上, 并将链接地址告知了迅雷用户. 相当于使用服务器中转文件.

酷比魔方iwork8折腾记

IMG_20150521

草 没有智能移动设备, 躺床或者出街没得用 没有安卓, 支付宝钱包, 微信活动等等没法用 Intel&微软双重补贴 看别人的评价尚可