好好爱自己!

04 2018 档案

摘要:原文: http://www.cnblogs.com/xuyao100/p/8940958.html 清除浮动方法 1、 对父级设置适合CSS高度,父级元素撑开并且包含子元素。 2、 父级标签 附加样式属性'overflow'属性值为'auto'或者'hidden'。即可清除浮动 3、 附加子元素样 阅读全文
posted @ 2018-04-28 10:25 立志做一个好的程序员 阅读(206) 评论(0) 推荐(0) 编辑
摘要:https://coderwall.com/p/whf3-a/hierarchical-data-in-postgres This tip will try to answer the following questions: How can we represent a tree of data 阅读全文
posted @ 2018-04-27 10:32 立志做一个好的程序员 阅读(261) 评论(0) 推荐(0) 编辑
摘要:Supervisor (http://supervisord.org) 是一个用 Python 写的进程管理工具,可以很方便的用来启动、重启、关闭进程(不仅仅是 Python 进程)。除了对单个进程的控制,还可以同时启动、关闭多个进程,比如很不幸的服务器出问题导致所有应用程序都被杀死,此时可以用 s 阅读全文
posted @ 2018-04-26 13:26 立志做一个好的程序员 阅读(298) 评论(0) 推荐(0) 编辑
摘要:apt-get instal pip 成功之后,有根据pip的提示,进行了升级,升级之后,pip就出问题了 为了解决上面问题,手动安装pip,依次执行下面命令 1 2 3 4 5 [root@minion01 Python-2.7.10]# cd .. [root@minion01 tools]# 阅读全文
posted @ 2018-04-26 09:46 立志做一个好的程序员 阅读(1103) 评论(0) 推荐(0) 编辑
摘要:Question: I can not use chkconfig tools in Ubuntu 12.10 It's a very useful tools to configure the service to autostart or not. Why is it no longer ava 阅读全文
posted @ 2018-04-25 17:44 立志做一个好的程序员 阅读(186) 评论(0) 推荐(0) 编辑
摘要:<!doctype html><html><head><meta charset="UTF-8" /><title>Canvas Drag and Drop Test</title></head><body><section> <div><canvas id="canvas" width="400" 阅读全文
posted @ 2018-04-25 16:41 立志做一个好的程序员 阅读(229) 评论(0) 推荐(0) 编辑
摘要:原文: http://www.haorooms.com/post/js_scroll_width 参考: https://www.cnblogs.com/benxiaohai-microcosm/p/7814825.html 大家好,十一小长假结束了。。相信大家玩的都很开心,还没有尽兴!好多网友期盼 阅读全文
posted @ 2018-04-20 20:52 立志做一个好的程序员 阅读(409) 评论(0) 推荐(0) 编辑
摘要:procomm plus这是查看串口数据的软件。 阅读全文
posted @ 2018-04-20 18:01 立志做一个好的程序员 阅读(663) 评论(0) 推荐(0) 编辑
摘要:原文: https://blog.csdn.net/deyili/article/details/5471023 shell进程是执行其它进程的进程,但在执行一个命令时,shell进程会指示内核把指定的程序作为另一个进程分开执行,并将输出写到终端。 通过命令选项,我们可以修改命令执行的行为。 命令行 阅读全文
posted @ 2018-04-20 09:48 立志做一个好的程序员 阅读(4164) 评论(0) 推荐(0) 编辑
摘要:How to show md-toast with background color https://codepen.io/neilkalman/pen/jWBqve <div ng-controller="AppCtrl" layout-fill="" layout="column" class= 阅读全文
posted @ 2018-04-19 21:45 立志做一个好的程序员 阅读(388) 评论(0) 推荐(0) 编辑
摘要:搞来搞去,原来是hooks 下面的脚本名称必须是post-commit才可以, 写成fly-commit一直不行。晕死~~~ https://serverfault.com/questions/144181/subversion-hooks-no-longer-running For some re 阅读全文
posted @ 2018-04-19 16:54 立志做一个好的程序员 阅读(285) 评论(0) 推荐(0) 编辑
摘要:发现$_POST 没数据,而$_REQUEST 有数据 https://stackoverflow.com/questions/26928393/php-post-is-empty-but-http-raw-post-data-has-all-data The POST data must be i 阅读全文
posted @ 2018-04-18 17:40 立志做一个好的程序员 阅读(564) 评论(0) 推荐(0) 编辑
摘要:原文: https://blog.csdn.net/big1989wmf/article/details/70144470 发现,原来是 服务端上面 svnserve 这个进程没有启动起来 然后,再试一下,就可以了 之后,配置svn_repositories/tellidea/conf 下面的3个配 阅读全文
posted @ 2018-04-18 17:21 立志做一个好的程序员 阅读(41669) 评论(0) 推荐(0) 编辑
摘要:原文: https://computers.tutsplus.com/tutorials/basic-vim-configuration--cms-21498 原来,vim的配置文件,.vimrc也是一种类似于shell ,javascript 的脚本语言。叫做vimScript Functions 阅读全文
posted @ 2018-04-18 13:09 立志做一个好的程序员 阅读(364) 评论(0) 推荐(0) 编辑
摘要:vim 树形菜单插件的安装 NERDTree 1. mkdir ~/.vim cd ~/.vim mkdir bundle mkdir autoload 2. curl -Sso ~/.vim/autoload/pathogen.vim https://raw.githubusercontent.c 阅读全文
posted @ 2018-04-18 12:51 立志做一个好的程序员 阅读(635) 评论(1) 推荐(0) 编辑
摘要:原文: https://www.gurustop.net/blog/2014/01/28/common-problems-and-solutions-when-using-select-elements-with-angular-js-ng-options-initial-selection/ I 阅读全文
posted @ 2018-04-17 18:27 立志做一个好的程序员 阅读(286) 评论(0) 推荐(0) 编辑
摘要:只列出所有监听 UNIX 端口 netstat -lx 阅读全文
posted @ 2018-04-17 16:57 立志做一个好的程序员 阅读(317) 评论(0) 推荐(0) 编辑
摘要:原文: https://segmentfault.com/q/1010000009174725 enable 是启用 PHP 源码包自带,但是默认不启用的扩展,比如 ftp 和 exif 扩展。with 是指定扩展依赖的资源库的位置,如果是默认位置,就可以留空。 php 的扩展分为静态编译和动态编译 阅读全文
posted @ 2018-04-16 13:33 立志做一个好的程序员 阅读(620) 评论(0) 推荐(0) 编辑
摘要:原文: https://www.cnblogs.com/zongyl/p/5924627.html 说明,给编译安装之后的php 添加pgsql 拓展成功。 php编译安装后,加扩展模块 1.进入php源码包中,找到需要安装的扩展模块目录。cd /root/php-5.6.26/ext/mbstri 阅读全文
posted @ 2018-04-16 11:30 立志做一个好的程序员 阅读(290) 评论(0) 推荐(0) 编辑
摘要:https://cyberpersons.com/2016/08/28/install-nginx-php-php-fpm-mysql-source-run-wordpress-site-ubuntu-16-04/ 1下载 wget http://sg2.php.net/get/php-5.6.35 阅读全文
posted @ 2018-04-13 13:32 立志做一个好的程序员 阅读(234) 评论(0) 推荐(0) 编辑
摘要:linux mysql-server can't find mysql_config Ask Question linux mysql-server can't find mysql_config Ask Question up vote7down votefavorite 3 I have a r 阅读全文
posted @ 2018-04-13 11:34 立志做一个好的程序员 阅读(462) 评论(0) 推荐(0) 编辑
摘要:原文 : http://blog.itpub.net/29773961/viewspace-1817640/ mysql_config_editor使用简介 分类: MySQL 2015-10-28 18:57:21 分类: MySQL 2015-10-28 18:57:21 该工具可以创建一个"l 阅读全文
posted @ 2018-04-13 11:19 立志做一个好的程序员 阅读(339) 评论(0) 推荐(0) 编辑
摘要:Angularjs: call other scope which in iframe To access and communicate in two directions (parent to iFrame, iFrame to parent), in case they are both in 阅读全文
posted @ 2018-04-13 09:15 立志做一个好的程序员 阅读(416) 评论(0) 推荐(0) 编辑
摘要:说到底, pageY, clientY, screenY的计算,就是要找到参考点, 它们的值就是: 鼠标点击的点 和参考点指点 的直角坐标系的距离 stackoverflow上面有个回答,讲解的非常清晰。 offsetX and offsetY are relative to the parent 阅读全文
posted @ 2018-04-12 13:33 立志做一个好的程序员 阅读(380) 评论(0) 推荐(0) 编辑
摘要:原文: https://html5.litten.com/how-to-drag-and-drop-on-an-html5-canvas/ 下面作者的原始的版本会抖动一下(鼠标刚点下去的时候,位置会发生一下突变,不是很友好), 我修改了 一下。 How to Drag and Drop on an 阅读全文
posted @ 2018-04-12 13:14 立志做一个好的程序员 阅读(324) 评论(0) 推荐(0) 编辑
摘要:转, 原文: http://www.cnblogs.com/mtour/p/5857708.html 作为一个非科班的程序员,一直以来都是靠着兴趣来驱动自己,工作了很多年,在半国企呆过,体验过500强,感受过创业公司,也遇到过形形色色的程序员,但我总结了几点优秀程序员的一些特质(自认为自己还谈不上优 阅读全文
posted @ 2018-04-10 20:55 立志做一个好的程序员 阅读(575) 评论(0) 推荐(0) 编辑
摘要:转: http://blog.sina.com.cn/s/blog_4d97374a0102x6lt.html#cre=blogpagepc&mod=f&loc=1&r=0&doct=0&rfunc=53&tj=none 本文是湖北中学女校长王桂兰在开学典礼上的讲话,全文很接地气,点醒千万高中生! 阅读全文
posted @ 2018-04-09 22:16 立志做一个好的程序员 阅读(833) 评论(0) 推荐(0) 编辑
摘要:原文:https://blog.csdn.net/solmyr_biti/article/details/50683279 如果crontab不重定向输出,并且crontab所执行的命令有输出内容的话,是一件非常危险的事情。因为该输出内容会以邮件的形式发送给用户,内容存储在邮件文件 /var/spo 阅读全文
posted @ 2018-04-09 15:38 立志做一个好的程序员 阅读(609) 评论(0) 推荐(0) 编辑
摘要:原文呢:http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration.strict Only valid typehint for boolean is bool. As per docum 阅读全文
posted @ 2018-04-09 14:41 立志做一个好的程序员 阅读(573) 评论(0) 推荐(0) 编辑
摘要:原文: http://blog.sina.com.cn/s/blog_72cd06360100vn7t.html be of 的用法,相当于表征特征或属性的形容词。 Number、Numeral 、Digit和Figure Number、numeral、digit和figure都和数字有关,有的人把 阅读全文
posted @ 2018-04-09 09:40 立志做一个好的程序员 阅读(6255) 评论(0) 推荐(0) 编辑
摘要:vim 中 按下shift + % 键组合。 阅读全文
posted @ 2018-04-08 22:17 立志做一个好的程序员 阅读(232) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.cnblogs.com/frank-yxs/p/5925563.html 文件IO详解(二) 文件描述符(fd)和inode号的关系 1、文件描述符和inode号码是不同的两个东西。 原文:https://www.cnblogs.com/frank-yxs/p/5925 阅读全文
posted @ 2018-04-07 18:17 立志做一个好的程序员 阅读(2540) 评论(0) 推荐(1) 编辑

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

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