好好爱自己!

上一页 1 ··· 85 86 87 88 89 90 91 92 93 ··· 179 下一页
摘要: Atong介绍的这个工具,挺好用的。supervise 官方网站: https://cr.yp.to/daemontools.html cd /data/test cat test.c cat run 执行命令 svstat /data/test,结果如下: pstree -p: 自动监控并重启服务 阅读全文
posted @ 2018-07-31 14:25 立志做一个好的程序员 阅读(1453) 评论(0) 推荐(0)
摘要: 原文: http://man.linuxde.net/tee tee命令用于将数据重定向到文件,另一方面还可以提供一份重定向数据的副本作为后续命令的stdin。简单的说就是把数据重定向到给定文件和屏幕上。 存在缓存机制,每1024个字节将输出一次。若从管道接收输入数据,应该是缓冲区满,才将数据转存到 阅读全文
posted @ 2018-07-31 09:54 立志做一个好的程序员 阅读(357) 评论(0) 推荐(0)
摘要: 修改ubuntu的启动级别 runlevel 37down voteaccepted 37down voteaccepted Ubuntu 16.04 uses systemd instead of init and hence the concept of runlevels is replace 阅读全文
posted @ 2018-07-30 14:15 立志做一个好的程序员 阅读(349) 评论(0) 推荐(0)
摘要: 原文: https://www.jianshu.com/p/2e03255cfabb ubuntu配置开机自动启动服务 这里需要特别说明的是,Ubuntu系统下没有RedHat系统下的chkconfig命令。 但Ubuntu有一个类似的命令: sysv-rc-conf。 通过apt-get命令完成s 阅读全文
posted @ 2018-07-30 11:16 立志做一个好的程序员 阅读(653) 评论(0) 推荐(0)
摘要: 原文: https://www.jb51.net/LINUXjishu/407463.html 有多种方式可以查看你目前在使用什么 shell,最简单的方法就是通过使用 shell 的特殊参数。 其一,一个名为 "$$" 的特殊参数 表示当前你正在运行的 shell 实例的 PID。此参数是只读的, 阅读全文
posted @ 2018-07-27 16:51 立志做一个好的程序员 阅读(7973) 评论(0) 推荐(0)
摘要: https://stackoverflow.com/questions/18093928/what-does-could-not-find-or-load-main-class-mean A common problem that new Java developers experience is 阅读全文
posted @ 2018-07-27 14:35 立志做一个好的程序员 阅读(4988) 评论(0) 推荐(0)
摘要: https://stackoverflow.com/questions/5258159/how-to-make-an-executable-jar-file 文件的路径如下: 直接vim myjar.jar 打开jar包,查看里面的内容: MANIFEST.MF文件的内容: Here it is i 阅读全文
posted @ 2018-07-27 14:29 立志做一个好的程序员 阅读(624) 评论(0) 推荐(0)
摘要: 原文: https://kb.cnblogs.com/page/598963/ 蓦然回首自己做软件开发这个行业已经十年了,这十年中我获得了很多,技术能力、培训、出国、大公司的经历,还有很多很好的朋友。但再仔细一想,这十年中我至少浪费了五年时间,这五年可以足够让自己成长为一个优秀的程序员,可惜我错过了 阅读全文
posted @ 2018-07-27 09:51 立志做一个好的程序员 阅读(391) 评论(0) 推荐(0)
摘要: 原文:http://lihaoquan.me/2016/11/5/golang-byteorder.html 这个人的博客写的不错,品质也比较高。 我应该也要有这种精神,这种态度。深入到计算机的世界中去。也是一种快乐。 go 最近在看nsq的源码时候,发现它处理message的时候,都会采用字节序进 阅读全文
posted @ 2018-07-25 08:37 立志做一个好的程序员 阅读(360) 评论(0) 推荐(0)
摘要: 原文: https://blog.golang.org/go-maps-in-action Introduction One of the most useful data structures in computer science is the hash table. Many hash tab 阅读全文
posted @ 2018-07-24 13:28 立志做一个好的程序员 阅读(360) 评论(0) 推荐(0)
上一页 1 ··· 85 86 87 88 89 90 91 92 93 ··· 179 下一页

不断学习创作,与自己快乐相处