AjaxResponse Trait for CodeIgniter 2

Usage:

Trait

 

Change bitbucket password in sourcetree

Process:

  1. If you choose to remember password,, you need to remove password file:
    https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564

Cube – Mouse move (Drag) to rotate the cube

HTML:

Reference:

Cube – Automatic rotation

Example:

Reference:

three.js

CubeMap

Cubemap是一个由六个独立的正方形纹理组成的集合,它将多个纹理组合起来映射到一个单一纹理。

基本上说CubeMap包含6个2D纹理,这每个2D纹理是一个立方体(cube)的一个面,也就是说它是一个有贴图的立方体。

CubeMap通常被用来作为具有反射属性物体的反射源。

Reference:

 

NestedTree Notes

Wiki:

https://en.wikipedia.org/wiki/Nested_set_model

Update nest_left and nest_right values of all nodes:

Notes:

  • In October CMS, a category must have nest_left and nest_right values or it will cause serious error.