上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 46 下一页
摘要: 已知如下数组: var arr = [ [1, 2, 2], [3, 4, 5, 5], [6, 7, 8, 9, [11, 12, [12, 13, [14] ] ] ], 10]; 编写一个程序将数组扁平化去并除其中重复部分数据,最终得到一个升序且不重复的数组 arr.toString().sp 阅读全文
posted @ 2020-03-12 00:05 糖~豆豆 阅读(727) 评论(0) 推荐(0)
摘要: 为了巩固基础,我会通过实例来详细说明,让我们一起搞懂 typeof 和 instanceof。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=de 阅读全文
posted @ 2020-03-12 00:03 糖~豆豆 阅读(206) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-03-11 22:58 糖~豆豆 阅读(493) 评论(0) 推荐(0)
摘要: 修改tomcat的server.xml文件(解决含有中文的文件、图片的不能下载、显示的问题): 找到下列配置信息在xml文件中的位置,添加黑体字部分的参数即可(disableUploadTimeout="true" URIEncoding="UTF-8") 注意是URI 不是URL <Connect 阅读全文
posted @ 2020-03-10 00:06 糖~豆豆 阅读(1443) 评论(0) 推荐(0)
摘要: Mac 打开、编辑 .bash_profile 文件 一般在Mac上配置环境变量时经常要创建、编辑 .bash_profile文件。创建该文件时一般都会选择在当前用户目录下,即Mac下的.bash_profile 文件的路径是 /Users/YourMacUserName/.bash_profile 阅读全文
posted @ 2020-03-10 00:05 糖~豆豆 阅读(553) 评论(0) 推荐(0)
摘要: 设置成中文 command + shift + p 搜索 configure langure , 点击一下 ,然后选择ZH 设置其他东西 打开配置文件:vscode菜单: Code -> Preferences -> Settings(快捷键command + ,),打开配置文件。 左上角 code 阅读全文
posted @ 2020-03-10 00:04 糖~豆豆 阅读(2004) 评论(0) 推荐(0)
摘要: webpack 核心 entry: 入口 output: 输出 loader: 模块转换器,用于把模块原内容按照需求转换成新内容 插件(plugins): 扩展插件,在webpack构建流程中的特定时机注入扩展逻辑来改变构建结果或做你想要做的事情 新建一个文件夹 使用 npm init -y 进行初 阅读全文
posted @ 2020-03-10 00:03 糖~豆豆 阅读(696) 评论(0) 推荐(0)
摘要: 1.快速打开替换界面,在Find界面输入^\s*(?=\r?$)\n 2.Alt+R选择Use Regular Expression(Alt+R)即正则表达式模式: 3.选择Replace All(Ctrl+Alt+Enter)批量替换全部完成操作 阅读全文
posted @ 2020-03-06 00:03 糖~豆豆 阅读(1734) 评论(0) 推荐(0)
摘要: 纯手工打印调试~~~~ 九种用途~~~超赞的哦~~~~~ <!DOCTYPE html> <html lang="en"> <head> <title></title> <meta charset="UTF-8"> <meta name="viewport" content="width=devic 阅读全文
posted @ 2020-03-05 23:19 糖~豆豆 阅读(347) 评论(1) 推荐(0)
摘要: 商城网站商品sku选择的js简易实现 <!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>商品SKU选择DEMO</title> </head> <body> <style type="text/css"> 阅读全文
posted @ 2020-03-05 23:17 糖~豆豆 阅读(979) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 46 下一页
Live2D