08 2019 档案

摘要:公钥与私钥 区块链技术的应用和开发,数字加密技术是关键。一旦加密方法遭到破解,区块链的数据安全将受到挑战,区块链的不可篡改性将不复存在。加密算法分为对称加密算法和非对称加密算法,区块链中主要应用非对称加密算法。 非对称加密指为满足安全性需求和所有权验证需求而集成到区块链中的加密技术。非对称加密通常在 阅读全文
posted @ 2019-08-24 13:21 酷酷的城池 阅读(3545) 评论(0) 推荐(0) 编辑
摘要:swoole 安装 用的是centOS php安装目录:/usr/local/php php.ini配置文件路径:/usr/local/php/etc/php.ini 1、安装swoole cd /usr/local/src wget https://github.com/swoole/swoole-src/archive/v1.9.1-stable.tar.gz #版本不一样 https://g 阅读全文
posted @ 2019-08-23 00:08 酷酷的城池 阅读(8900) 评论(0) 推荐(0) 编辑
摘要:安装 PHP 7.3 on Ubuntu sudo apt-get install python-software-properties sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install - 阅读全文
posted @ 2019-08-22 11:52 酷酷的城池 阅读(927) 评论(0) 推荐(1) 编辑
摘要:服务器重启后,重启nginx时报错nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory),进入到logs目录发现确实没有nginx.pid文件 cd /usr/loca 阅读全文
posted @ 2019-08-22 11:31 酷酷的城池 阅读(5946) 评论(0) 推荐(5) 编辑
摘要:history.pushState(null, null, document.URL); window.addEventListener('popstate', function () { history.pushState(null, null, document.URL); }); 阅读全文
posted @ 2019-08-15 20:37 酷酷的城池 阅读(490) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <title></title> </head> <script src="https://code.jquery.com/jquery-3.4.1.min.js" type="text/javascript" charset="utf-8" 阅读全文
posted @ 2019-08-15 20:34 酷酷的城池 阅读(354) 评论(0) 推荐(0) 编辑
摘要:登录 注册 阅读全文
posted @ 2019-08-12 21:25 酷酷的城池 阅读(166) 评论(0) 推荐(0) 编辑
摘要:id: name: 添加 搜索内容: {{i.id}} {{i.name | update}} {{i.date}} 删除 阅读全文
posted @ 2019-08-12 12:15 酷酷的城池 阅读(204) 评论(0) 推荐(0) 编辑
摘要:1,插值表达式v-cloak v-html v-bind(:) v-on(@) v-model v-for v-if v-show2,事件修饰符.stop .prevent .capture .self .once3,在 VM实例中 调用data的变量必须添加 this.变量名4,在 v-for 要 阅读全文
posted @ 2019-08-12 11:08 酷酷的城池 阅读(111) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <meta charset="utf-8"> <head> <title></title> </head> <script src="./vue.js" type="text/javascript" charset="utf-8"></script> <body> <div id="app"> <input typ 阅读全文
posted @ 2019-08-12 10:56 酷酷的城池 阅读(225) 评论(0) 推荐(0) 编辑
摘要:{{val.id}}--------{{val.name}} 阅读全文
posted @ 2019-08-12 10:27 酷酷的城池 阅读(1735) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <meta charset="utf-8"> <head> <title></title> </head> <script src="./vue.js" type="text/javascript" charset="utf-8"></script> <body> <div id="app"> {{msg}} <! 阅读全文
posted @ 2019-08-11 23:27 酷酷的城池 阅读(698) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <meta charset="utf-8"> <head> <title></title> </head> <script src="./vue.js" type="text/javascript" charset="utf-8"></script> <body> <div id="app"> <div style 阅读全文
posted @ 2019-08-11 23:18 酷酷的城池 阅读(407) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <meta charset="utf-8"> <head> <title></title> </head> <script src="./vue.js" type="text/javascript" charset="utf-8"></script> <body> <div id="app"> <button ty 阅读全文
posted @ 2019-08-11 22:43 酷酷的城池 阅读(207) 评论(0) 推荐(0) 编辑
摘要:v-bind绑定属性不需要加""{{}}"" 可简写为一个":" <input type="" name="" :value="msg" :title='msg'> <input type="" name="" v-bind:value="msg" v-bind:title='msg'> 也可以加拼 阅读全文
posted @ 2019-08-11 22:03 酷酷的城池 阅读(852) 评论(0) 推荐(0) 编辑
摘要:v-cloak 的作用和用法 可用v-text 替换 但是有区别 用法: 这个指令保持在元素上直到关联实例结束编译。和 CSS 规则如 [v-cloak] { display: none } 一起用时,这个指令可以隐藏未编译的 Mustache 标签直到实例准备完毕。官方API <div id="a 阅读全文
posted @ 2019-08-11 21:56 酷酷的城池 阅读(12898) 评论(1) 推荐(1) 编辑
摘要:thread=5 tmp_fifofile=/temp/$$.fifo mkfifo $tmp_fifofile exec 8$tmp_fifofile rm $tmp_fifofile for i in `seq $thread` do echo >&8 done while : do read -u 8 { ....代码 echo >&8 }& done... 阅读全文
posted @ 2019-08-06 23:40 酷酷的城池 阅读(1241) 评论(0) 推荐(0) 编辑
摘要:--stdin This option is used to indicate that passwd should read the new password from standard input, which can be a pipe. 这个选项用于从标准输入管道读入新的密码。 使用 ech 阅读全文
posted @ 2019-08-06 12:58 酷酷的城池 阅读(5983) 评论(0) 推荐(1) 编辑
摘要:df | grep '/$'| awk '{print $(NF-1)}' | awk -F'%' '{print $1}' 阅读全文
posted @ 2019-08-06 11:41 酷酷的城池 阅读(1884) 评论(0) 推荐(0) 编辑
摘要:1.cut,将一行内的数据进行分解cut -d '分隔符' -f fieldscut -c 字符范围-f 取出第几段的意思 ,从1开始例:echo $PATH | cut -d ':' -f 3,5export | cut -c 12- 2.grep 分析一行数据grep [-acinv] [--c 阅读全文
posted @ 2019-08-05 22:10 酷酷的城池 阅读(2457) 评论(0) 推荐(0) 编辑
摘要:nohup或screen 阅读全文
posted @ 2019-08-05 21:55 酷酷的城池 阅读(189) 评论(0) 推荐(0) 编辑
摘要:linux命令!开头代表"最后" !$代表上一个命令的最后参数 !number 代表执行history列表第几个命令 !string 找到相关命令 !da ->date !! 执行上一个命令 如果正vim编辑一个命令 ctrl+z退出 然后 fg 回到编辑 阅读全文
posted @ 2019-08-05 21:39 酷酷的城池 阅读(276) 评论(0) 推荐(0) 编辑
摘要:Linux source命令: 通常用法:source filepath 或 . filepath 功能:使当前shell读入路径为filepath的shell文件并依次执行文件中的所有语句,通常用于重新执行刚修改的初始化文件,使之立即生效,而不必注销并重新登录。例如,当我们修改了/etc/prof 阅读全文
posted @ 2019-08-05 21:15 酷酷的城池 阅读(3678) 评论(1) 推荐(1) 编辑
摘要:1. #!/bin/bashpython -c 'print "111";' 2. #!/bin/bashpython <<EOF #开始符合和结束符合相同 print '11'EOF 加个"-"最下面的EOF就可以不是行头但必须是 "tal" 1、考虑下面的需求,在主shell执行命令,进入其他的 阅读全文
posted @ 2019-08-05 20:58 酷酷的城池 阅读(16287) 评论(0) 推荐(0) 编辑
摘要:function filterEmoji($str) { $str = preg_replace_callback('/./u',function (array $match) { return strlen($match[0]) >= 4 ? '' : $match[0]; },$str); return $str; } 阅读全文
posted @ 2019-08-04 23:22 酷酷的城池 阅读(178) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示