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
export FACTER_id="2" | |
(curl https://gist.githubusercontent.com/marekjelen/abe55f694b1f4a9243d4/raw/setup.sh) | bash |
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
option httpchk GET / | |
http-check expect status 401 |
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
remote: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ldap.so' - /usr/lib64/php/modules/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0 | |
remote: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd.so' - /usr/lib64/php/modules/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0 | |
remote: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd_mysql.so' - /usr/lib64/php/modules/mysqlnd_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 | |
remote: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd_mysqli.so' - /usr/lib64/php/modules/mysqlnd_mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0 | |
remote: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysqlnd.so' - /usr/lib64/php/modules/p |
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
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.18.0.1/lib/active_resource/persistent_connection.rb:186:in `rescue in request' | |
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.18.0.1/lib/active_resource/persistent_connection.rb:148:in `request' | |
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.18.0.1/lib/active_resource/persistent_connection.rb:112:in `block in get' | |
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.18.0.1/lib/active_resource/persistent_connection.rb:284:in `with_auth' | |
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.18.0.1/lib/active_resource/persistent_connection.rb:112:in `get' | |
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.18.0.1/app/models/rest_api/base.rb:496:in `find_one' | |
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.18.0.1/app/models/rest_api/base.rb:476:in `find' | |
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.18.0.1 |
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
cd $OPENSHIFT_DATA_DIR | |
if [ ! -e akka-2.2.3.zip ]; then | |
wget http://downloads.typesafe.com/akka/akka-2.2.3.zip | |
fi | |
unzip akka-2.2.3.zip | |
cd akka-2.2.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
[Unit] | |
Description=WildFly application server | |
After=network.target | |
[Service] | |
Type=simple | |
User=wildfly | |
Group=wildfly | |
ExecStart=/opt/wildfly/bin/standalone.sh |
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
rhc app create ip diy | |
rhc ssh ip | |
scl enable python27 bash | |
cd $OPENSHIFT_DATA_DIR | |
virtualenv ipython | |
cd ipython |
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
import csv | |
writer = csv.writer(open("new_file.csv", "wb")) | |
reader = csv.reader(open("old_file.csv","rb")) | |
for row in cr: | |
row.pop | |
row.pop | |
writer.writerow(row) |
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
#!/bin/bash | |
mkdir -p ${OPENSHIFT_DATA_DIR}erlang | |
if [ ! -e /sandbox/erlang ];then | |
ln -s ${OPENSHIFT_DATA_DIR}erlang /sandbox/erlang | |
fi | |
wget http://erlang.org/download/otp_src_R15B01.tar.gz | |
tar zxf otp_src_R15B01.tar.gz |
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
yum provides rhc | |
Loaded plugins: langpacks | |
rubygem-rhc-1.8.9-1.fc19.noarch : OpenShift Express Client Tools | |
Repo : fedora | |
Matched from: | |
Filename : /usr/bin/rhc | |
rubygem-rhc-1.9.6-1.fc19.noarch : OpenShift Express Client Tools |