onedrivecmd: Yet another Onedrive command-line client for Linux and OSX / Onedrive的命令行工具

https://github.com/cnbeining/onedrivecmd

 

又撸了一个东西玩。

MS经常给EDU邮箱,但是Linux下没有工具,也就是说有巨大备份需求的大户反而跑不了。

按megacmd,照猫画虎,撸一个这玩意。

MS的SDK挺难用的,文档挺语焉不详的。但是幸好没遇到什么很大的需要debug的东西。

老样子,欢迎PR。

AGPL,麻烦想偷的自己琢磨琢磨先。

Things to read in the free time

      Things to read in the free time无评论

Speech side:

Audio Segmenting:

http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0144610#sec008

Then run FFMpeg with -s and -t with subprocess

Google Speech API: https://cloud.google.com/speech/reference/rest/v1beta1/speech/syncrecognize

curl ‘https://speech.googleapis.com/v1beta1/speech:syncrecognize?key=AIzaSyBmmqjUsStJat65IP7KgKuH2cz6rRvlIr8’ -H ‘Referer: https://cloud.google.com/‘ -H ‘Origin: https://cloud.google.com‘ -H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.75 Safari/537.36’ -H ‘Content-Type: text/plain;charset=UTF-8’ –data-binary ‘{“config”:{“encoding”:”LINEAR16″,”sampleRate”:44100,”languageCode”:”en-US”,”maxAlternatives”:1},”audio”:{“content”:”BASE64_BINARY”}}’ –compressed

Less than 1 min inline, better if under 30s

 

Video Side:

Thumbnail: https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video

Vision API:

curl ‘https://vision.googleapis.com/v1/images:annotate?key=AIzaSyBzeghi0W7mGczap8SC8AmNudYOlwfU-KE’ -H ‘Referer: https://cloud.google.com/‘ -H ‘Origin: https://cloud.google.com‘ -H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.75 Safari/537.36’ -H ‘Content-Type: text/plain;charset=UTF-8’ –data-binary ‘{“requests”:[{“image”:{“content”:”BASE64″},”features”:[{“type”:”TYPE_UNSPECIFIED”,”maxResults”:50},{“type”:”TEXT_DETECTION”,”maxResults”:50}]}]}’ –compressed

 

CC:

Question: How to difference the zone of CC?

ASS: Put them there.

 

Style:

ASS: {\pos(369.675,206)} with response, 1s

 

Translation:

Toolkit+API+CAT

 

Transcode:

Release:

 

备忘:逼站个人中心的隐藏API

      备忘:逼站个人中心的隐藏API有2条评论

curl ‘http://space.bilibili.com/ajax/settings/setPrivacy’ -H ‘Cookie: f******’ -H ‘Origin: http://space.bilibili.com‘ -H ‘Accept-Encoding: gzip, deflate’ -H ‘Accept-Language: en-CA,en;q=0.8,en-US;q=0.6,zh-CN;q=0.4,zh;q=0.2’ -H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.48 Safari/537.36’ -H ‘Content-Type: application/x-www-form-urlencoded; charset=UTF-8’ -H ‘Accept: application/json, text/javascript, */*; q=0.01’ -H ‘Referer: http://space.bilibili.com/******/‘ -H ‘X-Requested-With: XMLHttpRequest’ -H ‘Connection: keep-alive’ -H ‘DNT: 1’ –data

‘looking_video=0&submited_video=1&fav_video=0&coins_video=0&bangumi=0&played_game=0&groups=0&tags=0’ –compressed

 

如果submited_video变成0 那么连过往投稿都不会出现。一键大小姐。

Acfun自动老司机:自动按正则回复私信

      Acfun自动老司机:自动按正则回复私信有5条评论

有人提议,我就写个。

老规矩,GPLv2,自己测试,风险自担。

 

https://gist.github.com/cnbeining/b77a4f5762a78fb3878c

 

 

普天同庆:乐视云,Acfun所有不二压全死了

      普天同庆:乐视云,Acfun所有不二压全死了有15条评论

我已经忘记我是不是写过很多关于这个问题的东西了,懒得查了。

总之:全死了。

原作者用了很长时间才杀死这东西。

感谢各位滥用和瞎BB的傻X 大爷 伸手党和喷子们。你们的存在让世界变得更好。

 

另:Acfun也全死了。