会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
宇文画戟
博客园
首页
博问
闪存
新随笔
订阅
管理
2018年11月20日
LeetCode刷题
摘要: https://www.zhihu.com/question/32322023 https://github.com/awangdev/LintCode
阅读全文
posted @ 2018-11-20 10:48 宇文画戟
阅读(71)
评论(0)
推荐(0)
2018年11月18日
转 费曼读书笔记
摘要: 你干吗在乎别人怎么想? https://book.douban.com/review/5258811/#comments 理查德·费曼有两本自传,《别闹了,费曼先生》和《你干吗在乎别人怎么想?》。那天下午,我看了《你干吗在乎别人怎么想?》,然后我把这句话写在办公桌的白板上,提醒自己,在工作和生活中,
阅读全文
posted @ 2018-11-18 20:02 宇文画戟
阅读(223)
评论(0)
推荐(0)
2016年5月9日
linux发邮件的方法mutt
摘要: cat "正文.txt" | mutt -s "标题" 收件人1@baidu.com,收件人2@baidu.com -a 日志.txt
阅读全文
posted @ 2016-05-09 19:42 宇文画戟
阅读(125)
评论(0)
推荐(0)
2016年5月4日
mysql零碎问题合集
摘要: 1 字段值为null时如何转换成空格? ifnull(t6.name,"") 2 直接连接很多表时mysql报错如何解决? 可以尝试用left join
阅读全文
posted @ 2016-05-04 16:22 宇文画戟
阅读(163)
评论(0)
推荐(0)
mysql 纵表转横表 需要用join不能直接where连接
摘要: select t.student_id, t4.name, t5.name, ifnull(t6.name,"")from student_info t left join student_type t1 on t.student_id=t1.student_id and t1.level=0 le
阅读全文
posted @ 2016-05-04 16:09 宇文画戟
阅读(379)
评论(0)
推荐(0)
2016年5月3日
eclipse导出可执行jar包 报main function not found错误
摘要: eclipse导出可执行jar包 报main function not found错误,解决方法是在工程的properties中找到run debug设置main方法。
阅读全文
posted @ 2016-05-03 10:23 宇文画戟
阅读(361)
评论(0)
推荐(0)
2016年4月19日
shell中expr的使用需要注意的几点
摘要: 1 计算公式中红的*必须加\也就是用\* 2 括号也需要带\
阅读全文
posted @ 2016-04-19 21:21 宇文画戟
阅读(269)
评论(0)
推荐(0)
shell脚本将mysql查询结果制作成csv格式
摘要: mysql -N -s -r --default-character-set=GBK -h${HOST_IP} -P${PORT} -u$USER} -p${PASSWORD} -e "${sql}" | awk '{print $1","$2}' > $output
阅读全文
posted @ 2016-04-19 18:48 宇文画戟
阅读(1512)
评论(0)
推荐(0)
linux shell中把句子中的单词提取作为变量值 主要是使用了数组
摘要: #!/bin/sh a="111 222 333" b=(${a}) echo b[0] is ${b[0]} echo b[1] is ${b[1]} #!/bin/shsource ./conf.shoutput="user_budget.csv"echo "userid,budget">$ou
阅读全文
posted @ 2016-04-19 18:45 宇文画戟
阅读(641)
评论(0)
推荐(0)
2016年4月18日
linux下文件字符编码转换
摘要: iconv -f utf-8 -t gbk ${file1} > ${file2}
阅读全文
posted @ 2016-04-18 14:53 宇文画戟
阅读(223)
评论(0)
推荐(0)
下一页