Git Product home page Git Product logo

wenlu's Introduction

遇到的一些配置

网站维护

php artisan down 进入维护模式
php artisan down --message="Upgrading Database" --retry=60
php artisan up 退出维护模式

配置设置

php artisan config:cache

###创建定时任务

先在/var/www/app/Console/Kernel.php schedule函数下 新建立一个任务
$schedule->command('backup:run --only-db')->everyMinute();
然后在终端下输入
echo '* * * * * php /var/www/artisan schedule:run >> /dev/null 2>&1' >cron.txt
crontab cron.txt

编辑掉定时任务

编辑/var/spool/cron/crontabs 可以删除对应的任务

mapbox API文档

https://www.mapbox.com/mapbox-gl-js/example/set-popup/

linux 下批量下载文件以及文件夹

wget -r -p -k -np images.txt

wenlu's People

Contributors

yangqianlei360 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.