- 博客(3)
- 收藏
- 关注
原创 使用puppeteer 提示Error: Failed to launch the browser process解决办法
记一次在ubuntu18上使用puppeteer的经过通过远程的code-server使用puppeteer实现在nodejs上也能给网页截图时, 运行官网上的示例报错.如下:const puppeteer = require('puppeteer');(async () => { const browser = await puppeteer.launch() const page = await browser.newPage() await page.goto('https:
2021-03-08 17:18:41
24298
2
原创 ESLint couldn‘t find the config “standard“ to extend from 解决办法
记一次给code-server配置eslint的经过之前在code-server某个项目下配置eslint, 步骤如下:npm i eslint -geslint --init# 走完配置流程(选择使用standard配置)最后报错Oops! Something went wrong! :(ESLint: 7.13.0ESLint couldn't find the config "standard" to extend from. Please check that the name o
2021-03-08 17:13:06
9859
原创 MATLAB 实现单纯形法
对于形如的代码实现function [x,f,it]=linp(A,b,c) %输出x为最优解,f为最优值,it为迭代次数。b=b(:);%变为列向量it=0;[m,n]=size(A);x=zeros(1,n+length(b));A=[A eye(length(b)) b]; %化为标准型,A b合一块c=[c zeros(1,length(b)+1)]; %同上 while...
2018-11-21 11:42:41
32030
12
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人