• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

cynchanpin

  • 博客园
  • 联系
  • 订阅
  • 管理
上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 149 下一页

2017年6月3日

String 经常用法最优算法实现总结 (一)

摘要: <pre name="code" class="java"><span style="font-family: Arial, Helvetica, sans-serif;"></pre><p>1. reverse</p><p><pre name="code" class="java"> /**</s 阅读全文

posted @ 2017-06-03 15:45 cynchanpin 阅读(266) 评论(0) 推荐(0)

OSX: 安装打印机的有用命令行

摘要: 事实上非常easy。就是有用lpadmin命令,以下给出一个样例: printername="YOUR_PRINTER_NAME" location="LOCATION INFO" gui_display_name="HP Color LaserJet M600 in Office for Exam 阅读全文

posted @ 2017-06-03 14:57 cynchanpin 阅读(531) 评论(0) 推荐(0)

HDU-4451-Dressing (2012年金华赛区J题)

摘要: Dressing Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2674 Accepted Submission(s): 1179 Probl 阅读全文

posted @ 2017-06-03 13:20 cynchanpin 阅读(274) 评论(0) 推荐(0)

iostat -x 1 查看磁盘的IO负载

摘要: Linux系统出现了性能问题。一般我们能够通过top.iostat,vmstat等命令来查看初步定位问题。当中iostat能够给我们提供丰富的IO状态数据 $ iostat -x -1 avg-cpu: %user %nice %system %iowait %steal %idle 10.43 0 阅读全文

posted @ 2017-06-03 12:30 cynchanpin 阅读(11442) 评论(0) 推荐(0)

一个简单的ant应用

摘要: <pre name="code" class="html"><?xml version="1.0" encoding="UTF-8"?> <project name="hd_services" default="war" basedir="."> <property name="tomcat.hom 阅读全文

posted @ 2017-06-03 11:21 cynchanpin 阅读(219) 评论(0) 推荐(0)

HDU多校赛第9场 HDU 4965Fast Matrix Calculation【矩阵运算+数学小知识】

摘要: 难度上。,,确实。。。不算难 问题是有个矩阵运算的优化 题目是说给个N*K的矩阵A给个K*N的矩阵B(1<=N<=1000 && 1=<K<=6),先把他们乘起来乘为C矩阵。然后算C^(N*N) 相当于 ABABABABABABAB...=(AB)^(N*N) 不如 A(BA)^(N*N-1)B 由 阅读全文

posted @ 2017-06-03 10:18 cynchanpin 阅读(222) 评论(0) 推荐(0)

Go语言net/http 解读.

摘要: Http包提供实现HTTP客户端和服务端的方法与函数。 Get、Head、Post、PostForm配合使用实现HTTP请求: resp, err := http.Get("http://example.com/") resp, err := http.Post("http://example.co 阅读全文

posted @ 2017-06-03 09:39 cynchanpin 阅读(5902) 评论(0) 推荐(0)

《coredump问题原理探究》Linux x86版7.7节 set对象

摘要: 看一下bits/stl_map和bits/stl_set能够看到map和set的定义例如以下: 84 template <typename _Key, typename _Tp, typename _Compare = std::less<_Key>, 85 typename _Alloc = st 阅读全文

posted @ 2017-06-03 08:49 cynchanpin 阅读(321) 评论(0) 推荐(0)

2017年6月2日

Asp.net与office web apps的整合

摘要: 事实上网上有关office web app的整合已经有相关的文章了,典型的是怎样整合Office Web Apps至自己开发的系统(一) 和怎样整合Office Web Apps至自己开发的系统(二),微软官网也有对应的demo。 这里在简单描写叙述一下原理吧:office web apps(owa 阅读全文

posted @ 2017-06-02 15:37 cynchanpin 阅读(1283) 评论(0) 推荐(0)

【设计模式】代理模式实现连接池

摘要: 1. 连接池 创建Connection的过程是很耗时的,为了保证Conection能够重用。应该将Connection进行池管理。 使用静态工厂方法管理一个唯一的连接: /** * 用静态工厂方法管理一个唯一的可重用的连接 */ public class ConnUtils { private Co 阅读全文

posted @ 2017-06-02 13:59 cynchanpin 阅读(620) 评论(0) 推荐(0)

上一页 1 ··· 89 90 91 92 93 94 95 96 97 ··· 149 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3