Skip to content

Instantly share code, notes, and snippets.

View simonoff's full-sized avatar
💭
KUBER!!!!

Oleksandr Simonov simonoff

💭
KUBER!!!!
View GitHub Profile

Alexander Simonov

Contact details

Speaker bio

I'm software engeneer with more then 10 years experience. Last 7 years I'm using Ruby for my projects.

app = node[:rails][:app]
rails_base app[:name] do
ruby_ver app[:ruby_ver]
gemset app[:gemset]
end
%w{config log pids cached-copy bundle system}.each do |dir|
directory "#{app[:app_root]}/shared/#{dir}" do
owner app[:deploy_user]
platforms/
plugins/

Grunt and Cordova 3

The advantages of using Grunt with Cordova:

  1. It simplifies working with the cordova cli.
  2. It provides a mechanism to copy platform customization to the platforms directory without having to commit the generated plugins and platforms directories to version control.
  3. It provides a way to watch resources and automatically run cordova commands.
#!/bin/bash
# https://gist.github.com/949831
# http://blog.carbonfive.com/2011/05/04/automated-ad-hoc-builds-using-xcode-4/
# command line OTA distribution references and examples
# http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson
# http://nachbaur.com/blog/building-ios-apps-for-over-the-air-adhoc-distribution
# http://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/
# http://www.neat.io/posts/2010/10/27/automated-ota-ios-app-distribution.html
#!/bin/bash
# https://gist.github.com/949831
# http://blog.carbonfive.com/2011/05/04/automated-ad-hoc-builds-using-xcode-4/
# command line OTA distribution references and examples
# http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson
# http://nachbaur.com/blog/building-ios-apps-for-over-the-air-adhoc-distribution
# http://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/
# http://www.neat.io/posts/2010/10/27/automated-ota-ios-app-distribution.html
// Pre-requisites:
// 1. Device core plugin
// 2. Splashscreen core plugin (3.1.0)
// 3. config.xml: <preference name="AutoHideSplashScreen" value="false" />
// 4. config.xml: <preference name="DisallowOverscroll" value="true" />
function onDeviceReady() {
if (parseFloat(window.device.version) >= 7.0) {
document.body.style.marginTop = "20px";
// OR do whatever layout you need here, to expand a navigation bar etc
require 'shenzhen'
require 'xcpretty'
require 'cocoapods'
require 'date'
testflight_api_token = "TESTFLIGHT_API_TOKEN"
testflight_team_token = "TESTFLIGHT_TEAM_TOKEN"
workspace_file = "MyWorkspace.xcworkspace"
scheme_name = "MySchemeName"
testflight_distribution_lists = "MY_DISTRIBUTION_LIST"
@simonoff
simonoff / Gemfile
Created May 18, 2014 17:39 — forked from mps/Gemfile
source 'http://rubygems.org'
# Make sure you have bundler installed
# gem install bundler
gem 'shenzhen'
default-opensuse-131:/home/vagrant # zypper lr
# | Alias | Name | Enabled | Refresh
--+------------------------------+------------------------------+---------+--------
1 | opensuse-13.1-non-oss | opensuse-13.1-non-oss | Yes | Yes
2 | opensuse-13.1-oss | opensuse-13.1-oss | Yes | Yes
3 | opensuse-13.1-update | opensuse-13.1-update | Yes | Yes
4 | opensuse-13.1-update-non-oss | opensuse-13.1-update-non-oss | Yes | Yes
default-opensuse-131:/home/vagrant # zypper install -C postgresql92-server
Loading repository data...