Skip to content

Instantly share code, notes, and snippets.

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

Oleksandr Simonov simonoff

💭
KUBER!!!!
View GitHub Profile
2014/07/25 18:47:24 Packer Version: 0.6.0 12e28f257f66299e3bb13a053bf06ccd236e7efd
2014/07/25 18:47:24 Packer Target OS/Arch: darwin amd64
2014/07/25 18:47:24 Built with Go Version: go1.2
2014/07/25 18:47:24 Detected home directory from env var: /Users/devil
2014/07/25 18:47:24 Attempting to open config file: /Users/devil/.packerconfig
2014/07/25 18:47:24 File doesn't exist, but doesn't need to. Ignoring.
2014/07/25 18:47:24 Packer config: &{PluginMinPort:0 PluginMaxPort:0 Builders:map[digitalocean:packer-builder-digitalocean openstack:packer-builder-openstack virtualbox-iso:packer-builder-virtualbox-iso null:packer-builder-null amazon-ebs:packer-builder-amazon-ebs amazon-chroot:packer-builder-amazon-chroot googlecompute:packer-builder-googlecompute qemu:packer-builder-qemu parallels-pvm:packer-builder-parallels-pvm docker:packer-builder-docker virtualbox-ovf:packer-builder-virtualbox-ovf parallels-iso:packer-builder-parallels-iso amazon-instance:packer-builder-amazon-instance vmware-iso:packer-builder-vmwar
default-opensuse-131:/home/vagrant # zypper lr -up
# | Alias | Name | Enabled | Refresh | Priority | URI
--+------------------------------+------------------------------+---------+---------+----------+-------------------------------------------------------------
1 | opensuse-13.1-non-oss | opensuse-13.1-non-oss | Yes | Yes | 80 | http://download.opensuse.org/distribution/13.1/repo/non-oss/
2 | opensuse-13.1-oss | opensuse-13.1-oss | Yes | Yes | 80 | http://download.opensuse.org/distribution/13.1/repo/oss/
3 | opensuse-13.1-update | opensuse-13.1-update | Yes | Yes | 100 | http://download.opensuse.org/update/13.1/
4 | opensuse-13.1-update-non-oss | opensuse-13.1-update-non-oss | Yes | Yes | 100 | http://download.opensuse.org/update/13.1-non-oss/
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...
@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'
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"
// 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
#!/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

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.
platforms/
plugins/