Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh root@123.123.123.123
Add ssh fingerprint and enter password provided in email
| #!/bin/bash -e | |
| clear | |
| echo "============================================" | |
| echo "WordPress Install Script" | |
| echo "============================================" | |
| echo "Database Name: " | |
| read -e dbname | |
| echo "Database User: " | |
| read -e dbuser | |
| echo "Database Password: " |
| #!/bin/bash -e | |
| clear | |
| echo "============================================" | |
| echo "WordPress Install Script" | |
| echo "============================================" | |
| echo "Do you need to setup new MySQL database? (y/n)" | |
| read -e setupmysql | |
| if [ "$setupmysql" == y ] ; then | |
| echo "MySQL Admin User: " | |
| read -e mysqluser |
| <StoreWithRecentDeals:0x000000086659d8 @stores=#<ActiveRecord::Relation [#<Store id: 2321, name: "89", lat: nil, long: nil, created_at: "2015-04-10 04:55:44", updated_at: "2015-04-16 04:44:32", address: "88 Albert Street, Auckland, Auckland 1010, New Zea...", store_icon_id: nil, phone: nil, opening_hours: nil, website: nil, tags: nil, popularity: nil, ps_page_url: nil, ps_id: nil, latitude: #<BigDecimal:80e95b8,'-0.368480928E2',18(27)>, longitude: #<BigDecimal:80e9400,'0.1747636569 9999997E3',27(27)>, icon_klass: "icon-Clothing-Store", icon_colour: "yellow", likes_count: nil, uid: "fb760f16dbc1cd89cd9140fb313a3afba17ec56c", shorten_url: "http://bit.ly/1J5vaKT", chat_id: 2>, #<Store id: 2277, name: "343", lat: nil, long: nil, created_at: "2015-03-30 09:16:39", updated_at: "2015-04-04 22:15:21", address: nil, store_icon_id: nil, phone: "3", opening_hours: "3", website: "3", tags: nil, popularity: nil, ps_page_url: nil, ps_id: nil, latitude: #<BigDecimal:80e2c68,'-0.3684799806 043894E2',27(27)>, longitude: #<Big |
| angular.module('CordovaGoogleMap', []).factory("mapService", function($rootScope, $timeout){ | |
| var map = undefined; | |
| var center = undefined; | |
| var defaultZoom = 15; | |
| function initialize (div, coords, zoom, _callback){ | |
| if (!coords){ | |
| coords = $rootScope.currentLocation; | |
| } |
| app.directive('infiniteScroll', [ | |
| '$rootScope', '$window', '$timeout', function($rootScope, $window, $timeout) { | |
| return { | |
| link: function(scope, elem, attrs) { | |
| var checkWhenEnabled, handler, scrollDistance, scrollEnabled; | |
| $window = angular.element($window); | |
| elem.css('overflow-y', 'scroll'); | |
| elem.css('overflow-x', 'hidden'); | |
| elem.css('height', 'inherit'); | |
| scrollDistance = 0; |
| .factory("HomeService", [ | |
| "$http", "$q", function($http, $q) { | |
| var _dataFactory; | |
| var _data = []; | |
| var _currentPage = 0; | |
| var _totalPage = 1; | |
| _dataFactory = {}; | |
| _dataFactory.data = function(){ | |
| return _data; |
| .config([ | |
| '$httpProvider', function($httpProvider, $injector) { | |
| var interceptor; | |
| interceptor = [ | |
| '$injector', '$rootScope', '$q', function($injector, $rootScope, $q) { | |
| var error, success; | |
| success = function(response) { | |
| // console.log(response); | |
| return response; | |
| }; |
| -pre-compile: | |
| [echo] Set jars path to: /home/cui/Desktop/workspace/itrade-cli/platforms/android/CordovaLib/ant-build/classes.jar | |
| -compile: | |
| [javac] Compiling 2 source files to /home/cui/Desktop/workspace/itrade-cli/platforms/android/ant-build/classes | |
| [javac] /home/cui/Desktop/workspace/itrade-cli/platforms/android/src/org/apache/cordova/facebook/ConnectPlugin.java:22: error: package com.facebook does not exist | |
| [javac] import com.facebook.FacebookDialogException; | |
| [javac] ^ | |
| [javac] /home/cui/Desktop/workspace/itrade-cli/platforms/android/src/org/apache/cordova/facebook/ConnectPlugin.java:23: error: package com.facebook does not exist | |
| [javac] import com.facebook.FacebookException; |
| # encoding: utf-8 | |
| require 'carrierwave/processing/mini_magick' | |
| class ProductImageUploader < CarrierWave::Uploader::Base | |
| # include CarrierWaveDirect::Uploader | |
| # Include RMagick or MiniMagick support: | |
| # include CarrierWave::RMagick | |
| include CarrierWave::MiniMagick | |
| include ::CarrierWave::Backgrounder::Delay | |
| # Include the Sprockets helpers for Rails 3.1+ asset pipeline compatibility: |