This is a snippet that uses firebase's firebase-admin
to initialize multiple firebase projects in one admin application.
import 'firebase';
# xcode-build-bump.sh | |
# @desc Auto-increment the build number every time the project is run. | |
# @usage | |
# 1. Select: your Target in Xcode | |
# 2. Select: Build Phases Tab | |
# 3. Select: Add Build Phase -> Add Run Script | |
# 4. Paste code below in to new "Run Script" section | |
# 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |
// | |
// AppDelegate.swift | |
// pushtest | |
// | |
// Created by sawapi on 2014/06/08. | |
// Copyright (c) 2014年 sawapi. All rights reserved. | |
// | |
// iOS8用 | |
import UIKit |
#!/bin/bash | |
# function to make a commit on a branch in a Travis CI build | |
# be sure to avoid creating a Travis CI fork bomb | |
# see https://github.com/travis-ci/travis-ci/issues/1701 | |
function travis-branch-commit() { | |
local head_ref branch_ref | |
head_ref=$(git rev-parse HEAD) | |
if [[ $? -ne 0 || ! $head_ref ]]; then | |
err "failed to get HEAD reference" | |
return 1 |
This is a snippet that uses firebase's firebase-admin
to initialize multiple firebase projects in one admin application.
import 'firebase';