首页 > 2015年04月17日 > 全部分享
\u Unicode和汉字转化
介绍\uxxxx这种格式是Unicode写法,表示一个字符,其中xxxx表示一个16进制数字,范围所0~65535. Unicode十六进制数只能包含数字0~9、大写字母A~F或者小写字母A~F。需要注意到是:Unicode的大小端问题,一般都是小端在前,例如\u5c0f表示汉语中的 '小'字,转换...
分类:其他   时间:2015-04-17 15:28:08    收藏:0  评论:0  赞:0  阅读:142
springSide部署出现AnnotationConfigUtils.processCommonDefinitionAnnotations(…) is not public!
AnnotationConfigUtils.processCommonDefinitionAnnotations(…) is not public! Make sure you're using Spring 3.2.5 or better. The class was loaded from fi...
分类:编程语言   时间:2015-04-17 15:27:58    收藏:0  评论:0  赞:0  阅读:2464
iOS 性能提升(参考整理向)
原文:http://www.cocoachina.com/ios/20150225/11163.html1.NSDateFormatterNSDateFormatter对象本身初始化很慢,NSCalendar也是。一半比较好的方式是通过添加属性(推荐)或创建静态变量保证对象只被初始化一次,多次复用。...
分类:移动平台   时间:2015-04-17 15:27:48    收藏:0  评论:0  赞:0  阅读:175
sqlserver 新建只读权限用户
1,新建只能访问某一个表的只读用户。--添加只允许访问指定表的用户:execsp_addlogin'用户名','密码','默认数据库名'--添加到数据库execsp_grantdbaccess'用户名'--分配SELECT整表权限GRANTSELECTON表名TO[用户名]--分配SELECT权限到...
分类:数据库技术   时间:2015-04-17 15:27:38    收藏:0  评论:0  赞:0  阅读:482
kafka文档翻译(一)
原文来自(http://kafka.apache.org/documentation.html)本文只做简单的翻译,水平有限,仅供学习交流使用如有错误,欢迎点评指正1准备开始1.1 介绍kafka是一个分布式的,分区的,复用的日志提交服务。它以一种独特的设计方式提供消息传递系统的功能。首先让我们回顾...
分类:其他   时间:2015-04-17 15:27:18    收藏:0  评论:0  赞:0  阅读:214
IOS开发学习笔记011-核心语法
1、点语法2、成员变量的作用域3、@property和@synthesize点语法点语法的本质还是方法调用1 Person *p = [Person new];2 p.age = 10;//点语法3 p.name = @"li si";//点语法4 //[p setN...
分类:移动平台   时间:2015-04-17 15:27:08    收藏:0  评论:0  赞:0  阅读:150
Servlet详解之两个init方法的作用
在Servlet中javax.servlet.GenericServlet类继承自java.lang.Object实现了Serializable,,servlet ,ServletConfig 三个接口被继承对象javax.servlet.http.HttpServlet(这是我们常用的一个类)但仔...
分类:其他   时间:2015-04-17 15:26:58    收藏:0  评论:0  赞:0  阅读:174
数据库操作(四)、标量函数
标量函数 1、大写:upper(); select upper(列名) from 表名; 2、小写:lower(); select lower(列名) from 表名; 3、截取字符串:substring(); select substring(列名,...
分类:数据库技术   时间:2015-04-17 15:26:48    收藏:0  评论:0  赞:0  阅读:196
word-wrap和word-break的区别
word-wrap:css的 word-wrap 属性用来标明是否允许浏览器在单词内进行断句,这是为了防止当一个字符串太长而找不到它的自然断句点时产生溢出现象。word-break:css的 word-break 属性用来标明怎么样进行单词内的断句。首先,何谓单词内断句?当然这里指的都是西文单词。这...
分类:其他   时间:2015-04-17 15:26:38    收藏:0  评论:0  赞:0  阅读:97
玩转Vim-札记(一)
玩转Vim-札记(一) 简介 在这个蔚蓝色的星球上,流传着两大神器的传说:据说Emacs是神的编辑器,而Vim是编辑器之神。一些人勇敢地拾起了Vim或Emacs,却发现学习曲线陡峭而漫长,还是有一些人留下来了,坚定地守护着这两大神器。一些说葡萄太酸的人想离开又不甘心,总是问:它们到底神在哪里啊?.....
分类:系统服务   时间:2015-04-17 15:26:28    收藏:0  评论:0  赞:0  阅读:229
[转] 设计模式 -- Facade
PS:Façade模式注重简化接口,Adapter模式注重转换接口,Bridge模式注重分离接口(抽象)与其实现,Decorator模式注重稳定接口的前提下为对象扩展功能。Facade模式 Facade模式要求一个子系统的外部与其内部的通信必须通过一个统一的Facade对象进行。Facade模式提....
分类:其他   时间:2015-04-17 15:26:18    收藏:0  评论:0  赞:0  阅读:104
24. Swap Nodes in Pairs
题目:Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Your al...
分类:其他   时间:2015-04-17 15:26:08    收藏:0  评论:0  赞:0  阅读:250
文件的复制贴贴
#include "stdafx.h"#include #include int main(){ FILE *readfile,*writefile; char ch; fopen_s(&readfile,"ReadMe.txt","r"); fopen_s(&writef...
分类:其他   时间:2015-04-17 15:25:58    收藏:0  评论:0  赞:0  阅读:140
SpringSide 部署showcase项目出现 JAX-RS (REST Web Services) 2.0 can not be installed错误!
maven+springmvc错误 JAX-RS (REST Web Services) 2.0 can not be installed项目problem提示错误JAX-RS (REST Web Services) 2.0 can not be installed : One or more co...
分类:编程语言   时间:2015-04-17 15:25:48    收藏:0  评论:0  赞:0  阅读:7460
HackerRank - Even Tree
Typical greedy\recursion algorithm.#include #include #include #include #include #include using namespace std;struct Node{ Node() : pinx(0), nodeCnt...
分类:其他   时间:2015-04-17 15:25:38    收藏:0  评论:0  赞:0  阅读:236
分享:Unity3D模型跟随鼠标移动功能的小脚本 (屏幕坐标和三维空间坐标转换)
using UnityEngine;using System.Collections;public class ModelsPosChange : MonoBehaviour { RaycastHit hit; private Transform Icon; bool isMove...
分类:移动平台   时间:2015-04-17 15:25:28    收藏:0  评论:0  赞:0  阅读:399
IOCP 模型1
// IOCP.cpp : Defines the entry point for the console application.////#include "stdafx.h"#include #include #include #pragma comment(lib, "WS2_32.lib")...
分类:其他   时间:2015-04-17 15:25:18    收藏:0  评论:0  赞:0  阅读:215
单独编译osgQt模块 Qt moc
从alphapixel网站下载了OSG3.0.1VS2010x64版本的库,但是里面不包括osgQt模块,于是得自己编译64位电脑,自己编译好64位Qt4.8.2,假设编译好的64位Qt位置是C:\Qt\build\x64,里面有bin,lib,include(据了解,Qt官网没有提供Qt4.8.2...
分类:其他   时间:2015-04-17 15:25:08    收藏:0  评论:0  赞:1  阅读:1131
sql-定义变量
declare @subject nvarchar(50)set @subject=(select Subject from dbo.Scores where ID=1) --select @subject=Subject from dbo.Scores where ID=1--标量 标量就是单值....
分类:数据库技术   时间:2015-04-17 15:24:58    收藏:0  评论:0  赞:0  阅读:165
【leetcode】Factorial Trailing Zeroes(easy)
Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.思路:编程之美里有,就是找因子5的个数。int trail...
分类:其他   时间:2015-04-17 15:24:48    收藏:0  评论:0  赞:0  阅读:210
2096条   上一页 1 ... 53 54 55 56 57 ... 105 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!