
申明:仅供测试,仅供娱乐
代码行数: 29 行

https://github.com/gaojiuli/greenbox
仅供娱乐

     1   ansheng      2017-03-28 17:53:21 +08:00  刚测了一下,并没有成功   |  
     2   prasanta   OP @ansheng 如果没有成功,你可以直接把里面的 python 脚本到自己的任何一个项目,然后运行它,然后 push 到自己的项目   |  
     3   prasanta   OP 我去删除项目了  ## 代码如下 ```python import datetime import os from random import randint now = datetime.datetime.now() start = now.replace(year=2016) def change_day(): return datetime.timedelta(days=1, secOnds=randint(0, 60), minutes=randint(0, 60), hours=randint(0, 24)) def change_time(): return datetime.timedelta(secOnds=randint(0, 60), minutes=randint(0, 60)) commit_date = (start + change_day()) times = randint(5, 30) while commit_date < now: commit_date = commit_date + change_day() for i in range(times): f = open('data.txt', 'a+') commit_date = commit_date + change_time() f.writelines(commit_date.isoformat() + '\n') f.close() os.system('git add .') os.system('git commit --date={time} -m "Update {time}"'.format(time=commit_date.isoformat())) ```  |  
     6   to2false      2017-03-28 18:08:11 +08:00  你把项目删了, f = open('data.txt', 'a+') 怎么破   |  
     10   yoa1q7y      2017-03-28 18:18:19 +08:00  能不能不要这样...   |  
     12   martint028      2017-03-28 18:21:38 +08:00  很爽啊,楼主自学 python ?   |  
     13   wolfan      2017-03-28 18:39:49 +08:00  没事还是多陪陪媳妇不好?不要那啥也绿了, python 可刷不红啊。   |  
     17   prasanta   OP @martint028 自学的啊   |  
     20   zhidian      2017-03-28 18:51:35 +08:00   还可以把 git 的邮箱名改成 Linus Torvalds 等各路大神的,再 commit ,然后发现你的 repo 真是众星云集啊!不过,这并没有什么卵用。   |  
     21   xiubin      2017-03-28 19:44:03 +08:00    |  
     23   licraft      2017-03-29 09:45:22 +08:00  所以,自动填满格子意义何在?   |  
     25   zoffy      2017-03-29 10:26:12 +08:00  骗人骗己   |  
     26   lollitop      2017-03-29 11:23:54 +08:00  好无趣的玩意。。   |  
     27   nyanyh      2017-03-29 12:13:30 +08:00  全刷绿,再到淘宝买 GitHub 刷 star 服务,短时间内成为开源大神   |  
     28   CareiOS      2017-03-29 13:24:53 +08:00  果然无聊之极。   |  
     29   cocoakekeyu      2017-04-04 14:56:13 +08:00  请问楼主单位还招人吗   |  
     30   changdaye      2017-08-28 13:39:10 +08:00  为什么没有成功??   |