码迷,mamicode.com
首页 >  
搜索关键字:use    ( 28727个结果
Perl date time
use Time::HiRes qw(time);use POSIX qw(strftime);my $t = time;my $date = strftime "%Y%m%d %H:%M:%S", localtime $t;$date .= sprintf ".%03d", ($t-int($t)...
分类:其他好文   时间:2014-07-22 22:57:34    阅读次数:179
python pip ez_setup.py
#!/usr/bin/env python"""Bootstrap setuptools installationTo use setuptools in your package's setup.py, include thisfile in the same directory and add ...
分类:编程语言   时间:2014-07-16 17:38:43    阅读次数:309
【游戏科普】使用心理学法则创建优秀的用户界面
There are proven psychological principles to user interfaces that work.Whether you have a team of design experts or are just building with programmer art, you can use these principles to make your gam...
分类:其他好文   时间:2014-07-16 16:33:00    阅读次数:243
FineUI之使用SQL脚本从数据库表中生成相应的输入控件
在WEB开发时,经常需要依据数据库表中的字段建立相应的输入控件,来获取输入的数据。每次都需要按字段来敲,显然太低效,而且容易出错。这里提供一个SQL脚本生成相应输入控件的方法。 USE DBDemo DECLARE @TEMP_TABLE_NAME NVARCHAR(512) DECLARE @WIDTH NVARCHAR(50) SET @TEMP_TABLE_NAME='Stuff' SE...
分类:数据库   时间:2014-07-16 16:22:22    阅读次数:344
sublime搜索和替换--多文件搜索替换
Search and Replace - Multiple Files Searching To open the search panel for files, press Ctrl + Shift + F. You can use thekeyboard to control some search panel options and search actions: ...
分类:其他好文   时间:2014-07-16 16:17:14    阅读次数:212
Writing Portable Programs
Size of Data TypesAlways use sizeof() to get the size of types(sizeof(char), sizeof(short), sizeof(int)...)Do not depend on the order of evaluation in...
分类:其他好文   时间:2014-07-16 15:51:58    阅读次数:191
[转]The culture name list in C#
Culture Names [C#]This example shows how to get all culture names in the .NET Framework. Use static methodCultureInfo.Get­Cultures. To get associated ...
分类:其他好文   时间:2014-07-16 15:25:54    阅读次数:228
SQL 2008 数据库迁移
1,修改迁移路径 USE master GO ALTER DATABASE 数据库名  --主数据 MODIFY FILE(NAME='数据库名', FILENAME='F:\DataBase\数据库名.mdf'); GO ALTER DATABASE 数据库名  --日志数据 MODIFY FILE(NAME='数据库名_log', FILENAME='F:\DataBase\数据...
分类:数据库   时间:2014-07-16 14:39:54    阅读次数:229
SQL 2005 安装数据库镜像教程
最近在搞在SQL 2005安装数据库镜像,中间遇到不少的错误,在此归纳总结,以方便有需要的朋友参考。 直接上脚本,主机部分:---修改数据库为完整恢复模式USE master;ALTER DATABASE CZTestSET RECOVERY FULL;--------创建证书USE master....
分类:数据库   时间:2014-07-16 13:53:49    阅读次数:283
[ACM] hdu 1217 Arbitrage (bellman_ford最短路,判断是否有正权回路或Floyed)
Arbitrage Problem Description Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same currency. For example, ...
分类:其他好文   时间:2014-07-16 10:05:49    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!