1.移动台的国际身份号码 ISDN(MSISDN) 是在公用交换电话网编号计划中唯一地识别移动电话的鉴约号码,采用 E.164 编码。 CCITT 建议结构为:MSISDN=CC+NDC+SNCC:国家码,即在国际长途电话通信网中的号码,中国为 86; NDC:移动服务访问码,移动为 135——13 ...
分类:
其他好文 时间:
2017-03-15 11:27:13
阅读次数:
318
nginx-t时出现如下错误nginx:[emerg]unknowndirective"geoip_country"in/etc/nginx/nginx.conf:23说明配置文件中调用了geoip相关模块,所以首先保证:nginx-mod-http-geoip或nginx-module-geoip的相关包已经安装完毕;然后在/etc/nginx.conf的配置文件中调用geoip的相关库文件。..
分类:
其他好文 时间:
2017-03-15 10:43:00
阅读次数:
680
在学着写mongodb,用的nodejs。这里我把坑先记录好,以后可以慢慢找。这篇文章也慢慢更,为了篇幅简洁,全部略去对错误的处理。 基础操作: 1.增 插入很简单,inset即可。但是注意回调函数的第二个参数:data,并不是我们插入的数据,而是被包裹了的。这个例子中,我把data的属性名和值都打 ...
分类:
数据库 时间:
2017-03-12 13:44:49
阅读次数:
175
hub n. 毂,木片,中心 1. the central part of a wheel, rotating on or with the axle, and from which the spokes radiate. 2. the effective center of an activity ...
分类:
其他好文 时间:
2017-03-09 11:39:18
阅读次数:
167
与其说是hive的错误,其实也感觉是自己的sql语句的基础不扎实。导致了下面的错误: FAILED: SemanticException [Error 10025]: Line 1:7 Expression not in GROUP BY key ‘country’ 在 hive 里为了查询 cou ...
分类:
其他好文 时间:
2017-03-05 12:29:38
阅读次数:
2670
在使用ajax,我们经常做一个案例:页面加载时,将全国的省份加载进来;若选择省份,则出现本省的所有地市;若选择地市,则出现本地市的所有区县。 今天我用Django和ajax来实现。 第一步:设计数据模型 为了减少表的数量,我设计了一张带有父id的表,为了简单,也有level(0位省份、2地市、3区县 ...
分类:
Web程序 时间:
2017-03-02 23:43:44
阅读次数:
624
打开网址 https://developer.salesforce.com/,点击右上角的Sign up(注册) 在页面输入基本信息 >Name:First(姓名) Last(姓) >Email:自己的邮箱地址 >Role:选择默认Developer >Company:输入公司名字 >Country ...
分类:
其他好文 时间:
2017-03-01 16:47:14
阅读次数:
1227
mysql>selectm.asset_id,m.asset_name,m.director,m.actor,m.country_of_origin,m.years,concat(‘http://192.167.1.120:15414/‘,p.poster_url),m.categoryfromao_movie_tabm,ao_poster_tabpwherem.asset_id=p.asset_idgroupbym.asset_idorderbym.asset_idINTOoutfile‘test.t..
分类:
数据库 时间:
2017-02-28 23:07:20
阅读次数:
1154
1、安装Ubuntu (1) 下载Ubuntu16.04: https://www.ubuntu.com/download/desktop/thank-you?country=CN&version=16.04.2&architecture=amd64 (2) 制作Ubuntu安装盘: 在旧的ubun ...
分类:
系统相关 时间:
2017-02-26 14:06:42
阅读次数:
207
添加用户:$user参数是对象类型的的参数 user_create_user($user) moodle自带的添加用户的函数在:user/lib.php 完整的代码 ...
分类:
其他好文 时间:
2017-02-25 21:33:03
阅读次数:
466