- 博客(27)
- 资源 (1)
- 收藏
- 关注
原创 laravel oauth 遇见的问题汇总
1、laravel 报 Target class [xxx] does not exist解决方案app->Providers->RouteServiceProvider中public const HOME = '/home';/** * The controller namespace for the application. * * When present, controller route declarations will automatically be prefixed
2020-11-20 20:36:49
294
原创 navicat 连不到mysql8,出现client does not support authentication...解决方法
1、alter user 'root'@'localhost' identified with mysql_native_password by '******'; 2、flush privileges;
2020-11-20 09:46:39
252
原创 阿里云 Composer 全量镜像
阿里云 Composer 全量镜像.composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
2020-09-24 16:44:37
102
原创 Emscripten download and install
在某位置建立文件夹如emscd到ems文件夹#Get the emsdk repogit clone https://github.com/emscripten-core/emsdk.git#Enter that directorycd emsdk# Fetch the latest version of the emsdk (not needed the first time you clone)# emsdk文件夹里git pullemsdk install latestemsd
2020-08-24 15:53:06
163
原创 laravel与Layui-table结合
laravel中paginate(number)是具有分页功能的函数Layui中 table.render({ elem: '#demo' ,height: 312 ,url: '/demo/table/user/' //数据接口 ,limit:4 ,page: true //开启分页 ,cols: [[ //表头 {field: 'id', title: 'ID', width:80, sort: true, fixed: 'left'}
2020-07-19 11:33:53
894
原创 VScode设置背景
"background.useDefault": false, "background.customImages": [ "file:///D:/laragon/bin/cmder/1.jpg" ], "background.style": { "content": "''", "pointer-events": "none", "position": "absolute", "z-index": "99
2020-06-12 14:22:36
510
原创 laravel相关安装包
1:composer config -g repo.packagist composer https://mirrors.aliyun. com/composer/2:composer require laracasts/flash
2020-06-11 23:49:10
170
原创 Laravel中Request用法
//以数组形式获取所有输入数据$request()->all();//input从整个请求中获取输入数据(包括查询字符串)$request()->input(‘name’);//设置默认值$request->input(‘name’,‘10’)//query 只从查询字符串中获取输入数据$request()->query(‘name’);$request()->query(‘name’, ‘saly’);// 获取请求方法$request::method()
2020-06-05 22:41:55
3078
原创 Revit二次开发-5
Line有两个静态方法public static Line CreateBound(XYZ startPoint,XYZ endPoint)// 用起、始点创建XYZ startPoint = new XYZ(0, 0, 0);XYZ endPoint = new XYZ(10, 10, 10);Line line = Line.CreateBound(startPoint, end...
2020-06-05 22:04:53
326
原创 R语言的t检验(双边)
xa <- c(134, 146, 104, 119, 124, 161, 107, 83, 113, 129, 97, 123)xb <- c(70, 118, 101, 85, 107, 132, 94)#方法1 先判断方差的齐次性var.test(xa,xb,alternative = "two.sided")F test to compare two variancesdata: xa and xbF = 1.0755, num df = 11, denom df =
2020-05-21 16:21:35
6681
原创 laravel路由相关问题
1、命名空间可以在分组属性数组中使用 namespace 来指定群组中所有控制器的公共命名空间:Route::group(['namespace' => 'Admin'], function(){ // 控制器在 "App\Http\Controllers\Admin" 命名空间下 Route::group(['namespace' => 'User'], functio...
2020-04-23 22:30:15
215
原创 Revit二次开发-4
输出外墙IDUIDocument uidoc = revit.Application.ActiveUIDocument;Document doc = revit.Application.ActiveUIDocument.Document;FilteredElementCollector filteredElem = new FilteredElementCollector(doc);Ele...
2020-04-04 18:51:09
153
原创 Revit二次开发-3
选取元素{ try { UIDocument uidoc = revit.Application.ActiveUIDocument; Document doc = revit.Application.ActiveUIDocument.Document; Reference pickedElemRef = uidoc.Selectio...
2020-04-04 17:43:15
180
原创 黑白背景CSS设置
黑白色CSS代码html{ -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); filter: gray; }
2020-04-04 16:06:43
530
原创 Revit二次开发-2
Application的作用1、获取Revit的版本及产品信息2、共享参数管理UIApplication的作用1、UI拓展2、插件管理Document的作用1、获取位置和场地信息2、管理视图3、获取元素(ElementId、Refenrence、UniqueId)4、文档相关操作(打开、关闭、文件名、路径等)UIDocument的作用1、视图管理2、显示元素3、获取元素...
2020-04-03 22:28:28
360
原创 Revit二次开发-1
引用RevitAPI.dll和RevitAPIUI.dll1、Revit外部命令namespace HelloRevit{ /*添加外部命令*/ [Autodesk.Revit.Attributes.Transaction( Autodesk.Revit.Attributes.TransactionMode.Manual)] public class ...
2020-04-02 21:19:25
231
原创 Firefox设置
Firefox,火狐浏览器中,默认情况下,点击一个链接,都是在一个新标签页里打开的,如果你想让其在新窗口里打开,该怎么设置?在火狐地址栏中输入about:config->browser.tabs.loadBookmarksInTabs,将false,改为true...
2020-04-01 14:35:05
905
1
原创 VScode设置
1、Font:Monaco,Consolas, 'Courier New', monospace2、VSCode打开多个项目文件夹:文件->首选项->设置->窗口->新建窗口->Open Folders In New Window->on 这里设置为on即可。3、插件:Auto Close TagBeautifyC#Chinese language...
2020-03-30 11:31:58
370
原创 npm国内淘宝镜像方法
命令npm config set registry https://registry.npm.taobao.org验证命令npm config get registry如果返回https://registry.npm.taobao.org,说明镜像配置成功。
2020-03-21 21:02:36
297
1
原创 PHP-passthru
passthru—执行外部程序并且显示原始输出passthru(string$command[,int&$return_var] ) :void同exec()函数类似,passthru()函数 也是用来执行外部命令(command)的。 当所执行的 Unix 命令输出二进制数据, 并且需要直接传送到浏览器的时候, 需要用此函数来替代exec()或s...
2020-03-21 20:59:19
2191
原创 2020-03-05
/** * Created by Administrator on 2017/1/10 0010. */var dom = document.getElementById("c-map");var myChart = echarts.init(dom);var app = {};option = null;var geoCoordMap = { '上海': [121.4648...
2020-03-05 17:27:00
143
原创 Laravel跨域问题
<?phpnamespace App\Http\Middleware;use Closure;class EnableCrossRequestMiddleware{ /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @pa...
2020-03-05 17:01:27
1037
原创 Artisn 命令
Command “make” is not definDid you mean one of these?make:channel make:command make:controller make:event make:exception make:factory ...
2020-03-05 16:57:29
739
原创 composer设置
1、使用阿里云开发社区 https://developer.aliyun.com/composer2、安装composer require guzzlehttp/guzzle
2020-03-05 16:54:57
265
浏览器驱动chromedriver压缩包
2023-10-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人