Weapon.inc 1 new const m_flNextAttack = 83 2 new const m_flVelocityModifier = 108 3 new const m_iTeam = 114 4 new const m_iAccount = 115 5 new co...
分类:
其他好文 时间:
2014-12-13 21:41:33
阅读次数:
232
filter-json:http://www.logstash.net/docs/1.4.2/filters/jsonjson数据:{"account_number":995,"balance":21153,"firstname":"Phelps","lastname":"Parrish","age":25,"gender":"M","address":"666MillerPlace","employer":"Pearlessa","email":"phelpsparrish@pearlessa.co..
分类:
Web程序 时间:
2014-12-13 06:21:29
阅读次数:
176
原文: Windows下C语言的Socket编程例子(TCP和UDP) 刚刚学windows编程,所以想写学习笔记,这是一个简单的Socket程序例子,开发环境是vc6:
首先是TCP
server端:
#include "stdafx.h"
#include #include #pragma co...
分类:
编程语言 时间:
2014-12-12 18:28:05
阅读次数:
221
'', 'supplier'=>''); //初始化变量 //根据淘宝的数据库调用返回值 $url = "http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=".$mobile."&t=".time(); $co...
分类:
移动开发 时间:
2014-12-12 18:24:15
阅读次数:
227
Systemd -?http://www.ibm.com/developerworks/cn/linux/1407_liuming_init3/index.html UpStart -?http://www.ibm.com/developerworks/cn/linux/1407_liuming_init2/index.html sysvinit -?http://www.ibm.co...
分类:
系统相关 时间:
2014-12-12 17:11:22
阅读次数:
275
#!/usr/bin/pythonimportMySQLdbimportpycurldefmaster_work(ip,port):printip,portconn=MySQLdb.connect(host=str(ip),user=‘***‘,passwd=‘****‘,port=int(port))cur=conn.cursor(cursorclass=MySQLdb.cursors.DictCursor)cur.execute(‘showstatus;‘)result=cur.fetchall()#co..
分类:
数据库 时间:
2014-12-12 17:06:30
阅读次数:
241
最近在访问一些网站时,经常页面闪现一下,然后就被重定向到一个丑陋异常的页面,显示:
“尊敬的用户:您访问的域名有误或网页不存在,您可以使用我们提供的以下服务”
具体如下图:
打开Chrome的开发者工具,查看Nerwork Log(勾上Preserver Log复选框),找到当前页面的启动器(initiator),发现是来自
http://www.facebook.co...
分类:
其他好文 时间:
2014-12-12 16:41:54
阅读次数:
153
Linux 驱动模型初探2——device_driver
1,思考
device_driver也是一个kobject?,但你注意没有,在sys/目录下有bus/,有device/就是没有device_driver/,Y?为什么这么设计?
先看struct devic_driver;
struct device_driver {
co...
分类:
系统相关 时间:
2014-12-12 13:21:36
阅读次数:
315
/// /// 数据备份 /// /// public bool DataBackup(string getpath) { try { SqlConnection con = new SqlConnection();//利用代码实现连接数据库 con.ConnectionString = Co...
分类:
数据库 时间:
2014-12-12 11:29:00
阅读次数:
322
maya文件.mb是可以直接拖入unity里的。 maya曲线模型不能在unity显示,unity不支持NURBS结构,换成polygon则无事。 NURBS转成polygon方法是: 1.先选中物体,在window-outliner,打开大纲列表,点击物体名字, 2.modify-co...
分类:
编程语言 时间:
2014-12-12 11:22:55
阅读次数:
540