vscode在css的json中,添加通用代码 "Print to console": { "prefix": "ty", "body": [ "margin: 0px;", "padding: 0px;", "overflow: hidden;", ], "description": "Log o ...
分类:
其他好文 时间:
2019-11-23 22:11:28
阅读次数:
70
npm config ls npm config set prefix "D:\Data\Node\npm" npm config set cache "D:\Data\Node\cache" 设置淘宝镜像 npm install -g cnpm --registry=https://registr ...
分类:
Web程序 时间:
2019-11-23 13:11:04
阅读次数:
62
springBoot多数据源配置 配置读数据源 @Component @ConfigurationProperties(prefix = "jdbc.read") @PropertySource("classpath:application.properties") public class Rea ...
分类:
编程语言 时间:
2019-11-22 19:46:07
阅读次数:
85
sudo apt update sudo apt -y upgrade (不见得要全部升级) sudo apt-get instal python3.4 sudo apt install -y python3-pip ...
分类:
编程语言 时间:
2019-11-22 13:52:05
阅读次数:
54
一、概述 利用SpringMVC做一个CRUD(增删改查)符合Rest风格的; C:Create:创建 R:Retrieve:查询 U:Update:更新 D:Delete:删除 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" ...
分类:
其他好文 时间:
2019-11-21 17:03:06
阅读次数:
67
前面介绍了wordpress自定义样式倒计时插件jcountdown ,插件的话不受主题更换的影响,如何需要用代码实现的话,下面给大家分享不用插件如何实现倒计时功能。 第一步新增一个js文件 countdown.js,代码如下: PHP function ShowCountDown(prefix,y ...
分类:
其他好文 时间:
2019-11-20 23:42:21
阅读次数:
118
首先将压缩包放到 /root目录下 cd /usr/local mkdir redis cp /root/redis/redis-3.0.0.tar.gz ./ 复制压缩包到当前目录下 make 进行编译 make install PREFIX='/usr/local/redis/6379' 进行安 ...
分类:
系统相关 时间:
2019-11-20 21:17:00
阅读次数:
90
strings包 /* 用来处理字符串的。 检索子串 格式化 比较大小 裁剪 炸碎 拼接 */ 1 package main 2 3 import ( 4 "fmt" 5 "strings" 6 ) 7 8 func main() { 9 10 //判断hello里有没有el字符 11 fmt.Pr ...
分类:
其他好文 时间:
2019-11-20 19:54:58
阅读次数:
95
Implement a trie with insert, search, and startsWith methods. Example: Trie trie = new Trie(); trie.insert("apple"); trie.search("apple"); // returns ...
分类:
其他好文 时间:
2019-11-19 13:53:15
阅读次数:
65
下载:wget http://download.redis.io/releases/redis-5.0.5.tar.gz 解压:tar -zxvf redis-5.0.5.tar.gz 进入redis目录 指定安装目录:make PREFIX=/usr/local/redis install 复制配 ...
分类:
系统相关 时间:
2019-11-19 11:50:54
阅读次数:
76