- 将项目发布到github,编辑composer.json,然后生成一个release
- 到https://packagist.org/注册一个账号
- 点击Submit,提交github的url
- 登录github,选择settings/hooks,新增一个Packagist的hooks,填写用户名以及token
yii2-ueditor-widget
https://github.com/c4ys/yii2-ueditor-widget
在原来的基础上,增加了允许配置serverUrl以及uploadPath
时间管理学习心得
- 早起:音乐,阳光,洗澡
- 日记:晨间日记的奇迹
- 分级:二八法则,做重要不紧急的事情
- 收集:收集全面,工具
- 时间管理流程: 收集,排程,执行
- 先做重要的事
- 番茄工作法:专著的力量
- 时间管理工具:ominifocus
- 优秀是一种习惯
- 时间管理的基础是精力管理(专注)
- 如何过一天就是如何过一生
- 自律才能自由
- 从专注作一件小时开始
- 提高睡眠质量
- 习惯养成的动机和细节
- 睡眠质量检测软件(up)
- 饮食习惯(三个四,早餐好,中餐饱,晚餐少)
- 冥想
- 烂开始,好结果
时间管理资料
喜马拉雅FM:
- 《时间管理-易效能》
读书:
- 《高效能人士的七个习惯》
- 《麦肯锡方法》
- 《Get thins done 1》
- 《Get thins done 2》
- 《Get thins done 3》
- 《番茄工作法图解》
- 《晨间日记的奇迹》
- 《把时间当作朋友》
nodejs GUI — electron
Intro
With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub’s Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker.
open source
friends
chat powered by the web. http://moose-team.github.io/friends/
yeoman-app
A desktop app that scaffolds projects using Yeoman
Material-UI
A Set of React Components that Implement Google’s Material Design
laverna
Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote. https://laverna.cc/index.html
chronocube
Simple app to time your Rubik’s Cube solves
Fastlane
https://github.com/pontusab/fastlane/
virtualbox执行rcvboxdrv setup报Bad argument setup
替代解决方法是执行
sudo /usr/lib/virtualbox/vboxdrv.sh setup
亚马逊联盟API上手指南 – Amazon.cn Product Advertising API quick start
python音、视频处理
http://zulko.github.io/moviepy/index.html
MoviePy is a Python module for video editing, which can be used for basic operations (like cuts, concatenations, title insertions), video compositing (a.k.a. non-linear editing), video processing, or to create advanced effects. It can read and write the most common video formats, including GIF.
https://wiki.python.org/moin/AudioVideo
Audio and Video
Some Python-based projects related to audio and video. See also Screencasting.
Audio/Music Editors
Jokosher – a complete application for recording, editing, mixing and exporting audio
See also PythonInMusic for more projects.
Audio/Music Players
FUPlayer – a music player with management and CD ripping/burning capabilities
Listen – an audio player with music management features
Quod Libet – an audio player with scalable management of music collections (more than “a mere 10000 songs”)
TimPlayer – a PyGTK based music player using GStreamer (see http://creationix.com/OpenSource/TimPlayer/)
Libraries and Frameworks
GStreamer – an audio/video playback framework – has Python bindings
MLT – an open source multimedia framework, designed and developed for television broadcasting – has Python bindings
MoviePy – a Python library for script-based movie editing (cuts, concatenations, text insertion, non-linear editing)
See also Audio for details of Python audio libraries.
Media Centres
Elisa – an open source cross-platform media centre solution
Freevo – Linux multimedia jukebox
Streaming
Boxtream – a mobile and autonomous audio and video streaming and recording studio (uses GStreamer)
Flumotion – a streaming media server (uses GStreamer)
Video Editors
OpenShot – an open source video editor, written in Python and based on MLT and PyGtk
Pitivi – an open source video editor, written in Python and based on GStreamer and GTK+
python rest Web browsable API
Django REST framework is a powerful and flexible toolkit for building Web APIs.
Some reasons you might want to use REST framework:
The Web browsable API is a huge usability win for your developers.
Authentication policies including packages for OAuth1a and OAuth2.
Serialization that supports both ORM and non-ORM data sources.
Customizable all the way down – just use regular function-based views if you don’t need the more powerful features.
Extensive documentation, and great community support.
Used and trusted by large companies such as Mozilla and Eventbrite.
flask-restful-swagger is a wrapper for flask-restful which enables swagger support.
In essense, you just need to wrap the Api instance and add a few python decorators to get full swagger support.
Flask API is an implementation of the same web browsable APIs that Django REST framework provides.
It gives you properly content negotiated responses and smart request parsing.
It is currently a work in progress, but the fundamentals are in place and you can already start building kick-ass browsable Web APIs with it. If you want to start using Flask API right now go ahead and do so, but be sure to follow the release notes of new versions carefully.
wikimedia导出
最近做搜索引擎性能测试,需要用到一些数据作测试,刚好发现wikimedia提供了xml的导出,而python是最好导入工具。
https://dumps.wikimedia.org/zhwiki/