- 博客(641)
- 资源 (11)
- 收藏
- 关注
原创 青岛新生儿手续办理事项
1. 准生证办理: 九水路街道,身份证、户口本、结婚证、一胎出生证明2. 出生证明:http://wenda.bendibao.com/live/20191023/86096.shtm区市 签发机构名称 电话 地址 办理时间 李沧区妇幼保健计划生育服务中心 66089569 李沧区永年路20号 周一~周五 青岛市第八人民医院 87612862 李沧区峰山路84号 周二、周五 青岛市第三人民医院 89076587 李.
2020-05-17 22:22:02
1038
原创 使用aws elastic beanstalk 部署 java springboot application
参考:https://noise.getoto.net/2016/11/09/deploying-a-spring-boot-application-on-aws-using-aws-elastic-beanstalk/注意最后的端口设置,默认为5000。
2017-07-07 23:05:06
2787
原创 packstack allinone install log
[root@kilo-rdo ~]# packstack --allinoneWelcome to the Packstack setup utilityThe installation log file is available at: /var/tmp/packstack/20161208-122639-y7lVCr/openstack-setup.logInstalling:C
2016-12-13 14:02:18
5942
原创 lxml: Cannot import lxml.html.soupparser.fromstring, depends on outdated BeautifulSoup
refer to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801476When trying to perform the following with Python 3: from lxml.html.soupparser import fromstringThe following error is raised:
2016-10-11 14:18:28
920
原创 selendroid testing android web APP notes
1. 参考http://www.guru99.com/introduction-to-selendroid.html2. 使用下面的网址查看真机是否连接上,http://localhost:4444/wd/hub/status{ "status": 0, "value": { "supportedApps": [ { "appId
2016-10-09 11:33:14
1141
原创 如何搭建一个属于自己的直播平台 编译问题总结
1. 如何搭建一个属于自己的直播平台 参考 http://www.open-open.com/lib/view/open1473231814360.html2. nginx build on cygwin运行时出现"the maximum number of files supported by select() is 64", 问题解决参考http://powertech.ite
2016-09-26 11:34:27
1030
转载 斯坦福大学自然语言处理第七课“情感分析(Sentiment Analysis)”
from: http://52opencourse.com/235/%E6%96%AF%E5%9D%A6%E7%A6%8F%E5%A4%A7%E5%AD%A6%E8%87%AA%E7%84%B6%E8%AF%AD%E8%A8%80%E5%A4%84%E7%90%86%E7%AC%AC%E4%B8%83%E8%AF%BE-%E6%83%85%E6%84%9F%E5%88%86%E6%9E%90%EF
2016-08-31 15:12:17
1070
转载 由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法
from: http://blog.itpub.net/25851087/viewspace-1262468/我的case是cygwin里面的home目录和系统目录不是同一个目录,删除git windows,使用cygwin中的git就可以clone了
2016-03-14 16:33:11
1350
转载 Building RESTful APIs with Tornado
from: http://www.drdobbs.com/open-source/building-restful-apis-with-tornado/240160382The Tornado Web framework makes it easy to write RESTful APIs in Python. How easy? Have a lookTornado i
2016-03-12 15:03:01
2174
转载 Understanding the code inside Tornado, the asynchronous web server
from:http://golubenco.org/understanding-the-code-inside-tornado-the-asynchronous-web-server-powering-friendfeed.htmlMy goal here is to have a walk through the lower layers of the Tornadoasynch
2016-03-12 14:50:07
839
原创 JBoss打开RMI调用trace
参考 https://developer.jboss.org/wiki/LoggingRMICalls?_sscc=tyou can enable logging of RMI calls by adding to the AS java start options: -Djava.rmi.server.logCalls=true
2016-03-12 14:47:16
714
转载 Java 7中的TransferQueue
from: http://ifeve.com/java-transfer-queue/原文链接,译文链接,作者:Alex Miller,译者:Greenster,校对:梁海舰Java7中加入了JSR 166y规范对集合类和并发类库的改进。其中的一项是增加了接口TransferQueue和其实现类LinkedTransferQueue。TransferQueu
2016-01-08 21:31:40
516
原创 Some notes for Java
1. CallableStatement: The interface used to execute SQL stored procedures, not PreparedStatement, which represents a precompiled SQL statement.2. Hashtable: Neither the key nor the value can be null
2015-12-09 09:58:05
774
原创 Spring Bean 单例模式
1. Refer to >, page 39.2. Spring Bean Creation is Not Thread Saferefer to http://blog.imaginea.com/spring-bean-creation-is-not-thread-safe/When it comes to Java Concurrency no
2015-12-09 09:45:55
5081
1
原创 swingworker类中的哪些方法里面可以写GUI相关的代码?
参考:http://stackoverflow.com/questions/20260372/swingworker-progressbarThere are four rules to follow with SwingWorker. You can refer to this diagram:
2015-02-11 20:26:33
759
原创 Java程序控制CPU使用率
参考: http://stackoverflow.com/questions/1202184/throttling-cpu-memory-usage-of-a-thread-in-javaone way would be to adaptively sleep the threads, similarly as video playback is done in Java. If you
2014-11-25 16:08:00
3362
原创 logrotate 里面应该使用copytruncate
1. 参考http://unix.stackexchange.com/questions/33447/why-we-should-use-create-and-copytruncate-together
2014-05-13 02:45:30
7391
转载 mysql分表处理基本设计思想和实现
from: http://hi.baidu.com/pplboy/item/faf85093ad9ce11d934f41fd一、概述分表是个目前算是比较炒的比较流行的概念,特别是在大负载的情况下,分表是一个良好分散数据库压力的好方法。首先要了解为什么要分表,分表的好处是什么。我们先来大概了解以下一个数据库执行SQL的过程:接收到SQL --> 放入SQL执行队列 --> 使
2014-03-24 03:04:41
1995
转载 大数据量的存储分表常见算法
from: http://blog.sina.com.cn/s/blog_916929d70101lt7g.html当 一个应用的数据量大的时候,我们用单表和单库来存储会严重影响操作速度,如mysql的myisam存储,我们经过测试,200w以下的时候,mysql 的访问速度都很快,但是如果超过200w以上的数据,他的访问速度会急剧下降,影响到我们webapp的访问速度,而且数
2014-03-24 03:01:46
1277
转载 Filling test tables quickly
from: http://stackoverflow.com/questions/3766282/fill-database-tables-with-a-large-amount-of-test-datahttp://datacharmer.blogspot.com/2006/06/filling-test-tables-quickly.htmlLet's say that y
2014-03-19 06:46:15
1040
原创 bootstrap 中文文档
1. http://v3.bootcss.com/components/2. jquery 文档 http://jquery.bootcss.com/
2014-02-12 22:58:28
1706
原创 Chrome 浏览器 extension 指南
1. 中文翻译版: http://open.chrome.360.cn/extension_dev/overview.html2. 如何查看CRX的源代码?参考http://diybbs.zol.com.cn/14/225_136886.htmla. 找到你要反编译的那个插件,并记下插件的ID b. 代码在C:\Users\ACCOUNT\AppData\Local\Google\
2014-01-18 23:37:38
3899
原创 PHP dev note
1. 视频 http://zhumeng8337797.blog.163.com/blog/static/10076891420121255574986/2. pdf -> swf 转换相关 http://sns.ruanko.com/space.php?uid=3592&do=blog&id=794603. php.ini 打开error log,导致apache libeay32.dl
2013-12-26 21:46:49
800
原创 MySQL mysqlcheck/myisamchk 命令选项含义
1. mysqlcheck http://dev.mysql.com/doc/refman/5.0/en/mysqlcheck.html#option_mysqlcheck_extended2. myisamchk http://dev.mysql.com/doc/refman/5.0/en/myisamchk-check-options.html#option_myisamchk_check
2013-12-26 21:35:02
1323
原创 MySQL explain query 结果域值含义
see: http://dev.mysql.com/doc/refman/5.0/en/explain-output.html#explain-join-types8.2.2. EXPLAIN Output FormatThe EXPLAIN statement provides information about the executi
2013-12-26 21:32:23
1464
原创 OutOfMemoryError 应该catch吗?
see: http://stackoverflow.com/questions/2679330/catching-java-lang-outofmemoryerrorThere are a number of scenarios where you may wish to catch an OutOfMemoryError and in my experience (on Window
2013-12-26 21:30:24
2616
原创 mysqlcheck 与 myisamchk的区别
参考:http://www.informit.com/articles/article.aspx?p=174365&seqNum=53.5 Checking Tables with mysqlcheck and myisamchkThe mysqlcheck and myisamchk programs are used to check and repair ta
2013-12-26 21:27:30
2355
转载 php或js判断网站访问者来自手机或者pc机
From: http://www.cnblogs.com/nobcool/p/3341471.htmlphp或js判断网站访问者来自手机或者pc机 2013年9月26日,在弄wtuonline的时候为了区分用户是来自手机版浏览器还是pc,针对不同平台选择不同的网站版本,最终总结如下: 一、JS版代码: uaredirect("http
2013-11-10 22:18:48
6753
原创 一个PHP病毒
https://gist.github.com/jrunning/1381296 Love You 0.76代码和https://gist.github.com/jrunning/1381296/raw/56db75e09ebf1956e5e1a2254a021d8ed48cac97/wp-oju.php一样。
2013-11-03 15:18:17
1372
转载 Bugzilla windows安装指南
最近需要设置一个bug管理系统,JIRA需要收费,Bugzilla也不错,所以就选择了Bugzilla。From : https://wiki.mozilla.org/Bugzilla:Win32InstallIf you want a single-package installer that will install Apache, MySQL, Perl, and B
2013-10-06 22:37:38
3867
原创 程序员的自我修养 ch7 动态链接
1. DSO,Dynamic Shared Objects[serverate: /local/root/c/ch7 ]>> cat lib.h#ifndef LIB_H#define LIB_Hvoid foo(int i);#endif[serverate: /local/root/c/ch7 ]>> cat lib.c#include void fun(int i)
2013-06-30 07:29:11
1177
转载 RPM Command: 15 Examples to Install, Uninstall, Upgrade, Query RPM Packages
RPM command is used for installing, uninstalling, upgrading, querying, listing, and checking RPM packages on your Linux system.RPM stands for Red Hat Package Manager.With root privilege, you c
2013-05-31 20:50:58
1260
原创 2012软考资料
1. http://cio.csai.cn/case/201211151143551659.htm2. http://www.educity.cn/rk/html/20121121/34268.htm3. http://bbs.51cto.com/thread-933468-1.html4. http://www.360doc.com/content/09/0330/16/45072_
2013-05-31 20:48:02
743
转载 软件级负载均衡器(LVS/HAProxy/Nginx)的特点简介和对比
From: http://andrewyu.blog.51cto.com/1604432/697466现在网站发展的趋势对网络负载均衡的使用是随着网站规模的提升根据不同的阶段来使用不同的技术:一种是通过硬件来进行进行,常见的硬件有比较昂贵的NetScaler、F5、Radware和Array等商用的负载均衡器,它的优点就是有专业的维护团队来对这些服务进行维护、缺点就是花销太大,所以
2013-05-31 20:45:13
669
原创 memcached hash算法
From: http://stackoverflow.com/questions/10434375/what-hashing-algorithm-does-memcached-use-to-hash-keysQuestion:Memcached uses distributed consistent hashing to choose which server to put a key o
2013-05-31 20:42:44
1158
转载 Understanding SCSI, ATA, SAS and SATA
From: http://www.webopedia.com/DidYouKnow/Computer_Science/2007/sas_sata.aspThe Differences Between Parallel and Serial InterfacesFor years the parallel interface has been wide
2013-05-31 20:40:29
1193
转载 Getting The Hang Of IOPS v1.3
From: http://www.symantec.com/connect/articles/getting-hang-iops-v13In today's enterprise, application administrators are increasingly required to be IT generalists with knowledge spanning f
2013-05-31 20:37:26
1002
原创 关于SSH的一些总结
1. 查看sshd的版本root # rpm -qf /usr/sbin/sshdopenssh-server-4.3p2-82.el5root # rpm -qi openssh-server-4.3p2-82.el5Name : openssh-server Relocations: (not relocatable)Version
2013-05-31 20:32:28
6265
machine learning advice
2011-11-05
Inside Java Virtual Machine
2007-11-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人