A1: Thailand has a certain amount of of the most important top specialized facilities Asia. Specialist tourism over Asia is pioneered within Thailand utilizing Western medical tourists in need of gender accurate procedures that were always then at your disposal at your own house. This enjoys developed directly onto a high respected internal industry the fact receives better than just one parti...
2019/11/15 浏览数(17) 暂无评论
配置内容 单引号、末尾分号、关闭了“Rplace ..⏎ with”(有谁知道如何开启并统一格式化工具吗)。 VSCode 配置 "editor.rulers": [80, 120], // 缩进栏线 "editor.tabSize": 2, "editor.insertSpaces": true, "editor.formatOnPaste": true, "editor.formatOnSave": false, "editor.renderWhitespace": "all", // 显示空格 "emmet.triggerE...
2019/10/31 浏览数(31) 暂无评论
重置 vagrant box vagrant provision vagrant reload --provision 配置文件 Homestead.yaml - 主要配置信息文件,包含共享文件夹、站点、数据库等 after.sh - 盒子重置后(provision)调用的 shell aliases - 盒子重置后(provision)添加至虚拟机的 ~/.bash_aliases after.sh #!/bin/sh # If you would like to do some extra provisioning you may # add any commands you wish to this file a...
2019/09/24 浏览数(43) 暂无评论
中文 faker // config\app.php 'faker_locale'=>'zh_CN', 批量赋值不使用 fillable 属性 DB::table('articles')->truncate(); Article::unguard(); factory(Article::class, 10)->create(); Article::reguard(); 软删除 # Trait // app/User.php use Illuminate\Database\Eloquent\SoftDeletes; class User extends Authenticatable { use SoftDeletes; } # Migration $table->softDele...
2019/09/24 浏览数(48) 暂无评论
class LoginController extends Controller { protected function validateLogin(\App\Http\Requests $request) { $request->validate([ 'username' => 'required|string', 'password' => 'required|string', 'captcha' => ['required', 'captcha'], ], [ 'captcha.required' => '验证码不能为空', 'captcha....
2019/08/17 浏览数(80) 暂无评论
// vue.config.js / webpack.config.js / config/index.js module.exports = { devServer: { proxy: { // 所有 websocket 接口地址加 /websocket 前缀,例:ws://localhost:8080/websocket/dashboard -> wss://notice.app.upall.cn/dashboard '/websocket': { target: 'wss://notice.app.upall.cn', ws: true, secure: false, logLevel: 'debug', pa...
2019/08/8 浏览数(72) 暂无评论
设置阿里云镜像源 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ # 恢复到默认的官方源 # composer config -g --unset repos.packagist composer 切换源 composer global require slince/composer-registry-manager composer repo:ls composer repo:use huawei 替换包地址中的 git:// 为 https:// composer config --global github-protocols https # git config --global ...
2019/07/30 浏览数(90) 暂无评论
安装 brew install nginx php mysql # 安装的版本为 nginx-1.17.1、php-7.3.6、mysql-8.0.16 mysql_secure_installation # 初始化 mysql # “brew link php”时会报“/usr/local/sbin is not writable.”,网上办法是改权限,建议不要听、直接无视。 # Mac 自带有 php,需要修改环境变量优先使用 brew 安装的: export PATH=/usr/local/Cellar/php/7.3.6_1/bin:$PATH 手动启动 nginx & php-fpm & mysql.serv...
2019/07/16 浏览数(134) 暂无评论
概要 单按 Fn 是 Escape 组合时 Fn 还是 Fn 单按 CapsLock 还是 CapsLock, 组合时 CapsLock + g 等于 Ctrl + Option + Command + g 配合 Hammerspoon 可以实现 CapsLock + g 打开指定 App ---- CapsLock -> Hyper Fn -> Escape Fn + h -> 左 Fn + j -> 下 Fn + k -> 上 Fn + l -> 右 Fn + u -> page up Fn + d -> page down 用法 把 fn-capslock-enhancement.json 放到 ~/.config/ka...
2019/07/4 浏览数(119) 暂无评论
介绍 cloc(Count Lines of Code),是一个统计项目中多种编程语言中各自的空行、注释行和代码行的工具。 预览 上图可以看出当前目录中除去 node_modules 后使用的文类类型有JS、PHP、CSS、HTML、JSON、MarkDown,而且能看到每种类型中的文件数、空白行数、注释行数、代码行数。 详细用法可以看这里:github.com/AlDanial/cloc 安装 sudo apt-get install cloc — 完 —
2019/06/22 浏览数(97) 暂无评论
插件 // ctrl+p ext install MS-CEINTL.vscode-language-pack-zh-hans ext install ms-vscode.sublime-keybindings ext install lixquid.calculator 快捷键 // keybindings.json // Place your key bindings in this file to override the defaultsauto[] [ { "key": "alt+w", // 用标签包裹选中的文字 "command": "editor.emmet.action.wrapWithAbbreviation"...
2019/03/12 浏览数(428) 暂无评论
点击返回顶部
  1. 留言
  2. 联系方式