用 Vue 造了一个 jsFiddle 的轮子

Github: https://github.com/chairuosen/demo-runner Demo: http://demo.ruosen.io/demo-runner/ jsFiddle 每次提交都需要 post 请求回来才能看结果,比较慢用起来不爽,国内同类产品又没有 emmet 。 所以造了个轮子,纯前端跑结果,零延迟,像用本地编辑器一样 Ctrl+S 看预览结果。并且异步保存到后端,url自动变化,可以分享给他人。 另外,里面自己封装了一个 c9 的 ace editor 的 Vue 组件 https://github.com/chairuosen/vue-ace-editor ... read more

Desktop Simulation 一个基于Vue的Web桌面

Github:https://github.com/chairuosen/desktop-simulation Demo: http://demo.ruosen.io/desktop-simulation/ ... read more

Simple-Markdown-Site 用Markdown文件制作简单网站

Github: https://github.com/chairuosen/simple-markdown-site 可以用来生成文档wiki,简历,或者用户协议等纯文字排版的页面 Simple Markdown Site Build a site with some markdown file. Installation git clone https://github.com/chairuosen/simple-markdown-site cd simple-markdown-site npm install How to use? Here is your markdown file markdown ├── index.md └── sub └── sub-dir-file.md then run npm run build, ... read more

解决PhpStorm/WebStorm中node5.0导致的debug不能打断点的问题

在 /Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions 文件中加一行 -Dnodejs.debugger.use.jb.support=false ... read more

Mac下蓝牙耳机声音卡顿的解决办法

方法一 defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80 defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 48 defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 40 defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 58 defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 58 defaults write ... read more