`
文章列表
       
人人网feed设计 http://news.csdn.net/a/20100726/277273.html 新浪微博设计 http://www.slideshare.net/iso1600/cache-4842490 新浪杨卫华:谈微博Cache设计 http://john521.iteye.com/blog/779695 微博架构与平台安全演讲稿  http://timyang.net/architecture/weibo/ web缓存 http://www.slideshare.net/jeffz/web-2026379 微博后台架构浅析 http://hi.baidu.com/leolan ...
可用篮球战术   无球掩护,两个球员可以互换,如上图,掩护后底线球员可以内切,接球  模式转换    
    1.下载prunsrv   2.配置java方式启动   set location=F:\workspace2\slf4j-7road\slf4j-7road\build set prunsrv=%location%\commons-daemon-1.0.13-bin-windows set classpath=%CLASSPATH%;%location%\config;%location%\slf4j-test-0.0.1-SNAPSHOT-jar-with-dependencies.jar;   prunsrv //IS//LogServer --Displa ...
http://html5slides.googlecode.com/svn/trunk/template/index.html#1   html 5 页面版本的ppt       wordpress这个模板适合做cms哈 Pilot Fish By Daniel Zhao

java平台启动脚本

    博客分类:
  • java
 
 window平台java启动脚本       @echo off set JAVA_HOME= set JAVA_OPTS=-Xms64m -Xmx512m set CLASSPATH=.\classes for %%c in (".\lib\*.jar") do call :LIBAPPEND %%c if exist "%JAVA_HOME%\bin\java.exe" goto okHome echo The JAVA_HOME environment variable is not defined correct ...
   pdf见附件
web层的尝试: javascirpt代码,通过ajax添加请求头,可以达到返回304 not modify,但是需要js自行把数据缓存,否则返回后没有数据展示。   // var date = date_ddmmmyy(new Date(Date.parse(document.lastModified))); // var time = document.lastModified.substring(document.lastModified.indexOf(" ")); // heads ={'Last-Modified':date+time}; ...

灰度升级

灰度升级   灰度升级可以认为是大型系统的迭代发布   灰度升级核心 线上系统分批(分用户分号段)发布、升级 发布必须可回滚 代码灰度升级 产品的灰度升级   在线系统升级数据库方案: db服务记录新旧库表,查询新表 旧数据在线同步迁移 待迁移完成、确认可用后切换库表        
  行转列,使用case when then   select date, sum(case c.type when 'try-pay' then c.sum else 0 end ) as 'try-pay', sum(case c.type when 'pay-real' then c.sum else 0 end )as 'pay-real', sum(case c.type when 'pay-success' then c.sum else 0 end )as 'pay-success', sum(case c.type when ' ...
discuz与java通过cookie共享登陆 <!-- BBS跳转映射 --> <servlet-mapping> <servlet-name>GoToBBS</servlet-name> <url-pattern>/servlet/GoToBBS</url-pattern> </servlet-mapping>  
spring初始化代码 DefaultListableBeanFactory.preInstantiateSingletons 启动的beanfactory,创建bean AbstractAutowireCapableBeanFactory 整个bean创建的过程 populateBean方法 根据property进行autowirebyName或byType注入,对xml配置的属性进行设置 initializeBean方法 初始化bean:下面是回调接口   BeanNameAware.setBeanName   BeanClassLoade ...

Eclipse Shortcuts

    博客分类:
  • java
http://www.allapplabs.com/eclipse/eclipse_shortcuts.htm     Eclipse Shortcuts   Navigational Shortcuts F10 Main menu Shift F10 Context menu Ctrl F10 View menu     Workspace navigation F12 Activate editor Ctrl+Shift+W Switch editor C ...
  nio的这段代码,应该属于j2se基础                   File f = new File(file); FileInputStream in = new FileInputStream(f); FileChannel channel = in.getChannel(); channel.position(2342198 - 1125); //要定位的位置                 System.out.println(channel.position()); Channels.newReader(channel, &quo ...
  使用spring mvc + velocity做项目时,输出csv文件做法是在controller自行调用httpResponse输出。 如果希望通过velocity输出csv内容,以下提供一种实现方式     1.新增ToCSVView,继承自VelocityView,重写rander方法,内容为设置http header与content type public class ToCSVView extends VelocityView { /** * Process the model map by merging it with the Velocity te ...
Global site tag (gtag.js) - Google Analytics