This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"auto_indent": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/LAZY.tmTheme", | |
"drag_text": false, | |
"find_selected_text": true, | |
"font_face": "Inconsolata", | |
"font_size": 13, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q -O - http://www.atomicorp.com/installers/atomic | sh | |
yum install nginx | |
OR build from source (because 3.5 doesn't support --with-file-aio) | |
* note the 'make' resulted in a number of errors and we abandoned it | |
groupadd nginx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// make it available to yum: | |
echo "### Name: NetDNA RPM Repo | |
### URL: http://repo.netdna.com | |
[netdna] | |
name = NetDNA Repo | |
baseurl = http://master.repo.netdna.com/netdna/$basearch/ | |
enabled = 1 | |
protect = 0 | |
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-netdna |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install YUM on a dv 3.5 | |
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-4.4.2.3-27.el5.i386.rpm http://mirror.centos.org/centos/5/os/i386/CentOS/popt-1.10.2.3-27.el5.i386.rpm http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-libs-4.4.2.3-27.el5.i386.rpm | |
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm | |
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm | |
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm | |
rpm -Uvh --nodeps http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-python-4.4.2.3-27.el5.i386.rpm | |
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/m2crypto-0.16-8.el5.i386.rpm | |
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm | |
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Questions page selected element | |
*/ | |
body { | |
background-color: lightgray; | |
} | |
.arrow_box { | |
padding: 40px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 3 column receipt container | |
*/ | |
section { | |
background-color: darkred; | |
overflow: auto; | |
width: 636px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Popup with Border & child element | |
*/ | |
.arrow_box { | |
padding: 40px; | |
width: 280px; | |
height: 100px; | |
border-radius: 6px; | |
box-shadow: 0 1px 4px rgba(0,0,0,0.3); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Popup with Border | |
*/ | |
.arrow_box { | |
padding: 40px; | |
width: 280px; | |
height: 100px; | |
border-radius: 6px; | |
box-shadow: 0 1px 4px rgba(0,0,0,0.3); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Triangle with Shadow | |
*/ | |
.triangle-with-shadow { | |
width: 100px; | |
height: 100px; | |
position: relative; | |
overflow: hidden; | |
box-shadow: 0 16px 10px -17px rgba(0,0,0,0.5); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define PTM_RATIO 40.0f | |
#define SCREEN_TO_WORLD(n) ((n) / PTM_RATIO) | |
#define WORLD_TO_SCREEN(n) ((n) * PTM_RATIO) | |
#define B2_ANGLE_TO_COCOS_ROTATION(n) (-1 * CC_RADIANS_TO_DEGREES(n)) | |
#define COCOS_ROTATION_TO_B2_ANGLE(n) (CC_DEGREES_TO_RADIANS(-1 * n)) |