
其他语言、技术和工具
zollty
这个作者很懒,什么都没留下…
展开
-
docker导入镜像报错:docker symlink usr/bin /bin: operation not permitted
docker导入镜像报错:docker symlink usr/bin /bin: operation not permitted修改Docker存储地址后,如上报错。deamon.json配置如下{ "data-root": "/tmp/usb/sda/sda1/docker"}我这边的**原因是:挂载的磁盘格式(exfat/NTFS等)不兼容overlay2**原创 2021-12-30 22:12:37 · 605 阅读 · 0 评论 -
Idea下运行找不到class、找不到jar包(provided test scope)
首先应弄懂Maven的各种Scope,参见《Maven的5种scope》一文。Eclipse和Idea两种IDE对于maven scope的运用不一样Eclipse它会把当前IDE下运行的代码,都当做test环境,所以当前IDE下直接运行程序,能够使用所有scope的jar包(包括test、system和provided)。但是Idea下就不行,idea下只有compile和runtime两种scope的jar才能在main/src下直接使用(在test/src下使...原创 2020-12-21 16:04:16 · 1674 阅读 · 1 评论 -
vscode CRLF自动转LF
解决方法:1、新建 .editorconfig ,放在项目根路径下,我的配置如下; #vscode请安装插件:CTRL+SHIFT+X搜索EditorConfig并安装 #http://editorconfig.org root=true [*] charset=utf-8 indent_style=space indent_size=2 end_of_line=lf ins...原创 2020-12-17 14:40:45 · 12096 阅读 · 1 评论 -
浅论各种编程语言
本人使用过的编程语言,细数包括5个大类,总计超过28种(参见我的技能栈),有些代码写得多,有些写得少,写得最多的是:Java、JS、HTML、CSS、……,其次是C++、C、PHP、C#、Lua、SQL、……,写得少的是Python、VB、Jade、MatLab、……。下面说一点心得体会(原创、纯手打),供学习、比较、参考。首先,看基础语法。好的基础语法,应该是简单直接的、易于记忆和书写的。“功能强”跟“简单易用”,是两个矛盾面——在基础语法中,加入常用增强功能,确实能方便...原创 2020-10-09 11:01:43 · 399 阅读 · 0 评论 -
自定义vscode插件路径及离线安装VSIX说明
插件安装位置:Windows:%USERPROFILE%\.vscode\extensions其他:~/.vscode/extensions永久设置位置:找到vs code的快捷方式地址,例如我的是:C:\Users\MY-PC\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Visual Studio Code然后右键查看“属性”,修改“目标”,添加--extensions-dir,如下: "D:\C...原创 2020-09-18 17:48:34 · 4149 阅读 · 1 评论 -
Citrix Receiver for Linux安装和cert证书添加解决SSL错误
Citrix Receiver for Linux安装根据官方的建议,使用 Citrix Workspace app 代替 Citrix Receiver ,前者完全兼容后者。安装官方教程:(下载linux安装包,比如xxx.deb,直接安装即可)https://docs.citrix.com/zh-cn/receiver/linux/current-release/install/customize.html下载地址:https://www.citrix.com/downloads/...原创 2020-09-08 11:04:49 · 5318 阅读 · 2 评论 -
关于SSH协议最完整的讲解
首先了解几个概念(部分未做翻译,请自行翻译)SSH protocol(SSH协议) The SSH protocol (Secure Shell) is a method for secureremote login from one computer to another.It provides several alternative options for strong authentication, andit protects the communications secu...原创 2020-08-29 16:20:53 · 970 阅读 · 0 评论 -
Docker redis cluster集群的搭建
首先选择redis版本,目前最新是5.0,5.0版本集群的创建工具是c语言写的,直接用redis-cli命令,不依赖于ruby,如果是4.0版本,创建集群需要用到ruby脚本:redis-trib.rb一、首先获取redis docker官方镜像$ docker pull redis:5.0或者$ docker pull redis:4.0(大概25Mb)4.0版本还需要获取 ruby 镜像备用$ docker pull ruby(大概200Mb)二、...原创 2020-08-29 16:00:15 · 518 阅读 · 0 评论 -
Git报错git error unable to create file Invalid argument
解决方案,参见:https://stackoverflow.com/questions/26097568/git-pull-error-unable-to-create-file-invalid-argument下面 稍微解释一下:I ran into the same problem, but wasn't willing to rename or delete these files. So here's a workaround in case you can live witho...原创 2020-08-26 11:40:44 · 5844 阅读 · 0 评论 -
vagrant VBoxManage.exe: error: Could not rename the directory the settings file (VERR_ALREADY_EXISTS
vagrant up报错如下:VirtualBox error:VBoxManage.exe: error: Could not rename the directory 'D:\C\devsoft\VirtualBoxVMs\barge_docker_vm_1547606280951_49241' to 'D:\C\devsoft\VirtualBoxVMs\barge_docker_v...原创 2019-01-16 10:46:07 · 4940 阅读 · 0 评论 -
使用 PowerShell 发起 HTTP REST请求
1、方法一,使用PowerShell 自带的命令 Invoke-WebRequest例如:Invoke-WebRequest http://localhost:8088/login -Method POST -ContentType "application/json" -Body '{"account":"ElasticSearch","password":"123456"}'详细手...原创 2018-12-21 16:53:15 · 13706 阅读 · 0 评论 -
ubuntu linux eclipse 网络代理 无法联网问题
在代理上网的模式下面,给eclipse设置了代理,native manual 几种模式都不行,不设置代理也不行。1、问题: 在设置了代理模式下面,maven或者 marketplace都连接不上外网。查看报错信息(在eclipse的控制台 Error Log栏)为:………………System property socksProxyHost is not set but should原创 2015-05-21 18:04:17 · 3254 阅读 · 0 评论 -
AIX(IBM小型机)学习笔记
手工分配PVIDchdev -l hdisk3 -p lspv disk3LTG逻辑通讯组卷组mkvg -y vgname -s 8M 大小/1016 hdiskname,hdisk1.1VG名称加入的物理卷物理分区的大小2查看VG信息lsvg -l/o(激活的卷组)最多256个LVlsvg -p vgname查看VG的PV数量l原创 2013-08-24 17:04:40 · 1635 阅读 · 0 评论 -
Sonar代码质量管理平台的安装和使用
1、下在zip文件,直接解压即可。然后修改配置文件Edit /conf/sonar.properties参见:http://docs.sonarqube.org/display/SONAR/Installing+the+Server#InstallingtheServer-installingWebServerInstallingtheWebServ原创 2016-12-28 22:25:42 · 912 阅读 · 0 评论 -
持续集成平台Jenkins的搭建和使用
Jenkins配置丢弃旧的构建 -> 保持构建的最大个数 :10MAVEN;Root POM :pom.xmlGoals and options:clean install sonar:sonar -U -DskipTests=trueGIT:参数化构建过程:方法1:Dynamic Ch原创 2016-12-28 22:32:36 · 1316 阅读 · 0 评论 -
我的正则表达式笔记
-------------匹配【任意字符,任意长度】替换: name: new FormEntity('规则名称','ruleName','',''), detail: new FormEntity('规则描述','ruleDec','',''),成: name: '', detail: '',正则表达式为: new FormEn原创 2016-12-30 14:22:42 · 287 阅读 · 0 评论 -
我的Eclipse使用笔记
新安装的Eclipse,首先得做几个事情:1. 设置默认编码,用UTF-82. 根据个人喜好,设置默认字 体3. 设置默认的JDK4. 设置Maven5. 设置项目统一的Code Formatter(代码格式)6. 设置统一的Code Template(代码模板)7. 设置Tomcat1、修改字体无反应直接修改工作空间下的配置文件:原创 2016-12-30 14:26:03 · 779 阅读 · 0 评论 -
我的GIT使用笔记
参考资料:Pro Git book:http://git-scm.com/book/zh/v1 一、常用命令 提交所有代码git add --allgit commit -m 'some messages'git push origin master 同步仓库到另一个分支(比如gh-pages分支):git checkout gh-pages // go...原创 2016-12-30 14:27:52 · 352 阅读 · 0 评论 -
Eclipse 修改注释的 date time 日期时间格式,即${date}变量格式
Eclipse 修改注释的 date time 日期时间格式,即${date}变量格式找到eclipse安装目录下面的plugins目录,搜索 org.eclipse.text ,找到一个jar包,例如我找到的jar包为:org.eclipse.text_3.5.300.v20130515-1451.jar然后打开它,找到这个类: org.eclipse.jface.t原创 2015-06-11 17:09:43 · 15837 阅读 · 6 评论 -
Eclipse MyEclipse 使用 复制粘贴 卡、缓慢的解决办法
最近在MyEclipse中编辑代码时,使用快捷键进行复制粘贴,经常会导致编辑器短暂的停顿,光标不跟随,居然反应不过来,几近假死。想来想去应该是编辑上的什么配置或者是IDE的什么功能导致,于是进入Preferences查找edit功能,进行一个个的测试,最后发现原来是代码的超链功能导致。 进入方法:Window -> Preferences -> General -> Editors -转载 2015-03-03 18:12:10 · 3218 阅读 · 0 评论 -
我的Docker学习笔记
Docker学习资料:官方:http://docs.docker.com/userguide/中文:http://yeasy.gitbooks.io/docker_practice/content/introduction/what.html一、Ubuntu下安装docker安装教程:http://docs.docker.com/installa原创 2015-09-13 21:05:54 · 962 阅读 · 1 评论