Skip to content

Instantly share code, notes, and snippets.

@lurecas
lurecas / update_pivotal.rb
Created April 26, 2016 15:45 — forked from palcalde/update_pivotal.rb
Update pivotal stories that are marked as finished to be delivered when their ID is found in the git commit history
#!/usr/bin/env ruby
require 'pivotal-tracker'
PivotalTracker::Client.token = ENV["PIVOTAL_TRACKER_TOKEN"]
PivotalTracker::Client.use_ssl = true
projects = PivotalTracker::Project.find(ENV["TRACKER_PROJECT_ID"])
stories = projects.stories.all(:state => "finished", :story_type => ['bug', 'feature'])
@lurecas
lurecas / 030_update_platform_config.js
Created February 6, 2016 20:31 — forked from marcocarnazzo/030_update_platform_config.js
Ionic/Cordova update platform config
#!/usr/bin/env node
/** This hook updates platform configuration files based on preferences and config-file data defined in config.xml.
Currently only the AndroidManifest.xml and IOS *-Info.plist file are supported.
See http://stackoverflow.com/questions/28198983/ionic-cordova-add-intent-filter-using-config-xml
Preferences:
1. Preferences defined outside of the platform element will apply to all platforms
2. Preferences defined inside a platform element will apply only to the specified platform