码迷,mamicode.com
首页 >  
搜索关键字:CTI    ( 37597个结果
uni-app新建vue项目
1.打开windows 控制面板 2.输入 vue create -p dcloudio/uni-preset-vue test 3.开始弄npm run serve 如果新增加的页面中用了scss 需要手动安装 npm install -D sass-loader@7.x 如果用版本太高了 会导致 ...
分类:移动开发   时间:2021-02-17 14:05:32    阅读次数:0
k8s集群执行apply报错
The connection to the server 192.168.1.11:6443 was refused - did you specify the right host or port? 怀疑是不是kubelet挂了,检查 [root@master1 prometheus]# syst ...
分类:移动开发   时间:2021-02-16 12:26:05    阅读次数:0
Python中collections模块的namedtuple的使用
使用namedtuple方法可以代替手动生成一个类 # Why Python is Great: Namedtuples # Using namedtuple is way shorter than # defining a class manually: >>> from collections ...
分类:编程语言   时间:2021-02-16 12:02:48    阅读次数:0
[Bash] Read and Use JSON in Bash with jq
jq Bash, unfortunately, doesn’t ship with a command that can work with JSON natively. In this lesson, we’ll learn how to read and do basic queries on ...
分类:Web程序   时间:2021-02-15 12:41:34    阅读次数:0
LX(力先) COG 12864R1 LCD Sample Code
The testing code for LX COG 12864R1. You can search the product in T-A-O-B-A-O. #define CS 2 #define RST 3 #define DC 4 #define SCL 21 #define SDA 20 ...
分类:其他好文   时间:2021-02-15 12:05:36    阅读次数:0
Vue路由跳转时修改页面标题
1 在main.js中添加如下代码 import Vue from 'vue' import App from './App.vue' import router from './router' // 路由发生变化修改页面title router.beforeEach((to, from, next ...
分类:其他好文   时间:2021-02-15 12:02:51    阅读次数:0
Go语言标准库log介绍
Go语言标准库log介绍 无论是软件开发的调试阶段还是软件上线之后的运行阶段,日志一直都是非常重要的一个环节,我们也应该养成在程序中记录日志的好习惯。 log Go语言内置的log包实现了简单的日志服务。本文介绍了标准库log的基本使用。 使用Logger log包定义了Logger类型,该类型提供 ...
分类:编程语言   时间:2021-02-10 13:08:40    阅读次数:0
求一个数组内找出三个数乘积最大并求解,来源于vscode.
背景:在vscode中看到好多人提交了错误答案,至此刻没有看到对的答案。哈哈 解法: function computeProduct(arr) { let max = 0 let zarr = [],farr = [] if(arr.length 3){ max = arr[0]*arr[1]*ar ...
分类:编程语言   时间:2021-02-10 13:07:31    阅读次数:0
力扣350. 两个数组的交集 II
原题 1 class Solution: 2 def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]: 3 dic1,dic2 = {},{} 4 def helper(nums,dic): 5 for n in nu ...
分类:编程语言   时间:2021-02-10 12:50:25    阅读次数:0
多线程-java.util.concurrent-Semaphore
什么是Semaphore信号量: Semaphore(信号量)是用来控制同时访问特定资源的线程数量,它通过协调各个线程,以保证合理的使用公共资源。 正常的锁(synchronized锁或Lock锁)在任何时刻都只允许一个任务访问一项资源,而Semaphore允许n个任务访问这个资源。 API: Se ...
分类:编程语言   时间:2021-02-09 12:33:43    阅读次数:0
37597条   上一页 1 ... 29 30 31 32 33 ... 3760 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!