This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app_identifier "com.yourorganization.mytodoapp" # The bundle identifier of your app | |
apple_id "<You Apple Id>" # Your Apple email address | |
# You can uncomment any of the lines below and add your own | |
# team selection in case you're in multiple teams | |
# team_name "CAMobileApp" | |
# team_id "Q2CBPJ58CA" | |
# you can even provide different app identifiers, Apple IDs and team names per lane: | |
# https://github.com/KrauseFx/fastlane/blob/master/docs/Appfile.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {TranslateLoader} from "ng2-translate/ng2-translate"; | |
import {Observable} from "rxjs/Observable"; | |
import fs = require('fs'); | |
export class TranslateUniversalLoader implements TranslateLoader { | |
constructor(private prefix: string = 'i18n', private suffix: string = '.json') {} | |
/** | |
* Gets the translations from the server | |
* @param lang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
PORT=27017 | |
# this is the label for the mongo pods. | |
# In my case it is prefixed by the TRACK variable (dev, test or prod) | |
# edit according to your setup | |
MONGO_LABEL=${TRACK}-mongo | |
# We log to a log file as there is no output to std when running the hook. | |
# We can check this log file to see what happened once the hook has run | |
LOGFILE="/postStart.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
PORT=27017 | |
MONGO_LABEL=${TRACK}-mongo | |
LOGFILE="/postStart.log" | |
date > $LOGFILE | |
# Get the pods referenced by the Headless Service | |
function getPods() { | |
curl -s -H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# git-summary - summarise git repos at some path | |
# | |
# Adapted from https://gist.github.com/lmj0011/1a8dd1e376234ac7bf0fba2748ecdd0f | |
# | |
# Andy Gimblett, March 2017 | |
usage() { |
OlderNewer