SPECIAL OFFER! .COM just $1.49*! support transfer.

cjcrmn149s  is the coupons code.  i just used it.  2014 is over.  the is the best godaddy coupon code dec 2014.

“Plus ICANN fee of $0.18 per domain name per year. $1.49 price good for the first year of one new or transfer .COM per customer. Additional years or .COMs may be purchased for $9.99 per year. Discounts cannot be used in conjunction with any other offer or promotion. Not all payment methods valid with this offer, acceptable payments will display in cart at checkout. Your discount will be applied in your shopping cart. After the initial purchase term, discounted products will renew at the then-current renewal rate. Go Daddy reserves the right to deny use of this offer and/or cancel domains purchased using this offer if the offer is abused or used fraudulently, as determined by Go Daddy in its sole discretion. ”

special tips,

you should change the money to USD$. instead of CNY.

you should use  a valid us billing address.

if so, you can transfer your .com to godaddy . if you just want to renewal your domain.  take it way to save a little money.!

Did you know that GoDaddy just released their NEW Website Builder? It’s easier to use, has hundreds of new designs, and you get a free domain with each annual plan. All for just $1.00/mo! Use my referral code WOWCNSOFT at checkout to get 35%* off anything else you buy and I’ll earn store credit!

Screen Shot 2014-12-29 at 11.14.28 PM

Read More

unity3d, Creating a new project and importing it to a Subversion repository.

Creating a new project and importing it to a Subversion repository.
例如:创建一个新的项目,并将他导入到Subversion版本库.

First, let’s assume that we have a subversion repository at svn://my.svn.server.com/ and want to create a project atsvn://my.svn.server.com/MyUnityProject. Then follow these steps to create the initial import in the system:

首先,假设我们在svn://my.svn.server.com/上有了一个subversion版本库。并希望创建一个在svn://my.svn.server.com/MyUnityProject的项目,然后按照以下步骤创建初始化导入系统中:

  1. Create a new project inside Unity and lets call it InitialUnityProject. You can add any initial assets here or add them later on.
    在Unity上创建一个叫做InitialUnityProject的新项目,你可以在这里添加任何初始资源或者稍后添加资源。
  2. Enable Meta files in Edit->Project Settings->Editor
    在Edit->Project Settings->Editor上启用Metal files。
  3. Quit Unity (We do this to assure that all the files are saved).
    退出Unity(我们这样做是为了确保所有文件都保存)。
  4. Delete the Library directory inside your project directory.
    删除项目目录中的Library目录。
  5. Import the project directory into Subversion. If you are using the command line client, this is done like this from the directory where your initial project is located:
    导入项目目录到Subversion,如果你使用命令行客户端,像这样从你最初项目所在的目录:
    svn import -m"Initial project import" InitialUnityProject svn://my.svn.server.com/MyUnityProject
    If successful, the project should now be imported into subversion and you can delete the InitialUnityProject directory if you wish.
    如果成功了,项目现在应该是导入到subversion,如果你想你可以删除InitialUnityProject目录。
  6. Check out the project back from subversion
    从subversion中检出项目
    svn co svn://my.svn.server.com/MyUnityProject
    And check that the Assets and ProjectSettings directory are versioned.
    检查Assets和ProjectSettings目录版本。
  7. Open the checked out project with Unity by launching it while holding down the Option or the left Alt key. Opening the project will recreate the Library directory in step 4 above.
    按住Option或左Alt键启动Unity打开检出的项目,打开项目时会重新创建第四步中提到的Library目录。
  8. Optional: Set up an ignore filter for the unversioned Library directory:
    可选项:设置忽略筛选器的没有版本化的Library目录:
    svn propedit svn:ignore MyUnityProject/
    Subversion will open a text editor. Add the Library directory.
    Subversion将会打开一个文本编辑器,添加Library目录。
  9. Finally commit the changes. The project should now be set up and ready:
    最后提交更改,该项目现在已建立并准备就绪了:
    svn ci -m"Finishing project import" MyUnityProject

Read More

Find back svn: Using External Version Control Systems with Unity

Using External Version Control Systems with Unity

Unity offers an Asset Server add-on product for easy integrated versioning of your projects. If you for some reason are not able use the Unity Asset Server, it is possible to store your project in any other version control system, such as Subversion, Perforce or Bazaar. This requires some initial manual setup of your project.

Before checking your project in, you have to tell Unity to modify the project structure slightly to make it compatible with storing assets in an external version control system. This is done by selecting Edit->Project Settings->Editor in the application menu and enabling External Version Control support by selecting Metafiles in the dropdown for Version Control. This will create a text file for every asset in the Assets directory containing the necessary bookkeeping information required by Unity. The files will have a.meta file extension with the first part being the full file name of the asset it is associated with. Moving and renaming assets within Unity should also update the relevant.meta files. However, if you move or rename assets from an external tool, make sure to syncronize the relevant .meta files as well.

When checking the project into a version control system, you should add the Assets and the ProjectSettings directories to the system. The Library directory should be completely ignored – when using external version control, it’s only a local cache of imported assets.

When creating new assets, make sure both the asset itself and the associated .meta file is added to version control.

Example: Creating a new project and importing it to a Subversion repository.

First, let’s assume that we have a subversion repository at svn://my.svn.server.com/ and want to create a project at svn://my.svn.server.com/MyUnityProject. Then follow these steps to create the initial import in the system:

  1. Create a new project inside Unity and call it InitialUnityProject. You can add any initial assets here or add them later on.
  2. Enable Meta files in Edit->Project Settings->Editor
  3. Quit Unity (this ensures that all the files are saved).
  4. Delete the Library directory inside your project directory.
  5. Import the project directory into Subversion. If you are using the command line client, this is done like this from the directory where your initial project is located:
    svn import -m"Initial project import" InitialUnityProject svn://my.svn.server.com/MyUnityProject
    If successful, the project should now be imported into subversion and you can delete the InitialUnityProject directory if you wish.
  6. Check out the project back from subversion
    svn co svn://my.svn.server.com/MyUnityProject
    And check that the Assets and ProjectSettings directory are versioned.
  7. Open the checked out project with Unity by launching it while holding down the Option or the left Alt key. Opening the project will recreate the Library directory in step 4 above.
  8. Optional: Set up an ignore filter for the unversioned Library directory:
    svn propedit svn:ignore MyUnityProject/
    Subversion will open a text editor. Add the Library directory.
  9. Finally commit the changes. The project should now be set up and ready:
    svn ci -m"Finishing project import" MyUnityProject

Page last updated: 2013-05-15

Read More

利用程序彩蛋实现无VPS挂机Vagex赚美元.

今天我将告诉你最无脑的赚美元的方法.

1.需要你在操作VPS挂机VAGEX 赚美元项目.

2.有IOS设备. iphone ipad ipod touch

3.想从繁琐的手工操作中解脱出来.

4. 从AppStore下载 LazySocialTalker.

然后按如下方法操作.

切换到Help界面, 用手指滑动屏幕, 做出 Check的手势.

于是你会看到一个对话框. 提示你 Got Gesture “

切换到Setting界面,  你会看到多了一个 Vagex ID的文本框.  单击后可以编

辑设置为你自己的 Vagex ID

保存后,双击VagexID Item 会自动转向 内嵌的浏览器. 并打开  Vagex.com 提示你登陆. 你输入密码就好了. 记着选择保存登陆信息.后面全靠它了。

开始使用之前, 要到Settings界面里,双击 Facebook 和 Twitter 分别进行授权操作.  授权后,就可以实现一键发送和验证  Vagex的Link 的功能.

于是平时需要几分钟,关键是很繁琐的手动操作 就变得很简单了,  一步就可以达成. !!

上个图

Read More

T容量网盘时代,告诉你什么是真的数据安全.

最近百度 360 算是干起来了, 分别送出总量大概1T的网络硬盘. 但仔细看看获取条件的差别,  分别要被插两次. 要求手机 or  手机号码 or  email  .

首先我做个邪恶的假设, 这两个巨头早就通过数据采集 采集了若干关于你的信息. 但是没有匹配, 这回你自己告诉人家了, 手机 邮件 QQ 的关联. 于是乎所以与你有关的行为数据都很容易被处理了.

包括行为分析 购买趋势预测等等.

我说的了是假设,如有雷同 请勿XX

再来说个国外的mega.nz  目前是新增加支持内容加密的.  我这么理解, 即网盘的运营者是无法直接获取或者解析得到原始存储文件的.   说到这里, 想必大家应该能明白, 你把数据存上去,等于脱光了衣服给别人看.

有个黑手总能看到. 你觉得是安全的吗?

给大家支个招, 所有文件都加密码.  会略微好一些.   比较恶心的就是若干年后 自己把密码忘了…

Read More

Centos 编译安装Python2.6

因为需要在Centos 5.x上安装python2.6 还得保留自带的Python2.4

Linux 系统是自带python的. 但是一般的版本都比较低

如果需要使用高版本的python 则需要自己 编译并安装

编译python 前需要先安装 编译环境

使用  yum install gcc gcc-c++ autoconf automake 来安装编译环境

下载python.

官网的python下载页面打不开了.

http://www.python.org/ftp/python/ 这个地址可以下载python的各个版本

linux使用wget下载python
wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz

解压python
tar xzf Python-2.6.6.tgz
cd Python-2.6.6

编译安装python
./configure –prefix=/usr/local/python2.6
make
make install

创建一个python2.6的链接
ln -sf /usr/local/python/bin/python2.6 /usr/bin/python2.6

完成后就可以在命令行中输入 python2.6 运行刚刚安装的python2.6.6 版本

Read More

会Python的弟兄们,kivy来了 ios andriod 啥的都很Easy

Kivy 是一套 Python 下的跨平台快速应用开发框架,对于多点触控有着良好的支持。不用深入学习 Java 或 Object C 即可开发流行智能手机平台应用。亮点是语法用Python 稍微学习一下kivy的框架Api. 会C++用cocos2d. 会Python 也有了选择. 会Delphi可以选Delphi Xe4 . 跨平台真是百花齐放.

Kivy 依据允许商业使用 LGPLv3 协议发布,支持 Linux, Windows, MacOSX, Android 和 iOS 平台,原生支持各个平台的输入设备协议,包括多点触控;其图形核心围绕 OpenGL ES2 构建,可以充分利用目标平台的 GPU 加速。其 1.6.0 版本带来了如下特性:

  • 允许自定义顶点类型,初步实现 3D 支持。
  • 支持材质平整化,在 PowerVR 设备上支持 PVRTC 压缩算法。
  • 文本渲染引擎改善,微调核心文本标签空间。

 

适用于多个 Linux 发行版及 Win 和 OS X 的下载

Android 版本演示

iOS 下使用 Kivy 编写的游戏

Read More

New Relic 提供在线的Python 性能分析可视化方案.无所不能的样子.服务器移动web通吃.

今天其实是从 PyCon Us 2013开始 https://mark-ransom-pycon-2012-notes.readthedocs.org/en/latest/friday/session_6.html  ,找到 RunSnakeRun  看到 x-ray  又找到 New Relic.  于是下午就试着配置了一下. 感叹自己的孤陋寡闻.

我是装的Python 的Agent .

https://pypi.python.org/pypi/newrelic 找到下载链接.

wget https://pypi.python.org/packages/source/n/newrelic/newrelic-1.13.1.31.tar.gz#md5=dc68d0151e7ed794bc8532792edac257 –no-check-certificate  下载到server上.

tar -zxvf  newrelic-1.13.1.31.tar.gz

python setup.py install

安装之.

回到 New Relic 的 Dash Board . Application 那里选择 Python

执行

newrelic-admin generate-config 10f5cdf19c95aaa9a1d7dc42fc675dc(这里是你的Key)   newrelic.ini

配置原有python 服务器的启动脚本.

NEW_RELIC_CONFIG_FILE=newrelic.ini
export NEW_RELIC_CONFIG_FILE
nohup newrelic-admin run-program python works/sgslab/simpleSGS2.py &

此时,NewRelic 面板还没有提示有新的Application加入.  于是我手动访问了一下我的Python 应用.  很快就加入了. 至此完整的连接到 New Relic 了. 的确很强大, 原理应该是用Agent 采集数据. 然后服务端UI 解析.

Mark 一下.  x-ray  thread profile

NewRelic 支持的很多, 从服务器 到应用 到移动的应用 . 在线的追踪和统计用户的数据. 很强大.

Read More

AWS云主机的Instancecore存储 使用注意

Instancecore  这种类型的存储 更像是内存存储. in memory 的.  你的Instance Stop了以后 数据就没了. 如果是restart 操作的话 数据还在. 所以如果想100%保留数据 要用 ebs 的. Root用ebs的. 数据也用ebs 的

这是为了保存数据和迁移. 如果不需要保存的数据 比如日志 就可以放到Instancecore 上, 但是目录结构也会丢失, 很烦人.

另外, 我选配 m1.xlarge 默认会带 489G的Intance core ,以为直接可以使用的. 结果开机后看不到, 原来是要自己mount一下.  另外有时候 Root 空间虽然设置了50G 默认是8G , df  看到的还是8G  需要运行 resizefs 命令来扩展.

否则不会自动变大的.  我是用了默认的AMI镜像时遇到这个问题的.

Read More