会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
77
下一页
2019年5月14日
树莓派笔记
摘要: LCD和hdmi切换 /home/LCD-show-master 目录下 LCD-hdmi LCD35-show 时区修改 sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime date -R wifi配置 cat /etc/wpa_sup
阅读全文
posted @ 2019-05-14 22:18 ahuo
阅读(1367)
评论(0)
推荐(0)
2019年4月22日
用nohup执行python程序时,print无法输出
摘要: nohup python test.py > nohup.out 2>&1 & 发现nohup.out中显示不出来python程序中print的东西。 这是因为python的输出有缓冲,导致nohup.out并不能够马上看到输出。 python 有个-u参数,使得python不启用缓冲。 nohup
阅读全文
posted @ 2019-04-22 14:07 ahuo
阅读(957)
评论(0)
推荐(0)
2019年4月19日
mysql 函数应用
摘要: mod 取余是用函数mod(numer1,number2),其返回的值为其余数值 如:mod(id,2) = 1 返回id号是奇数的id Email后缀提取 emailorg=RIGHT(EMail,LENGTH(EMail)- INSTR(EMail,'@'))
阅读全文
posted @ 2019-04-19 09:47 ahuo
阅读(167)
评论(0)
推荐(0)
mysql 正则表达式判断是否数字
摘要: select ('123a' REGEXP '[^0-9.]'); --‘123a'中含有字符'a' 输出结果为1 mysql中常量true输出为1 false输出为0非数字和字母SELECT * from s WHERE (name1 REGEXP '[A-Za-z0-9]')=0
阅读全文
posted @ 2019-04-19 09:17 ahuo
阅读(7535)
评论(0)
推荐(0)
2019年4月18日
mysql select into 不支持
摘要: 不支持的 select * into order_new from orders 改为 Create table order_new(select * from orders)
阅读全文
posted @ 2019-04-18 10:56 ahuo
阅读(510)
评论(0)
推荐(0)
2019年3月28日
tushare
摘要: http://tushare.org/ https://tushare.pro/
阅读全文
posted @ 2019-03-28 11:23 ahuo
阅读(183)
评论(0)
推荐(0)
2019年3月27日
splash
摘要: function main(splash, args) splash.images_enabled = false //不加载图片 assert(splash:go(args.url)) assert(splash:wait(1.5)) return { html = splash:html(), png = splash:png(), har = sp...
阅读全文
posted @ 2019-03-27 14:16 ahuo
阅读(412)
评论(0)
推荐(0)
2019年2月28日
解决Spring Boot OTS parsing error: Failed to convert WOFF 2.0
摘要: ${project.basedir}/src/main/resources true static/layuiadmin/layui/font/** ${project.basedir}/src/main/resources false static/layuiadmin/layui/font/** ...
阅读全文
posted @ 2019-02-28 14:41 ahuo
阅读(514)
评论(0)
推荐(0)
2019年2月22日
Nginx反向代理400错误
摘要: 错误:使用Nginx的反向代理访问tomcat时400错误。 upstream配置: upstream java_test{ server 127.0.0.1:8080; } 原因:nginx中upstream后面的名称不能使用下滑线,Nginx不能识别。 解决:将java_test改成java-t
阅读全文
posted @ 2019-02-22 09:50 ahuo
阅读(558)
评论(0)
推荐(0)
2019年2月20日
mongodb安装
摘要: windows:mongod.exe --logpath D:\mongodb\logs\mongodb.log --logappend --dbpath D:\mongodb\data --directoryperdb --serviceName MongoDB --install
阅读全文
posted @ 2019-02-20 10:29 ahuo
阅读(187)
评论(0)
推荐(0)
2019年1月16日
判断端口是否打开
摘要: while true do nc -vz 127.0.0.1 1234 rs=$? echo $rs if [ $rs -gt 0 ] then echo "1" ls else echo "0" ls -l fi sleep 2 done
阅读全文
posted @ 2019-01-16 16:53 ahuo
阅读(426)
评论(0)
推荐(0)
2019年1月2日
itchat
摘要: # -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ import itchat, time def lc(): print("Finash Login!") def ec(): print("exit") itchat.auto_login(loginCallback=...
阅读全文
posted @ 2019-01-02 15:43 ahuo
阅读(200)
评论(0)
推荐(0)
2018年12月26日
mount: wrong fs type, bad option, bad superblock
摘要: mount: wrong fs type, bad option, bad superblock on 125.64.41.244:/data/img, missing codepage or helper program, or other error (for several filesyste
阅读全文
posted @ 2018-12-26 12:33 ahuo
阅读(483)
评论(0)
推荐(0)
hydra
摘要: hydra -L user.txt -P pass.txt -o savessh.log -f -vV -e ns 10.0.5.24 sshhydra -L user.txt -P sup.txt -o savessh.log -f -vV -e ns 113.105.144.130 mysql
阅读全文
posted @ 2018-12-26 10:55 ahuo
阅读(200)
评论(0)
推荐(0)
2018年12月20日
ssh 多次登录禁用账号
摘要: vi /etc/pam.d/sshd #%PAM-1.0auth required pam_tally2.so deny=3 unlock_time=600 even_deny_root root_unlock_time=1200 查看错误登录次数:pam_tally2 -u root pam_ta
阅读全文
posted @ 2018-12-20 09:38 ahuo
阅读(295)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
77
下一页
公告