- 博客(18)
- 资源 (1)
- 收藏
- 关注
原创 基于Docker swarm 集群搭建SSR 学习
一、搭建Docker集群1、安装Docker使用 yum 安装①、执行以下命令安装依赖包:$ sudo yum install -y yum-utils device-mapper-persistent-data lvm2②、添加docker的yum源$ sudoyum-config-manager –add-repo https://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.repo官方源$ sudo yum-conf
2020-09-16 17:48:34 741 1
原创 python安装第三方库报错:Microsoft Visual C++ 14.0 is required
Building wheel for bcrypt (PEP 517) … errorERROR: Command errored out with exit status 1:command: ‘c:\python37\python.exe’ ‘c:\python37\lib\site-packages\pip_vendor\pep517_in_process.py’ build_wheel ‘C:\Users\ADMINI~1\AppData\Local\Temp\tmpb_3w4l0a’cwd:
2020-09-04 18:11:41 2959
原创 KVM+WebVirtMgr部署安装笔记
一、安装epel源yum install wget -ymv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backupwget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repoyum -y install epel-releaseyum clean allyum makecache替换源了之
2020-09-02 22:46:44 5429 2
原创 FastFDS文件服务部署
关闭防火墙:systemctl stop firewalldsystemctl disacble firewalld1,先下载相关软件:yum install gcc-c++yum install wget -yyum install unzip -y安装依赖:yum -y install pcre pcre-develyum -y install zlib zlib-develyum -y install openssl openssl-develyum install lrzsz
2020-09-01 08:37:45 260
转载 Intellij IDEA该如何设置忽略部分类编译错误
1.如何设置Intellij IDEA忽略部分类编译错误? 2.为什么要在Intellij IDEA中使用Eclipse编译器? 3.为什么Intellij IDEA设置忽略部分类编译错误?有些时候我们的项目中有些错误,但这些错误并不影响项目的整体运行(或许是没有使用到),默认情况下idea是无法通过编译的,因此也就无法部署运行,要达到正确运行项目的目的需要作一些设置才行。设置Intellij
2016-05-04 11:23:49 8396
原创 js数组转成字符串
resArray是自己封装的js ArrayList对象,可以再我发布的文章搜索var array = new Array();array = resArray.get(int);var str1 = array.join();
2016-04-28 23:14:03 530
原创 jQuery 获取标签在table 中的行和列
var td = radio.find("input[name='rtype']:checked").parent().parent(); var index = td[0].parentNode.rowIndex; var cellindex = td[0].cellIndex;
2016-04-28 23:12:05 572
转载 jQuery获取 radio 选中后的文字 ,获取
//jQuery 获取 radio 选中后的文字 var tdvalue = radio.find("input[name='rtype']:checked")[0].nextSibling.nodeValue;
2016-04-28 23:10:47 959
转载 文章标题
1. jquery 在iframe子页面获取父页面元素代码如下:$("#objid", parent.document)2. jquery在父页面 获取iframe子页面的元素代码如下:$("#objid",document.frames('iframename').document)3.js 在iframe子页面获取父页面元素代码如下:window.parent.document.ge
2016-04-28 23:09:29 423
原创 js 冒泡排序与 数字组合 算法
/** * *///数字从小到大排序function argsSort(strs) { strs= strs.substring(0,strs.length-1); var strArr= new Array(); strArr=strs.split(","); //字符分割 for (i = 0; i < strArr.length; i++) {
2016-04-28 22:13:08 523
转载 js 的ArrayList
(function(win) { var ArrayList = function() { this.datas = []; };var proto = ArrayList.prototype;proto.size = function() { return this.datas.length;};proto.isEmpty = function()
2016-04-28 22:11:41 1092
原创 var target = event.target
//为radio绑定单击事件$(document).on("click",".round-table #table1 input[name='rtype']",function(event) { //取消checkbox禁用 $(".round-table #table2 input[name='num[]']").attr("disabled",false);//全部取消禁用
2016-04-28 22:10:42 600
原创 java 数字组合代码 按顺序,每组无重复,形成一个无重复的字符串
public class test { static String[] str = { "11", "12", "13", "14", "15" }; static int num = 4; public static void main(String[] args) { /*String str1 = ""; int j = 0; f
2016-04-28 22:08:05 510
转载 jquery对象与js对象转换
jQuery对象是在dom对象上封装了一层,提供了更多更便捷的方法说说我在使用过程中的例子 1、一般情况下都用jQuery对象,毕竟方便,API也熟练一点,dom转jquery只需要加个$就好了,比如: JavaScript codevar a = document.getElementById("a");var $a = $(a);2、判断页面是否存在某元素时,jQuery对象转成dom对象
2016-04-28 22:05:48 374
转载 android 6.0 以上代码中必须询问是否获取到权限
android 6.0 以上代码中必须询问是否获取到权限,不然就会报错 错误信息如下:java.lang.SecurityException: Permission Denial: opening provider
2016-04-20 17:11:59 1438 1
转载 Jquery 页面定位的方法
Jquery 页面定位的方法$("html,body").animate({scrollTop:$("#msgRear").offset().top},1000);$(selector).animate(styles,speed,easing,callback)animate() 方法执行 CSS 属性集的自定义动画。#msgRear 未要定位的DI
2016-04-20 16:03:17 1039
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人