代码改变世界

向量

2016-02-20 22:36 by 紫枫@猎人, 113 阅读, 0 推荐, 收藏, 编辑
摘要:加法 可计算位移 U + V 减法 求得两个向量的方向 U-V = VU using UnityEngine; using System.Collections; public class Test : MonoBehaviour { private Vector3 target = new Vec 阅读全文

Unity3D中的坐标系

2016-02-20 13:03 by 紫枫@猎人, 376 阅读, 0 推荐, 收藏, 编辑
摘要:坐标系包括如下: 世界坐标系 unity3d 采用的是左手法则。 手掌与屏幕平行,大拇指向上,手心朝向自己,四个手指指向x正方向,z为穿过手心指向屏幕的方向,y为大拇指方向。 屏幕坐标系 左下(0,0)右上:屏幕的宽和高 界面坐标系 GUI或NGUI 左上(0,0)右下:屏幕的宽和高 视口坐标系 针 阅读全文

Adempiere 在Ubuntu下的安装方法

2011-12-02 14:48 by 紫枫@猎人, 865 阅读, 0 推荐, 收藏, 编辑
摘要:Adempiere 源自Compiere ,是开源项目中的姣姣者之一,稳定、成熟、功能全面,为中小企业提供了经济的解决方案,无论是流通型、还是制造行业都是不错的选择。 下面详细说说在Ubuntu下的安装方法。 1、从http://sourceforge.net/projects/adempiere/files/下 载最新的安装包,这个安装包是for windows的,下可去找for linux 的,都有提供。经试验在windows 下安装后,直接将它复制到linux(我用的是Ubuntu 10.04)可以用。for linux 的安装包是:Adempiere_360LTS.tar.gz ,直. 阅读全文

PostgreSQL pg_hba.conf 文件简析

2011-12-01 09:18 by 紫枫@猎人, 450 阅读, 0 推荐, 收藏, 编辑
摘要:最近试用PostgreSQL 9.04,将pg_hba.conf配置的一些心得分享。pg_hba.conf是客户端认证配置文件,定义如何认证客户端。下面是常用的pg_hba.conf配置:# TYPE DATABASE USER CIDR-ADDRESS METHOD# "local" is for Unix domain socket connections onlylocal all all ident# IPv4 local connections:host all all 127.0.0.1/32 md5#... 阅读全文

How to install OpenERP 6 on Ubuntu 10.04 LTS Server-2

2011-10-29 13:55 by 紫枫@猎人, 361 阅读, 0 推荐, 收藏, 编辑
摘要:This article follows on (hopefully not unsurprisingly) from part 1.In this post I’ll describe our current way of providing SSL encrypted access to a shiny new OpenERP server running on Ubuntu 10.04 LTS Server.We’re using the Apache webserver to act as a proxy and do SSL termination for web client ac 阅读全文

How to install OpenERP 6 on Ubuntu 10.04 LTS Server--1

2011-10-29 13:54 by 紫枫@猎人, 664 阅读, 0 推荐, 收藏, 编辑
摘要:Recently at work, we’ve been setting up several new instances of OpenERP for customers. Our server operating system of choice is Ubuntu10.04 LTS.Installing OpenERP isn’t really that hard, but having seen several other “How Tos” on-line describing various methods where none seemed to do the whole th. 阅读全文

ADempiere下载地址

2011-08-14 13:09 by 紫枫@猎人, 200 阅读, 0 推荐, 收藏, 编辑
摘要:由于sourceforge无法登陆,只能用ftp下载,地址:1.ftp://ftp.jaist.ac.jp/pub/sourceforge/a/project/ad/adempiere/2.ftp://sourceforge.nchc.org.tw/ 阅读全文

V6.02 中如何可以打印中文

2011-08-10 07:53 by 紫枫@猎人, 241 阅读, 0 推荐, 收藏, 编辑
摘要:下载中文pdf打印模块,解压到addons目录下,更新模块列表,安装pdf_report_zh,base_report_cn 阅读全文

openerp开发环境

2011-07-23 10:26 by 紫枫@猎人, 3532 阅读, 0 推荐, 收藏, 编辑
摘要:近日开始真正地接触Open ERP(下简称OE)的模块开发. 一开始在朋友的推荐下装了一个AllInOne版的OE. AllInOne版的OE适合直接使用者,但对于开发者来说需要Debug时就十分麻烦,也不方法对OE源码的理解.所以这两天还是下了一个源码版的来安装,由于发现网络上对于windows下的源码运行资料并不是很完整,也比较旧,所以自己写了这篇文章来总结一下.首先需要对些概念明确一下:1. 所谓源码安装指的是Server端的源码运行,其它的Web端, Client端一般都还会用安装版;2. 源码运行不一定需要在Eclipse下运行,也可以在CMD下运行,但如果在Eclipse下运行可以 阅读全文