码迷,mamicode.com
首页 >  
搜索关键字:stat find    ( 40645个结果
vuex的持久化
为啥呀持久化呢,因为vuex是存在 内存里的 ,你的一个f5 vuex的数据就没有 所有要持久化,所谓的持久化,就是将vuex里面的数据放到 localstorage里面 所以要用到 插件 vuex-persistedstate@3.0.0 直接下载就可以了 使用的方法简单 import creat ...
分类:其他好文   时间:2021-04-14 12:04:42    阅读次数:0
常用监控命令
详见:https://www.cnblogs.com/liyuanhong/articles/14653178.html 1、监控cpu w top htop uptime glances ps 2、监控内存 free glances top htop 3、监控磁盘 df glances iotop ...
分类:其他好文   时间:2021-04-14 11:52:58    阅读次数:0
gyp ERR! stack Error : can't find python executable "python",you can set the PYTHON env variable.
vue中安装node-sassnpm install node-sass --save-dev1出现上面图中问题 解决办法:vscode里,打开终端,输入下面的内容先输入(在管理员模式下打开) npm install --global --production windows-build-tools ...
分类:编程语言   时间:2021-04-14 11:49:56    阅读次数:0
trino nodejs 驱动
因为trino 与presto还是有差异的,所以fork 原有presto clinet进行了调整,同时发布了一个npm包 参考修改的代码 lib/presto-client/headers.js var Headers = exports.Headers = function(){ }; Head ...
分类:Web程序   时间:2021-04-13 12:41:50    阅读次数:0
通用内置函数
# 通用内置函数 ## pow() ### 求次幂 a1 = pow(2,3) #等同与2**3 print(a1) 结果:8 ## ord() ### 字符转换位数字 print(ord("a")) #对照ascll码 结果:97 ## chr() ### 将数字转换成unicode格式的字符,可 ...
分类:其他好文   时间:2021-04-13 12:31:01    阅读次数:0
创建线程的方式三:实现Callable接口 --- JDK 5.0新增
/** * 创建线程的方式三:实现Callable接口。 JDK 5.0新增 * * * 如何理解实现Callable接口的方式创建多线程比实现Runnable接口创建多线程方式强大? * 1. call()可以有返回值的。 * 2. call()可以抛出异常,被外面的操作捕获,获取异常的信息 * ...
分类:编程语言   时间:2021-04-13 12:25:08    阅读次数:0
1.PreparedStatement VS Statement
两者都是Sun公司定义的接口,PreparedStatement属于Statement的子接口。二者类似信使,向数据库中执行sql语句; Statement存在拼串的操作,比较繁琐;存在SQL注入问题。 PreparedStatement可以实现Blob字段的操作,通过其预编译SQL的方式,使用?占 ...
分类:其他好文   时间:2021-04-13 12:14:09    阅读次数:0
【2w字干货】ArrayList与LinkedList的区别以及JDK11中的底层实现
1 概述 本文主要讲述了ArrayList与LinkedList的相同以及不同之处,以及两者的底层实现(环境OpenJDK 11.0.10)。 2 两者区别 在详细介绍两者的底层实现之前,先来简单看一下两者的异同。 2.1 相同点 两者都实现了List接口,都继承了AbstractList(Link ...
分类:其他好文   时间:2021-04-13 12:10:10    阅读次数:0
Leetcode** 162. Find Peak Element
Description: A peak element is an element that is strictly greater than its neighbors. Given an integer array nums, find a peak element, and return it ...
分类:其他好文   时间:2021-04-13 11:52:46    阅读次数:0
计应191西 第三组 康文龙
using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions; namespace ConsoleApplication1{ class Class1 { pr ...
分类:其他好文   时间:2021-04-13 11:44:10    阅读次数:0
40645条   上一页 1 ... 27 28 29 30 31 ... 4065 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!