- 博客(6)
- 收藏
- 关注
原创 vue2+webpack构建项目
webpack.config.js webpack配置文件module.exports = { devtool: "sourcemap", //入口文件 entry: "./static/js/entry.js", output: { filename:"bundle.js" }, module: { loader
2016-11-22 01:29:07
1676
原创 在Finder里打开iTerm2并定位到当前目录
App Store下载Go2Shell.app按“command“键拖进FinderiTerm2中执行以下命令打开Preferencesopen -a Go2Shell --args config设置使用iTerm2作为终端
2016-11-21 21:22:12
4128
原创 laravel通过supervisor管理beanstalkd任务队列
mac安装supervisorbrew install supervisorTo have launchd start supervisor now and restart at login:brew services start supervisorOr, if you don't want/need a background service you can just r
2016-11-20 23:05:55
2912
原创 laravel5.3通过数据库创建任务队列
.env文件中设置队列驱动为数据库QUEUE_DRIVER=database创建队列用到的数据表php artisan queue:table执行migratephp artisan migrate进入tinkerphp artisan tinker批量创建30条用户数据factory(App\User::class, 30)->crea
2016-11-20 19:22:54
2248
原创 在mac上安装zsh-autosuggestions提示工具
Clone this repository somewhere on your machine. This guide will assume ~/.zsh/zsh-autosuggestions.git clone git://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestionsAdd the
2016-11-19 15:49:58
5744
1
原创 websql INSERT OR IGNORE INTO 数据有则忽略 无则创建
使用INSERT OR IGNORE INTO语句//创建表CREATE TABLE IF NOT EXISTS article(id INTEGER NOT NULL, title TEXT NOT NULL, content TEXT, modify_time DATETIME, UNIQUE (id));//插入数据INSERT OR IGNORE INTO articl
2016-11-18 17:29:03
1944
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人