自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (3)
  • 收藏
  • 关注

原创 Linux下修改MySQL用户root的密码

装完ubuntu server-11.04忘记刚刚设计的密码,于是就在网上找了解决方案。以下为操作全过程[code="shell"]sudo /etc/init.d/mysql stop[/code]Rather than invoking init scripts through /etc/init.d, use the service(8)utility, e.g. servi...

2011-06-17 18:00:55 132

原创 获取Google Map坐标

1 打开 http://ditu.google.com/maps2 找到你要获得坐标的地点, 把他置于屏幕中央3 在浏览器栏输入 [code="javascript"]javascript:void(prompt('',gApplication.getMap().getCenter()));[/code]...

2010-11-18 17:08:12 156

原创 三种方式查询A表的数据没有出现在B表的数据中(not in, left join, not exists)

A表(users)字段: uid int not null primary key, uname nvarchar(30) not nullB表(results)字段: rid int not null primary key, uid int not null(引用users表的uid)查询A表中的数据没有出现在B表中1.使用 not in[c...

2010-10-27 23:30:15 811

原创 分组统计商品一星期每天的销售情况

商品销售表(orders)字段: 订单号(order_id int) 商品名(product_name nvarchar) 销售时间(sale_date int)记录星期如(1,2,3,4,5,6,7) 销售数量(sale_count int)查询商品一星期每天的销售记录,如下方式显示[table]|product_name|Sun|Mon|Tue|We...

2010-10-27 15:25:51 938

原创 [[1,2],[3,4],[5,6]] 转 [1,2,3,4,5,6]

方案一:[code="Python"]l = [[1,2],[3,4],[5,6]][l[i/2][i%2] for i in range(0,len(l*2))][/code]方案二:[code="Python"]sum([[1,2],[3,4],[5,6]],[])[/code]刚刚学习Python.

2010-09-09 20:40:47 247

pdf2jpg注册码

pdf to jpg converter 注册码, 完美注册!

2011-05-24

Microsoft ExpressionStudio_UltimateTrial 4 简体中文正式版注册密匙

ExpressionStudio_UltimateTrial 4 简体中文正式版注册序号,本人已经安装,绝对激活永久使用!! Microsoft Expression Blend 4 Micros

2010-11-22

MySQL-python-1.2.3c1.win32-py2.6.exe

MySQL-python-1.2.3c1.win32-py2.6

2010-09-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除