Skip to content

Instantly share code, notes, and snippets.

Andrew Theis andrewtheis

Block or report user

Report or block andrewtheis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View scenecheck-initial.dump
-- PostgreSQL database dump
-- Dumped from database version 9.6.5
-- Dumped by pg_dump version 9.6.5
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
andrewtheis /
Last active Dec 26, 2015
Grabs the latest tag and sets the version number. You must only have version numbers as tags and they must be in format "X.y[.z]-B" where: X, y are major and minor versions; z (patch version) is optional; and B is the build number. Execute this with a post-build script phase similar to this:
# Get the current version and extract the version/build from there
LATEST_TAG=`xcrun git describe --tags --abbrev=0`
andrewtheis /
Created Oct 23, 2013
A way to execute bash scripts only for certain configuration and if that script exists
if [[ ${CONFIGURATION} == "Ad Hoc" && -f /var/xcode_ci_scripts/ ]]; then
echo "Skipping version bump"
View _form.html.erb
<%= form_for @account do |f| %>
<%= render "shared/form_errors", :object => @account %>
# ... Other form view code here ...</span>
You can’t perform that action at this time.