Skip to content

Instantly share code, notes, and snippets.

View rcbop's full-sized avatar

Rogerio Peixoto rcbop

  • Spain
View GitHub Profile
@rcbop
rcbop / delete-eb-old-versions.sh
Created June 15, 2017 21:09
Delete AWS elastic beanstalk versions older than given arbitrary number
#!/bin/bash
# mantainer rogerio.c.peixoto (rcbpeixoto@gmail.com)
# delete old application versions preserving most recent ones
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
CYAN='\033[0;36m'
MAGENTA='\033[35m'
NC='\033[0m'
@rcbop
rcbop / README.md
Created May 30, 2017 20:03 — forked from escapedcat/README.md
Tutorial: Cordova iOS build with fastlane, match and Jenkins

Cordova CI with Jenkins for iOS apps

Inspired by CI server on Mac OS for iOS using GitLab and Fastlane by @v_shevchyk we decided to write down our approach. This will be extended and improved over time.

So you want to deploy your Cordova app, but you hate opening xcode manually to archive and export and sign and cry? Try this. By this we mean we try to explain how to create the following CI (Jenkins) setup:

  • Build Cordova app
  • Create & sign your ipa file
  • Upload to HockeyApp (for Enterprise distribution)
@rcbop
rcbop / 0_reuse_code.js
Created April 5, 2016 13:55
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Code:
* features/support/env.rb
-------------------------------------------------------------------------
>> TESTING IOS DEVICE CONNECTION
curl http://10.0.3.242:37265/version
false
>> ENVIRONMENT VARIABLES
RBENV_VERSION=2.1.1
SHELL=/bin/bash
DEVICE_ENDPOINT=http://10.0.3.242:37265