首页 > 其他
sort和uniq
sort命令是帮我们依据不同的数据类型进行排序,其语法及常用参数格式:sort[-bcfMnrtk][源文件][-o输出文件]补充说明:sort可针对文本文件的内容,以行为单位来排序。参数:-b忽略每行前面开始出的空格字符。-c检查文件是否已经按照顺序排序。-f排序时,忽略大小写字母。-M将前..
分类:其他   时间:2016-03-07 07:50:22    收藏:0  评论:0  赞:0  阅读:213
女程序员职业发展的特别之处
有人问“女生是否适合做程序员”,还有人问“女程序员的职业规划”有何特别之处,一起来聊聊...
分类:其他   时间:2016-03-07 07:49:44    收藏:0  评论:0  赞:0  阅读:101
动画参数
CATransform key path,转场动画过渡效果
分类:其他   时间:2016-03-07 07:49:11    收藏:0  评论:0  赞:0  阅读:144
lintcode-easy-Single Number
Given 2*n + 1 numbers, every numbers occurs twice except one, find it. Given [1,2,2,1,3,4,3], return 4 因为所有数都出现了两次,只有一个出现一次,所以只要把所有数做XOR,就可以得到出现一次的数 p
分类:其他   时间:2016-03-07 07:49:01    收藏:0  评论:0  赞:0  阅读:198
bzoj3505 [Cqoi2014]数三角形
题目链接 先算在n*m个点中任选3个的方案数,再减去三点共线的方案数 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstdio> 6 #include<st
分类:其他   时间:2016-03-07 07:48:51    收藏:0  评论:0  赞:0  阅读:210
lintcode-easy-Rotate String
Given a string and an offset, rotate string by offset. (rotate from left to right) Given "abcdefg". offset=0 => "abcdefg" offset=1 => "gabcdef" offset
分类:其他   时间:2016-03-07 07:48:11    收藏:0  评论:0  赞:0  阅读:233
Struts2 中的值栈的理解
通过对struts2的一段时间的接触,将自己对OGNL的核心值栈说说,值栈:简单的说,就是存放action的堆栈,当我们提交一个请求 道服务器端 action时,就有个堆栈,如果action在服务器端进行跳转,所有action共用一个堆栈,当需要保存在action中的数据时,首先从栈顶开始 搜索,若
分类:其他   时间:2016-03-07 07:48:01    收藏:0  评论:0  赞:0  阅读:187
Verilog(三) multiplexer
mutiplexer 数据选择器 1 one-bit wide 2-1 mux wire dout = sel? din1 : din0; // conditional continuous and wire assignment 2 4-1 mux module mux4_1(sel, din0,
分类:其他   时间:2016-03-07 07:47:51    收藏:0  评论:0  赞:0  阅读:211
LR常用函数整理
1,变量转参数lr_save_string("aaa","param"):将字符串“aaa”或者一个字符串变量,转变成LR的参数{param} 2,参数转变量char var[10];strcpy(var,lr_eval_string("{param}")):将参数{param}转换成C语言中的变量
分类:其他   时间:2016-03-07 07:47:21    收藏:0  评论:0  赞:0  阅读:174
启动第一个 KVM 虚机 - 每天5分钟玩转 OpenStack(4)
本节演示如何使用 virt-manager 启动 KVM 虚机
分类:其他   时间:2016-03-07 07:47:01    收藏:0  评论:0  赞:0  阅读:208
lintcode-easy-Space Replacement
Write a method to replace all spaces in a string with%20. The string is given in a characters array, you can assume it has enough space for replacemen
分类:其他   时间:2016-03-07 07:46:51    收藏:0  评论:0  赞:0  阅读:182
lintcode-easy-Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or
分类:其他   时间:2016-03-07 07:46:41    收藏:0  评论:0  赞:0  阅读:247
Zoi选项 — Insure抑制功能
Zoi 选项紧跟在insure命令的后面,作为及时添加到.psrc中的选项。即在编译时通过该选项即可对某些文件及时打开或关闭某些选项配置,如打开抑制,关闭抑制等等。 # Rules for building and/or running the Insight examples; most are
分类:其他   时间:2016-03-07 07:46:21    收藏:0  评论:0  赞:0  阅读:178
lintcode-easy-Search a 2D Matrix
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted f
分类:其他   时间:2016-03-07 07:46:01    收藏:0  评论:0  赞:0  阅读:184
lintcode-easy-Singleton
Singleton is a most widely used design pattern. If a class has and only has one instance at every moment, we call this design as singleton. For exampl
分类:其他   时间:2016-03-07 07:45:41    收藏:0  评论:0  赞:0  阅读:167
LR接口测试
get请求代码: Action(){ //检查点 /* web_reg_find("Search=Body", "SaveCount=result", "Text=true", LAST); */ //关联 web_reg_save_param("result", "LB=result\":", "
分类:其他   时间:2016-03-07 07:45:31    收藏:0  评论:0  赞:0  阅读:637
碰撞检测之Box-Box检测
2D情况首先回顾一下SAP两个凸包多边形,当且仅当存在一条线,这两个多边形在这条线上的投影不相交,则这两个多边形也不相交.这条线称为Separating Axis.垂直Separating Axis存在一条Separating Line将两个多边形分开。这里还有一个要确定的,就是如果两个矩形之间存在Separating Line,则一定存在一条和两个矩形中的一条边平行。每个矩形对边平行,则我们只需...
分类:其他   时间:2016-03-07 06:43:32    收藏:0  评论:0  赞:0  阅读:741
页面性能的基础因素 - 《Designing for Performance》
考虑页面性能可以从两种场景,第一个场景也是因素最多的场景,即首次访问。第二个场景则是重复访问,缓存将起决定性作用。浏览器厂商为页面开发者提供了很多工具和插件,比如Chrome DevTools, YSlow和PageSpeed Insights。...
分类:其他   时间:2016-03-07 06:43:21    收藏:0  评论:0  赞:0  阅读:277
form v
<form name="example_form" action="http://google.com" method="POST"> <label for="req">Required field:</label><input name="req" id="req" /><br/> <label
分类:其他   时间:2016-03-07 06:42:51    收藏:0  评论:0  赞:0  阅读:234
210. Course Schedule II
There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prerequisites, for example to take course 0 you have t
分类:其他   时间:2016-03-07 06:42:21    收藏:0  评论:0  赞:0  阅读:249
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!