十月飞翔 十月飞翔
3年前
linux watch 命令
你可以拿他来监测你想要的一切命令的结果变化,比如tail一个log文件,ls监测某个文件的大小变化,看你的想象力了。Linux下watch命令的不同在Linux下,watch是周期性的执行下个程序,并全屏显示执行结果。d,differencescumulative高亮显示变动n,interval
Easter79 Easter79
3年前
springboot项目中集成ip2region遇到的问题及终极解决办法
1、问题回顾按照ip2region项目的官方集成到springboot项目后,运行测试一切都ok,没有任何问题。但是当项目打成可执行的jar包后再运行,却显示找不到ip2region.db,无法找到资源文件的错误。异常代码如下:java.io.FileNotFoundException:classpathresourceip
Easter79 Easter79
3年前
swift高阶函数和函数式编程
Swift函数式编程,函数式编程的思想就是一切皆函数,可以是被当作变量,参数,返回值。高阶函数运用对swift编程很重要。基础一般常用的几个高阶函数如下letnumArr5,4,6,1,7//遍历所有并操作print(numArr.map{$01})//输出:6,5,7,2,8
Wesley13 Wesley13
3年前
ubuntu使用curl加载https报ssh认证失败及dns配置
curl加载https报ssh认证失败原因,系统时间与远程服务时间不一致解决方案:http://stackoverflow.com/questions/21181231/servercertificateverificationfailedcafileetcsslcertscacertificatesc(https://
Stella981 Stella981
3年前
Linux源代码安装Git及其他附录
环境说明:   OS:CentOS6.5.mininal (NULL)GIT:gitversion2.8.2准备工作:安装 EPEL源root@lucia ~ su xiaoluxiaolu@lucia root$ cd /e
Easter79 Easter79
3年前
SVN迁移GitLab
SVN迁移GitLab一、环境准备1.准备一台linux服务器2.安装git和gitsvnyuminstallygityuminstallygitsvn二、导出SVN工程gitsvnclonehttp://xx
Stella981 Stella981
3年前
Git工作流程和rebase与合并问题
问题:_I'vebeenusingGitnowforacoupleofmonthsonaprojectwithoneotherdeveloper._我和其他开发人员一起在一个项目上使用Git几个月了。_IhaveseveralyearsofexperiencewithSVN(https
Easter79 Easter79
3年前
StackExchange.Redis使用笔记
最近在一个webapi中使用了Redis做缓存 替换掉原来的 HttpRuntime.Cache 百度到StackExchange.Redis 这个东东  一开始使用一切正常 代码也很简洁!(https://oscimg.oschina.net/oscnet/bd49eddf966d0377477b39e7f4cbdb12485.p
Stella981 Stella981
3年前
Python自动化部署环境
importparamikoimportsys创建SSHClient实例对象sshparamiko.SSHClient()调用方法,表示没有存储远程机器的公钥,允许访问ssh.set_missing_host_key_policy(paramiko.AutoAddPolic