1.加密数据库/*Module 2 Implementing Transparent Data Encryption*/-- 2.1 Create DataBase Master KeyUSE Master;GOCreate Master Key Encryption By Password='Su...
分类:
数据库 时间:
2014-09-01 07:05:32
阅读次数:
265
续上一篇,继续介绍Android系统。上一篇:【译】Android系统简介本文主要介绍构建Android应用的一些主要概念:ActivityActivity是应用程序中一个单独的有UI的页面(screen),例如:在email应用中,会有一个activity用来显示email的列表,还有activi...
分类:
移动开发 时间:
2014-08-31 18:37:41
阅读次数:
250
效果图 部分less代码 @pinet-screen-width:?2880;
.mixin-sorting(@bg)?{
????&.sorting_1?{
????????background-color:?@bg;
????????color:?#3d8dc6;
????????a?{
????...
分类:
Web程序 时间:
2014-08-31 15:57:01
阅读次数:
886
init_map(res_path)1.初始化mapbase的基本信息pos2d screen_area = {1000, 600}; //普通屏幕大小m_spBase->init(screen_area.x / 3, screen_area.y / 3 , //屏幕划分成3*3格子 hea...
分类:
其他好文 时间:
2014-08-29 23:57:48
阅读次数:
470
命名空间:using System.Drawing;using System.Drawing.Imaging;using System.Windows.Forms;相关代码//获得当前屏幕的分辨率Screen scr = Screen.PrimaryScreen;Rectangle rc = scr...
分类:
其他好文 时间:
2014-08-29 14:27:37
阅读次数:
216
tmux 快捷键 =========== @[tmux|快捷键|linux] ####1. tmux简介 ?`tmux`是一个优秀的终端复用软件,类似GNU Screen,但来自于OpenBSD,采用BSD授权。使用它最直观的好处就是,通过一个终端登录远程主机并运行t...
分类:
其他好文 时间:
2014-08-29 13:15:18
阅读次数:
164
[ 问题: ]
Some examples:
"0" => true
" 0.1 " => true
"abc" => false
"1 a" => false
"2e10" => true
Note: It is intended for the problem statement to be ambiguous. You should gather all requirements up front before implementing one....
分类:
其他好文 时间:
2014-08-27 16:43:58
阅读次数:
177
#-*-coding:utf-8-*-importpygamefrompygame.localsimport*fromsysimportexit#thcolors用于加载颜色进来frompygame.colorimportTHECOLORSimporttimepygame.init()screen=pygame.display.set_mode((700,480),0,32)pygame.display.set_caption((r‘python画图工具‘).encode(‘utf-8..
分类:
其他好文 时间:
2014-08-26 19:53:27
阅读次数:
182
在deferred shading 和post process 阶段, 通常要做的一件事情就是讲裁减空间坐标转换到屏幕空间的纹理坐标.这里面通常的做法就是Vertex Shader 输出clip space position 到pixel shader.pixel shader 做除法,然后再 + ...
分类:
其他好文 时间:
2014-08-26 15:10:16
阅读次数:
266
上周,《实现领域驱动设计》(Implementing Domain-Driven Design)一书的作者Vaughn Vernon,发布了Dotsero,这是一个使用C#编写的、基于.NET的Actor模型工具包,它的实现参考了AkkaAPI。Akka工具包是对Actor模型的一种实现,目前为止已...
分类:
Web程序 时间:
2014-08-26 13:37:26
阅读次数:
323