Skip to content

Instantly share code, notes, and snippets.

鲁蒙 belm

Block or report user

Report or block belm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@belm
belm / gist:e9fb50815c4a5e438f70
Created May 23, 2015
centos yum install apache maven
View gist:e9fb50815c4a5e438f70
wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
yum install apache-maven
@belm
belm / gist:7040715
Last active Dec 25, 2015
windows 安装apache + php + mysql
View gist:7040715
主要是
①php.ini 修改php根目录下面的配置文件 为php.ini
②php.exe所在目录 加入环境变量 path
③httpd.conf 添加php扩展dll
LoadModule php5_module "C:/php/php5apache2.dll"
AddType application/x-httpd-php .php
绿色版 apache 修改项目路径
④启动apache 和启动windows的PHP文件夹里面的php-cgi
@belm
belm / gist:7035308
Created Oct 18, 2013
Mark Sprite touchable
View gist:7035308
// Make hero touchable
auto listener1 = EventListenerTouch::create(Touch::DispatchMode::ONE_BY_ONE);
listener1->setSwallowTouches(true);
listener1->onTouchBegan = [](Touch* touch, Event* event){
auto target = static_cast<Sprite*>(event->getCurrentTarget());
Point locationInNode = target->convertToNodeSpace(touch->getLocation());
Size s = target->getContentSize();
@belm
belm / gist:7024451
Created Oct 17, 2013
如何彻底隐藏iOS7应用的status bar
View gist:7024451
还是回到Info.plist,然后添加一个新的row,"View controller-based status bar appearance",然后把键值设置为NO.
再测试,终于ok了。
@belm
belm / gist:7007763
Last active Jun 20, 2017
Bootstrap 模板或者一些漂亮的站点
View gist:7007763
https://wrapbootstrap.com/
https://wrapbootstrap.com/theme/ace-responsive-admin-template-WB0B30DGR
这有一些theme
http://wrapbootstrap.com/
http://ajkochanowicz.github.com/Kickstrap/index.html
http://bootswatch.com/
@belm
belm / github_member_developer
Last active Oct 15, 2019
GitHub 多人协作开发
View github_member_developer
GitHub 多人协作开发 三种方式:
一、Fork 方式 网上介绍比较多的方式(比较大型的开源项目,比如cocos2d-x)
开发者 fork 自己生成一个独立的分支,跟主分支完全独立,pull代码后,项目维护者可根据代码质量决定是否merge代码
此方式网上方法比较多,这里不详细描述
有两种常用的方法在GitHub上建立团队合作:
二、组织 – 组织的所有者可以针对不同的代码仓库建立不同访问权限的团队。
Accounts Settings => Organizations =>Create new Organizations 新建一个组织 然后添加项目成员,根据提示设置完毕即可。
新建一个Repository 新建完毕后 进入Repository的Settings =>Collaborators 在Teams下面点击刚创建的组织 比如eveloper-51/owners
@belm
belm / gist:6987213
Created Oct 15, 2013
使用python脚本 创建cocos2d-x 3.0 多平台项目
View gist:6987213
python create-multi-platform-projects.py -p Shoot -k com.belmeng.shoot -l cpp
View gist:6986799
I know what it can do ,its very good ,I like it! fast
You can’t perform that action at this time.