12 2011 档案
摘要:中国LBS开始深度洗牌:50家公司现仅剩15家2011-12-26 09:51|6601次阅读|来源:21世纪经济报道【已有9条评论】发表评论关键词:LBS,位置服务|作者:辛苑薇|收藏这篇资讯伴随着“Foursquare效应”褪色,疯狂泡沫退去后,中国LBS公司们冷静下来,开始反思一个不可逃避的问题——LBS的“钱景”在何方?中国LBS的燥热始于2010年。如同中国一贯“洋为中用”的互联网模式,受美国Foursquare公司刺激,国内一夜之间曾冒出几十家产品单一、同质化严重的LBS公司。诞生较早、发展较快的公司有:街旁网、切客网和嘀咕网等公司。这些Foursquare拥趸曾经不无自豪地宣称:
阅读全文
摘要:Ubuntu 10.10/11.10下安装与配置Squid代理软件2011年10月10日 星期一 19:30Squid是一种在Linux系统下使用的优秀的代理服务器软件,其功能类似于Windows下的CCProxy、WinGate或SyGate等。下面介绍在Ubuntu 10.10下如何配置与使用Squid。1.安装。在Ubuntu的源中具有squid的稳定版,所以直接在线安装即可。在终端中,输入命令:sudo apt-get install squid2.配置。默认情况下,Squid无法使用,因此需要配置。其配置文件为:/etc/squid/squid.conf,其默认的配置文件较复杂,以下
阅读全文
摘要:Linux:Ubuntu 11.04/11.10下安装极点五笔输入法时间:2011-06-22 Tag:linux 安装 输入法 极点五笔 刚刚安装好了 Ubuntu 11.04,但是没有五笔的日子实在不好过,WINDOWS下用习惯了极点五笔,本以为极点的作者不出Linux版的,结果在网上一搜,居然有高手想到引用极点五笔的字典实现可以同时打拼音和五笔,废话少说,下面看如何操作:ibus下用法在终端中执行如下操作sudo wget http://www.xiit.cn/wp-content/uploads/2011/03/vissible-ibus.tar.gztar -zxvf vissib.
阅读全文
摘要:MySQL安装指南出自Ubuntu中文安装MySQL sudo apt-get install mysql-server 这个应该很简单了,而且我觉得大家在安装方面也没什么太大问题,所以也就不多说了,下面我们来讲讲配置。 配置MySQL 注意,在Ubuntu下MySQL缺省是只允许本地访问的,如果你要其他机器也能够访问的话,那么需要改变/etc/mysql/my.cnf配置文件了!下面我们一步步地来:默认的MySQL安装之后根用户是没有密码的,所以首先用根用户进入: $mysql -u root 在这里之所以用-u root是因为我现在是一般用户(firehare),如果不加-u root的话
阅读全文
摘要:一.Alerts 和 Metrics说明官方链接:Monitoring and Tuning the Databasehttp://docs.oracle.com/cd/E11882_01/server.112/e10897/montune.htm#CACCIHAB Alerts help you monitor your database. Most alerts notify youof when particularmetric thresholds are exceeded.For each alert, you can set critical and warning thresho
阅读全文
摘要:官网的链接:Overview of PL/SQLhttp://docs.oracle.com/cd/E11882_01/appdev.112/e25519/overview.htmServer-Side Programming: PL/SQL and Javahttp://docs.oracle.com/cd/E11882_01/server.112/e25789/srvrside.htm一.PL/SQL 定义 PL/SQL is theOracle Database procedural extension to SQL. PL/SQL is integrated with thedatab
阅读全文
摘要:基于MDA的移动应用开发建模及实现http://www.doc88.com/p-579399842974.html
阅读全文
摘要:在之前的Blog里提到了VBox 的4中网络类型:NATBridged AdapterInternalHost-onlyAdapter具体参考:Oracle Virtual Box 安装使用 说明http://blog.csdn.net/tianlesoftware/article/details/6826389 今天升级了一个VBox 到4.1.8,在这个版本中对网络这块有加强,增加了UDP的支持,升级之后看了下Vbox,多了一种Generic Driver,因为之前没有留意是否有这种模式,所以这里也不能确定GenericDriver 是新版本里才有的。 不过查看了参考文档,确实有了增加的内
阅读全文
摘要:一.相关概述在之前的Bulk的那篇blog里提到了Oracle 的2个引擎:PL/SQL 引擎和SQL 引擎。Oracle PL/SQL 优化与调整 -- Bulk 说明http://blog.csdn.net/tianlesoftware/article/details/6578351 Oracle使用2个引擎来执行SQL和代码块:SQL引擎和PL/SQL引擎,Oracle使用这2个引擎来执行PL/SQL blocks和subprograms。那么在执行的时候,PL/SQL引擎把DML语句发送给SQL引擎,然后由SQL引擎执行,执行完毕后,SQL引擎把结果集在发送给PL/SQL引擎。因此在不
阅读全文
摘要:官网的链接:http://docs.oracle.com/cd/E11882_01/server.112/e16638/instance_tune.htm#PFGRF13015一.Instance Recovery Instance andcrash recovery are the automatic application of redo log records to Oracle datablocks after a crash or system failure. During normal operation, if an instanceis shut down cleanly (
阅读全文
摘要:一.官网说明Using Oracle Managed Fileshttp://docs.oracle.com/cd/E11882_01/server.112/e25494/omf.htm#ADMIN0031.1 What Are Oracle Managed Files?官网链接:http://docs.oracle.com/cd/E11882_01/server.112/e25494/omf001.htm#i1006122 UsingOracle Managed Files simplifies the administration of anOracle Database. Oracle
阅读全文
摘要:官网链接如下:http://docs.oracle.com/cd/E11882_01/install.112/e24321/appendix_ofa.htm#i633068一.Overview of the Optimal Flexible Architecture Standard The Optimal Flexible Architecture standard helps you to organize database software andconfigure databases to allow multiple databases, of different versions,
阅读全文
摘要:一.默认表空间说明 在oracle9i中,如果未用 DEFAULT TABLESPACE 子句创建的所有用户将以SYSTEM表空间作为它们的默认表空间。同时也不能为数据库指定一个默认的表空间。 在Oracle 10g中定义了数据库级别的默认表空间USERS,在创建用户时没有定义默认表空间,就会把数据库级别的默认表空间当作自己的默认表空间。在10g以前,是把系统表空间(SYSTEMS)当作默认表空间。这样很不合理。 可以使用如下命令查看默认表空间:/* Formatted on 2011/12/19 15:57:48(QP5 v5.185.11230.41888) */
SELECT PROPE
阅读全文
摘要:一.官网说明MOS 上的一篇文章: Setting Listener Passwords With an Oracle10g or Newer Listener [ID 260986.1]这里面提到如下内容: In Oracle 10gand newer versions of the listener, the listener is secure out of the box.There should be no need to set a listener password to prohibit privilegedLSNRCTL commands from being execute
阅读全文
摘要:之前整理的相关链接:Oracle 监听(Listener) 中services 说明http://blog.csdn.net/tianlesoftware/article/details/6617827Oracle Listener 动态注册 与 静态注册http://blog.csdn.net/tianlesoftware/article/details/5543166OracleDedicated server 和Shared server(专用模式 和 共享模式) 说明http://blog.csdn.net/tianlesoftware/article/details/5695784官
阅读全文
摘要:本本买了已经2年了,电池损耗就很大,用软件检测,损耗有达70%,昨天居然连开机都不行,而且也不能完成充电操作。 看来需要更换电池了。 从网上准备了一些资料,以免明天去百脑汇被人宰了。内容转自:http://www.pcpop.com/doc/0/413/413518_all.shtml 对于笔记本电脑来说,电池的重要性不言而喻。如果没有电池,笔记本电脑也就变成台式机或者一体机了。笔记本电池内部由电芯和保护板组成,电芯负责蓄电工作,保护板负责安全工作。电芯属于消耗品,每用一次都会造成容量上的衰减,它的好坏直接决定笔记本电池的好坏。 笔记本电池续航时间变短、笔记本电池无法使用、笔记本电池突然掉电.
阅读全文
摘要:在AWR中,如果有部分选项是:Nodata exists for this section of the report.那么属正常现象。如:那么现在看一个有数据的AWR:在下面的这个图中就显示了显示的条件:(1)SQL orderedby Sharable Memory:Only Statements with Sharable Memory greater than 1048576 are displayed(2)SQL orderedby Version Count:Only Statements with Version Count greater than 20 are display
阅读全文
摘要:一.客户端使用expdp/impdp说明有关Oracle expdp/impdp 命令之前也整理了一些文档,链接如下:exp/imp 与 expdp/impdp 对比 及使用中的一些优化事项http://blog.csdn.net/tianlesoftware/article/details/6093973Oracle 10g Data Pump Expdp/Impdp 详解http://blog.csdn.net/tianlesoftware/article/details/4674224Oracle expdp/impdp 使用示例http://blog.csdn.net/tianleso
阅读全文
摘要:"const char *p" 和 "char * const p" 有何区别?"const char *p" (也可以写成 "char const *p") 声明了一个指向字符常量的 指针, 因此不能改变它所指向的字符;"char * const p" 声明一个指向 (可变) 字符的指针常量, 就是说, 你不能修改指针。``从里到外" 看就可以理解它们;
阅读全文
摘要:在我们创建实例的时候可以保存为模板,其实也可以直接用DBCA命令来创建我们的实例模板,并且利用这个功能进行实例的复制。只是这个功能很少被关注。这里我们选择ManageTemplate:注意创建模板的三种类型,官网也有相关的说明:Installing Oracle Database and Creating aDatabasehttp://docs.oracle.com/cd/E11882_01/server.112/e10897/install.htm#ADMQS023(1)From an existing template Using anexisting template, you can
阅读全文
摘要:一.OracleValidated Configurations 说明Oracle 官网有一个对应的FAQ说明,链接如下:FAQ - Oracle Validated Configurationshttp://www.oracle.com/technetwork/server-storage/linux/validated-configurations-faq-090615.html1.1 What are OracleValidated Configurations? Oracle ValidatedConfigurations enable easier, faster, and lowe
阅读全文
摘要:Oracle 安装用户组的创建在官方文档有说明,这里把这部分内容单独拿出来说明一下。一.官网说明From:http://docs.oracle.com/cd/E11882_01/rac.112/e17264/preparing.htm#TDPRC1291.1 Required Operating System Users and GroupsTo install theOracle Grid Infrastructure for a cluster software and Oracle RAC, you mustcreate the following operating system gr
阅读全文
摘要:针对Oracle 11g 之前版本的行列转换,之前整理过一篇文档:Oracle 行列转换 总结http://blog.csdn.net/tianlesoftware/article/details/4704858在Oracle 11g中,Oracle 又增加了2个查询:pivot 和 unpivot。pivot:行转列unpivot:列转行在官网上有一点介绍这两个函数的使用文档:http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_10002.htm#SQLRF01702不过也不详细,google 一下,网上有一篇比较
阅读全文
摘要:先看我们的数据:SQL> select count(1) from dave where cust_tel like '0551%';COUNT(1)----------2723在我们的Dave表里,cust_tel 电话以0551 开头的有2723条记录,现在我们把这些记录换成0556.我们使用如下方法测试一下:SQL> select * from v$version; BANNER
----------------------------------------------------------------------
Oracle Database 11g
阅读全文
摘要:Oracle Aggregate Functions用过很多,官网的说明如下:Aggregate Functionshttp://docs.oracle.com/cd/E11882_01/server.112/e26088/functions003.htm#SQLRF20035 Aggregatefunctions return a single result row based on groups of rows, rather than onsingle rows. Aggregate functions can appear in select lists and inORDERBYan
阅读全文
摘要:对于DBA 来说,这2个命令都不陌生,用这2个命令都可以收集表的统计信息。 这篇主要看一下这2个命令的区别。相关内容参考:Oracle Analyze 命令 详解http://blog.csdn.net/tianlesoftware/article/details/7055164Oracle Statistic 统计信息 小结http://blog.csdn.net/tianlesoftware/article/details/4668723Oracle 判断 并 手动收集 统计信息 脚本http://blog.csdn.net/tianlesoftware/article/details/6
阅读全文
摘要:ArcGIS Server 10.1新特性ArcGIS Server 10.1新特性ArcGIS Server 10.1是ArcGIS Server的新一代产品。它包含了一系列架构上的提升以为所有的GIS服务和ArcGIS Server框架增强ArcGIS Server 10.1的性能,持久性以及可伸缩性。下面列出了一些亮点以及相关的链接将给你更多的信息。架构·安装区分为Windows或Linux以前,我们提供了ArcGIS Server的两种安装:基于Microsoft .NET框架的ArcGIS Server以及基于Java平台的ArcGIS Server。在10.1中,安装根据
阅读全文
摘要:c/c++编写window服务的授权服务(四)定义客户端访问服务授权服务的源代码头文件 stdafx.h// stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
// #pragma once
#include <winsock2.h>
#include <stdio.h> #include <stdlib.h> #include "targetver.h"
#include <tchar.h> #include <fstream>
#include &l
阅读全文
摘要:c/c++编写window服务的授权服务(三)//实现授权服务的函数体LicenseService.cpp#pragma once
#include "LicenseService.h"
#include "hex_md5.h" //安装入口点
void main(int argc, char* argv[])
{ //初始化全局变量 //获取exe所在目录 CurExeDir=GetCurDir(); //printf("\n当前exe所在目录为:%s\n",CurExeDir); //获取ServerConfig.ini配置参数并
阅读全文
摘要://c/c++编写window服务的授权服务(二)//定义授权服务的头文件LicenseService.h#pragma once
//建立工程:win32控制平台应用程序
//LicenseService.cpp
//用C/C++编写的Window服务一例
//安装与反安装批处理.bat
//方法一:
//echo sc delete LicenseService
//echo sc create LicenseService binpath= E:\Debug\LicenseService.exe
//方法二:
//LicenseService.exe uninstall
//Licens
阅读全文
摘要://#include "hex_md5.h"//C/C++写的md5加密函数
/**
* MD5制作函数,兼容PHP
* @author wangzebin */ #include <stdio.h>
#include <stdlib.h>
#include <string.h>
//#include "syslog.h" /* * Convert an array of little-endian words to a hex string. */
int binl2hex( int *src, char *dst,
阅读全文
摘要:1.十几乘十几:口诀:头乘头,尾加尾,尾乘尾。例:12×14=?解: 1×1=1 2+4=6 2×4=812×14=168注:个位相乘,不够两位数要用0占位。输出格式:一个数x另一个数=计算机值=速算值10x10=100=10010x11=110=11010x12=120=12010x13=130=13010x14=140=14010x15=150=15010x16=160=16010x17=170=17010x18=180=18010x19=190=19011x10=110=11011x11=121=12111x12=132=13211x13=143=
阅读全文
摘要:<html>
<head>
<meta http-equiv="content-type" content="text/html";charset="utf-8" />
</head>
<body>
1.十几乘十几:<br>
口诀:头乘头,尾加尾,尾乘尾。<br>
例:12×14=?<br>
解: 1×1=1<br> 2+4=6<br> 2×4=8<br> 12×1
阅读全文