摘要:
1.获取系统的BIOS的信息: Get-WMIObject -Class Win32_BIOS 2.获取内存信息: Get-WMIObject -Class Win32_PhysicalMemory 3.查看CPU信息: Get-WMIObject -Class Win32_...
阅读全文
posted @ 2015-07-08 00:55
新猪先生
阅读(4595)
推荐(0)
摘要:
环境:Centos6.6 ,python2.6 准备工作: mysql的安装,以及MySQL-python的安装http://www.cnblogs.com/zychengzhiit1/p/4437310.html 1.创建python 项目 django-admin.py sta...
阅读全文
posted @ 2015-06-29 10:53
新猪先生
阅读(1764)
推荐(0)
摘要:
今晚,在学习Python的时候,(学习链接:http://yidao620c.github.io/blog/20150420/simpleblog-01.html(搭载自己的博客案例)); 想为系统生成数据库: (myvenv)[root@Dapp mysite]# python man...
阅读全文
posted @ 2015-06-29 09:04
新猪先生
阅读(2326)
推荐(0)
摘要:
逻辑:(点击柱形图的某个实例(注意:三个柱子表示的是一个实例)) 参考链接:http://echarts.baidu.com/doc/example/event.html { name: 'cunchu', ...
阅读全文
posted @ 2015-06-29 00:21
新猪先生
阅读(11415)
推荐(1)
摘要:
环境是:Centos6.6 ,python 2.6 今晚,shell 中输入: # ipython manage.py shell 报错,说找不到命令: 我当时,觉得,我有可能没有安装ipython # yum install ipython 安装过后,我再次运行,“ipython m...
阅读全文
posted @ 2015-06-11 23:54
新猪先生
阅读(524)
推荐(0)
摘要:
在做python学习的时候,我照着pdf,敲代码,遇到一大难题: return render_to_response('index.html',{'title':'my page','user':user,'book_list':book_list}) html:{{book_list}} ...
阅读全文
posted @ 2015-06-07 23:01
新猪先生
阅读(2293)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 代理模式{ //追求者的方法 public i...
阅读全文
posted @ 2015-06-05 12:13
新猪先生
阅读(274)
推荐(0)
摘要:
- PK: primary key (column is part of a pk) 主键- NN: not null (column is nullable) 是否为空 (非空)- UQ: unique (column is part of a unique key) 唯一索引 (外键)-...
阅读全文
posted @ 2015-06-04 00:55
新猪先生
阅读(795)
推荐(0)
摘要:
返回用的是 json数据;后台使用的Asp.net MVC,使用了匿名类(主要是为了方便), var newObj = new { yAxis =result.Data.DanweiList, ...
阅读全文
posted @ 2015-05-28 06:12
新猪先生
阅读(14689)
推荐(1)
摘要:
Html:所选时间: ---> 可用时间: 我 在option自定了“tag”属性,目的,是实现opt...
阅读全文
posted @ 2015-05-21 21:49
新猪先生
阅读(366)
推荐(0)