This file contains 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/sh | |
echo Changing SSH for Root login | |
sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config | |
systemctl restart sshd | |
systemctl enable sshd | |
echo Starting Docker Services | |
systemctl start docker | |
systemctl enable docker |
This file contains 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
var mongoose = require('mongoose'), | |
cfenv = require("cfenv"); | |
var appEnv = cfenv.getAppEnv() | |
var mongoLabUrl = appEnv.getServiceURL('my-mongo-database'); | |
if (mongoLabUrl == null) { | |
//local or prod development | |
mongoose.connect('mongodb://localhost/my-mongo-database'); | |
} else { | |
//cloud foundry |
This file contains 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
<!-- The hidden div --> | |
<div class="hiddenUL"> | |
</div> | |
<!-- This is a section of list items. There can be multiple unordered lists as long as the class is the same --> | |
<ul class="item_box"> | |
<li class="ViPR SDK Ruby"> | |
<a href="https://github.com/nctiggy/Vipruby"> | |
<div class="item_bg" style="background: url(images/items/vipruby.png) no-repeat center center; background-size: cover;"> | |
<h2>ViPRuby</h2> |
This file contains 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
#Read the how-to at http://www.kendrickcoleman.com/ | |
#this is the clockwork configuration file | |
require File.expand_path('../../config/boot', __FILE__) | |
require File.expand_path('../../config/environment', __FILE__) | |
require 'clockwork' | |
include Clockwork | |
every(30.seconds, 'Running my reoccurring process...') { SiteDatum.myreoccurringprocess } |
This file contains 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
kcoleman-mbp:jsmap1 kcoleman$ phonegap run ios | |
[phonegap] detecting iOS SDK environment... | |
[phonegap] using the local environment | |
[phonegap] compiling iOS... | |
Build settings from command line: | |
ARCHS = i386 | |
CONFIGURATION_BUILD_DIR = /Users/kcoleman/Documents/Aptana Studio 3 Workspace/jsmap1/platforms/ios/build/emulator | |
SDKROOT = iphonesimulator8.1 | |
VALID_ARCHS = i386 |
This file contains 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> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="format-detection" content="telephone=no" /> | |
<meta name="msapplication-tap-highlight" content="no" /> | |
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 --> | |
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> | |
<link rel="stylesheet" type="text/css" href="css/index.css" /> | |
<link href='http://fonts.googleapis.com/css?family=Lobster|Quattrocento+Sans:400,700' rel='stylesheet' type='text/css'> | |
<script type="text/javascript" src="cordova.js"></script> |
This file contains 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
* { | |
-webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */ | |
} | |
html, body { | |
width: 100%; | |
height: 100%; | |
padding-top: 10%; | |
} |
This file contains 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
coleman-mbp:Aptana Studio 3 Workspace kcoleman$ phonegap create newmap5 com.kendrickcoleman.newmap5 newmap5 | |
[phonegap] missing library com.kendrickcoleman.newmap5/www/3.6.0 | |
[phonegap] downloading https://github.com/phonegap/phonegap-app-hello-world/archive/3.6.0.tar.gz... | |
[phonegap] create called with the options /Users/kcoleman/Documents/Aptana Studio 3 Workspace/newmap5 com.kendrickcoleman.newmap5 newmap5 | |
[phonegap] Customizing default config.xml file | |
[phonegap] created project at /Users/kcoleman/Documents/Aptana Studio 3 Workspace/newmap5 | |
kcoleman-mbp:Aptana Studio 3 Workspace kcoleman$ cd newmap5/ | |
kcoleman-mbp:newmap5 kcoleman$ cordova build ios | |
No platforms added to this project. Please use `cordova platform add <platform>`. | |
kcoleman-mbp:newmap5 kcoleman$ phonegap build ios |
This file contains 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
kcoleman-mbp:newmap4 kcoleman$ phonegap run ios | |
[phonegap] detecting iOS SDK environment... | |
[phonegap] using the local environment | |
[phonegap] compiling iOS... | |
Build settings from command line: | |
ARCHS = i386 | |
CONFIGURATION_BUILD_DIR = /Users/kcoleman/Documents/Aptana Studio 3 Workspace/newmap4/platforms/ios/build/emulator | |
SDKROOT = iphonesimulator8.1 | |
VALID_ARCHS = i386 |
This file contains 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
CompileC build/newmap4.build/Debug-iphonesimulator/newmap4.build/Objects-normal/i386/External.o newmap4/Plugins/plugin.google.maps/External.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler | |
cd "/Users/kcoleman/Documents/Aptana Studio 3 Workspace/newmap4/platforms/ios" | |
export LANG=en_US.US-ASCII | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/kcoleman/.rvm/gems/ruby-2.1.2/bin:/Users/kcoleman/.rvm/gems/ruby-2.1.2@global/bin:/Users/kcoleman/.rvm/rubies/ruby-2.1.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/kcoleman/.rvm/bin:/Users/kcoleman/Library/android-sdk-macosx/tools:/Users/kcoleman/Library/android-sdk-macosx/platform-tools" | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=202 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -f |