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
| Ming-Mac-mini-2$ script/boxen | |
| --> Hey, I need your current GitHub credentials to continue. | |
| GitHub login: |mingderwang| | |
| GitHub password: ************* | |
| Password for sudo: | |
| Notice: /Stage[main]/Boxen::Config/File[/Users/ming/src]/ensure: created | |
| Notice: /Stage[main]/Boxen::Config/File[/opt/boxen/bin]/ensure: created | |
| Notice: /Stage[main]/Boxen::Config/File[/opt/boxen/data]/ensure: created | |
| Notice: /Stage[main]/Boxen::Config/File[/opt/boxen/data/project-sockets]/ensure: created |
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
| 0. install cocoapod, refer to URL: http://cocoapods.org/ | |
| 1. create a new iOS xcode project. | |
| 2. create a Pofile (filename is Podfile) in that project home directory with following content. | |
| platform :ios, "5.0" | |
| pod do |s| | |
| s.name = 'Facebook-iOS-SDK' | |
| s.version = '3.5.0' | |
| s.platform = :ios |
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
| Application Options | |
| ------------------- | |
| Domain: facebook | |
| Cartridges: jbossews-2.0 | |
| Source Code: http://github.com/hawtio/hawtio-camel-wiki.git | |
| Gear Size: default | |
| Scaling: no | |
| Creating application 'mycamelwiki' ... | |
| The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 5345210b5973cab95d000a23 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c6,c563' /bin/sh -c |
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
| mvn jetty:run [18:30:39] | |
| [INFO] Scanning for projects... | |
| [INFO] | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Building hawtio-camel-wiki 1.0-SNAPSHOT | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] | |
| [INFO] >>> jetty-maven-plugin:7.6.9.v20130131:run (default-cli) @ hawtio-camel-wiki >>> | |
| Downloading: https://repository.jboss.org/nexus/content/groups/ea/io/hawt/hawtio-default/1.2.1/hawtio-default-1.2.1.pom | |
| Downloading: http://repo.maven.apache.org/maven2/io/hawt/hawtio-default/1.2.1/hawtio-default-1.2.1.pom |
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
| jbossas-7 JBoss Application Server 7 web | |
| jboss-dv-6.0.0 (!) JBoss Data Virtualization 6 web | |
| jbosseap-6 (*) JBoss Enterprise Application Platform 6 web | |
| jenkins-1 Jenkins Server web | |
| nodejs-0.10 Node.js 0.10 web | |
| nodejs-0.6 Node.js 0.6 web | |
| perl-5.10 Perl 5.10 web | |
| php-5.3 PHP 5.3 web | |
| zend-5.6 PHP 5.3 with Zend Server 5.6 web | |
| php-5.4 PHP 5.4 web |
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
| osgi:install -s mvn:io.hawt/custom-perspective/1.3-SNAPSHOT/war |
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
| # set the server time to ROC | |
| sudo mv /etc/localtime /etc/localtime.bak | |
| sudo ln -s /usr/share/zoneinfo/ROC /etc/localtime | |
| sudo service ntpd restart | |
| # sync to ntpd server time | |
| sudo ntpd -q | |
| # start ntpd after reboot | |
| sudo chkconfig ntpd on |
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
| <html ng-app> | |
| <head> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.5/angular.min.js"></script> | |
| <link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> | |
| <meta charset=utf-8 /> | |
| <title>Angular JS Demo</title> | |
| </head> | |
| <body> |
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
| iptables -t nat -D PREROUTING -p tcp --dport 80 -j REDIRECT --to 8080. |
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
| Your public key has been saved in /Users/ming/.ssh/id_boot2docker.pub. | |
| The key fingerprint is: | |
| dd:40:e1:48:87:d8:81:62:e8:4d:77:cd:b0:a5:4d:3c ming@ming-desktop | |
| The key's randomart image is: | |
| +--[ RSA 2048]----+ | |
| | . ++B*. | | |
| | . + +.+@E | | |
| | . + o .+ +. | | |
| | . . . o | | |
| | S . . | |