自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(249)
  • 收藏
  • 关注

原创 大型网站系统与Java中间件实践 试读

试读章节:第2章 大型网站及其架构演进过程  大型网站的特质 海量数据、高并发的访问量、本身业务和系统的复杂度 作者(淘宝技术总监)精炼地诠释了大型网站的特质,很到位   Session共享解决方案 这是分布式系统的第一个坑,作者给出了4种解决方案,听过和做过的区别就是后者可以回忆式地娓娓道来 1. Session Sticky:负载均衡器能够根据每次请求的会话标识来进行请求转发...

2014-06-16 13:05:13 153

原创 刷机整理

1 线刷 使用 tar包 工具使用Odin 2 卡刷 使用zip包 recovery模式 下+home+power 3 adb sideload 可以将zip从PC复制到机子里   音量上键+中间的方格键+开机键是卡刷模式 Recovery 音量下键+中间的方格键+开机键是线刷模式 挖煤   一、 recovery    在刷机这件湿中你经常会看到recovery的身影,从字...

2014-03-17 18:17:50 216

拥抱Java8第一弹

package creative.air.java8.common; import java.time.LocalDate; import java.time.Period; import java.time.format.DateTimeFormatter; import java.time.temporal.ChronoUnit; import java.util.Arrays...

2014-01-17 11:59:34 155

原创 emacs24

C-<chr> means hold the CONTROL key while typing the character <chr> Thus, C-f would be: hold the CONTROL key and type f.   M-<chr> means hold the META or EDIT or ALT key down wh...

2014-01-08 18:41:55 118

原创 LinuxMint收集

http://www.linuxmint.com/oldreleases.php   MATE was originally a fork of the Gnome 2 desktop that was added onto and improved after the Gnome team abandoned it for Gnome 3. Many of Linux mainstays...

2013-12-18 09:58:03 129

原创 Log4j2 整理

http://logging.apache.org/log4j/2.x/faq.html

2013-12-09 12:25:23 75

原创 Ubuntu U disk

Startup Disk Creator  http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu   Startup Disk Creator 启动盘创建器

2013-12-05 10:44:50 221

原创 Linux查找

find / -mmin -5 -type f find /etc /var /mnt /media -xdev -mmin -5 -type f 最後 5 分鐘內變動過的所有檔案 "-dev" 限制在所在的檔案系統內進行搜尋,而不會跨過其他掛載的檔案系統。   find / -mmin +10 -mmin -20 -type f 找尋在最後 10 到 20 分鐘之間變動過的檔案 ...

2013-12-02 15:03:05 115

原创 Ubuntu安装 Flash plugin

1 下载tar包:http://get.adobe.com/flashplayer/otherversions/2 将libflashplayer.so拷贝到Firefox的Plugin目录:sudo cp libflashplayer.so /usr/lib/mozilla/plugins/3 将usr目录下的所有文档拷贝到系统的/usr目录下:sudo cp -r ./usr/* /usr/...

2013-12-02 08:15:36 107

原创 githug使用指南

由于内容和格式的问题,见附件

2013-12-01 22:53:27 230

原创 profilers

SonarQube http://www.sonarqube.org FindBugs http://findbugs.sourceforge.net PMD http://pmd.sourceforge.net Checkstyle http://checkstyle.sourceforge.net   Lambda Probe www.lambdaprobe.org ...

2013-12-01 20:15:40 110

原创 JProfiler download

Version: 8.0.1 (2013-07-31) http://www.ej-technologies.com/download/jprofiler/files   7.2.3 http://www.ej-technologies.com/download/jprofiler/version_72   6.2.4 http://www.ej-technologies.com/...

2013-12-01 20:01:06 135

原创 yjp download

Download YourKit Java Profiler 2013, build 13052 Windows (x86, x64) Download and run installer Mac OS X (Intel) OS X Mavericks (10.9), OS X Mountain Lion (10.8): 1) Important! ...

2013-12-01 19:12:21 127

原创 Jenkins传值

x=1 echo x=$x >> $JENKINS_HOME/jobs/$JOB_NAME/builds/$BUILD_ID/my.properties   xx=$(grep "x=" $JENKINS_HOME/jobs/$JOB_NAME/builds/$BUILD_ID/my.properties | sed 's/.*=//') echo $xx

2013-11-18 15:26:38 142

原创 git shortcuts

git config --global alias.d1 "diff"   ~/.gitconfig  [core]         autocrlf = input [color]         diff=auto         ui = auto         branch=auto [alias]         ci = commit         co ...

2013-11-18 15:04:29 122

原创 Apache benchmarking

NAME       ab - Apache HTTP server benchmarking toolSYNOPSIS       ab  [ -A auth-username:password ] [ -b windowsize ] [ -B local-address ] [ -c concurrency ] [ -C cookie-name=value ] [ -d ] [       -...

2013-11-17 16:15:48 139

原创 bitbucket

https://bitbucket.org/feuyeux

2013-11-08 15:28:39 126

原创 Android代号

1.0:Android 1.5:Cupcake 1.6:Donut 2.0/2.1:Eclair 2.2:Froyo 2.3/2.4:Gingerbread 3.0/3.1:Honeycomb 4.0:Ice Cream Sandwich 4.1/4.2/4.3:Jelly Bean   4.4:KitKat

2013-11-05 21:22:38 112

原创 Android构建工具

构建工具buck Buck: An Android (and Java!) build tool http://facebook.github.io/buck/   Facebook Buck和xctool:针对Android和iOS的开源构建工具 http://www.infoq.com/cn/news/2013/05/Facebook-buck-xctool-build   ...

2013-11-05 02:15:02 224

Test Link的Jenkins插件源码分析(参数)

全局参数设置   相关代码片段 POJO类TestLinkInstallation    public class TestLinkInstallation implements Serializable { …… @DataBoundConstructor public TestLinkInstallation( String name, S...

2013-11-04 18:18:15 267

原创 ubuntu13.10问题集合

1.地址栏显示完整路径 CTRL+L   2.快速启动栏 erichan@erichan-OptiPlex-790:~$ cd /usr/share/applications erichan@erichan-OptiPlex-790:~/.local/share/applications$ nano eclipse.desktop [Desktop Entry] Type=App...

2013-10-30 17:03:06 86

原创 截图工具

http://www.instant-screen-capture.com/download.html http://www.hypersnap.net

2013-09-25 13:22:16 94

原创 Jenkins插件开发笔记

第一次做Jenkins插件开发,遂将笔记公开分享 插件名称: gettingCase 插件功能: 获取RallyDev上的某一个Test Case信息   0.配置.m2/settings.xml 请查阅本文最后的参考资料    1.Maven创建Jenkins插件项目 mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create 第...

2013-09-23 14:38:49 334

原创 Ubuntu中Java IDE启动器配置

sudo nano /usr/share/applications/eclipse.desktop [Desktop Entry] Type=Application Name=Eclipse Comment=Eclipse Integrated Development Environment Icon=eclipse Exec=/opt/eclipse3.7/eclipse Ter...

2013-09-23 11:06:15 130

REST安全实践·4.JAASRealm+FORM认证

  4. JAASRealm + FORM认证 Accesses authentication information through the Java Authentication & Authorization Service (JAAS) framework. 通过实现JAAS(JSR196标准)的服务,获取认证信息 4.1 创建Realm所需的数据表 mysql...

2013-09-13 13:56:55 159

REST安全实践·3.DIGEST认证

3. UserDatabaseRealm + DIGEST认证 Accesses authentication information stored in an UserDatabase JNDI resource, which is typically backed by an XML document (conf/tomcat-users.xml). 通过读取XML格式的JNDI资源...

2013-09-13 13:53:56 214

REST安全实践·2.FORM认证

2. DataSourceRealm + FORM认证 Accesses authentication information stored in a relational database, accessed via a named JNDI JDBC DataSource. 通过JNDI访问关系型数据库,获取认证信息 2.1 创建Realm所需的数据表 mysql -uroo...

2013-09-12 13:24:36 89

REST安全实践·1.HTTP BASIC认证

1. JDBCRealm + BASIC认证 Accesses authentication information stored in a relational database, accessed via a JDBC driver. 通过JDBC访问关系型数据库,获取认证信息 1.1 创建Realm所需的数据表 导出 mysqldump simple_service_...

2013-09-11 19:03:42 366

Jersey2.x对REST请求处理流程的分析

Jersey2.x对REST请求处理流程的分析 一个REST请求,始于一个RESTful Web Service资源的地址,终于一个可接受的对资源的表述(比如JSON)。 因此,流程分析的关键点有2个: 将请求地址对应到资源类的相应方法上,并触发该方法。 将返回值转换成请求所需要的表述,并返回给客户端。 我们使用Eclipse的断点调试服务器端(代码对应本例https://git...

2013-09-09 00:11:06 496

原创 解决乱码,让Sublime Text 2支持GB2312和GBK

选摘:http://www.fuzhaopeng.com/2012/sublime-text-2-with-gb2312-gbk-support/ 打开Preferences菜单,并选择 Browse Packages… 系统会打开Sublime Text 2的Packages文件夹,回到上一级菜单,然后打开Installed Packages文件夹 下载并将下载的Package Con...

2013-08-20 17:18:43 107

原创 JAVA SYS TIME

public class TestSys { //@Test public void testSysDefault() { Properties sysProperties = System.getProperties(); Set<Map.Entry<Object, Object>> sysSet = sysProperties.entrySet(); Ite...

2013-07-29 07:50:50 143

原创 FTP实践

服务器下载: http://jaist.dl.sourceforge.net/project/filezilla/FileZilla%20Server/0.9.41/FileZilla_Server-0_9_41.exe   程序依赖: <dependency> <groupId>commons-net</groupId> <artifact...

2013-07-23 08:52:43 111

原创 ubuntu mysql5.6安装

转载请注明出处:http://feuyeux.iteye.com/blog/1911556   下载 mysql workbench mysql-5.6.15-debian6.0-x86_64.deb http://dev.mysql.com/doc/refman/5.6/en/linux-installation-debian.html 监控旧版本 sudo netsta...

2013-07-22 16:01:05 313

原创 冰山一角

如观冰山 浪迹浮沉 隐现其壮 机如闪电 或修其身 静听涛浪 厚积薄发 但摧人老   日行跬步 行者孤独 人在路上 心向远方 但恨岁逝 见识浅薄 人过而立 心方少年   夜半梦悬 震聋发聩 小子问己 莫若往昔间 血涌轰鸣 跃跃出发 老夫能饭 此方又何难     ...

2013-07-20 22:17:06 203

mysql自定义启动

MYSQL_HOME=D:\+aquarius\mysql-5.6.11-winx64 Path=……;%MYSQL_HOME%\bin   my.bat mysqld --defaults-file = %MYSQL_HOME%/my.cnf   my.cnf: here

2013-05-23 12:42:43 107

原创 使用synergy操控windows和ubuntu

下载统一版本的synergy 本文使用1.4.1 Ubuntu主-Windows辅模式 ubuntu做服务器: 配置: sudo nano /etc/synergy.conf section: screens hanl-ubuntu1204: laptop: end section: aliases laptop: 10.11.58.105 hanl-ubuntu1...

2013-05-17 18:45:17 401

原创 mojolicious

官方网站: http://mojolicio.us/ 源代码: https://github.com/kraih/mojo 安装: sudo curl get.mojolicio.us | shsudo apt-get install libmojolicious-perl 测试:eric@ubuntu:~/Desktop/mojolicio.us/examples$ morbo ...

2013-05-04 14:46:02 202

原创 计划任务的顺序执行[Quartz Scheduler v.2.1.6]

使用Quartz做计划任务时,默认情况下,当前任务总会执行,无论前一个任务是否结束。从如下日志可以看出,job被并发执行,无视前面任务是否结束。   13:14:04,095 INFO [creative.air.schedule.quartz.SimpleJob] DefaultQuartzScheduler_QuartzSchedulerThread - new a simple j...

2013-04-07 13:39:26 643

原创 add-apt-repository behind proxy

Set the variable https_proxy to your proxy Edit /etc/sudoers or the correct file in /etc/sudoers.d/ so it contains: Defaults env_keep = https_proxy sudo nano /etc/apt/apt.conf.d/30proxy ...

2013-03-20 13:24:46 129

原创 davmail+thunderbird读取exchange服务器邮件

Linux Mint14 Ubuntu1210   http://davmail.sourceforge.net/download.html      

2013-03-11 15:56:34 284

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除