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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> |
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
// Paths is a nodejs global object with path url string we're using to specify our bundle | |
const gulp = require('gulp'); | |
const browserify = require('browserify'); | |
const gutil = require('gulp-util'); | |
const source = require('vinyl-source-stream'); // Convert our stream to an output vinyl | |
const sourcemaps = require('gulp-sourcemaps'); // We need to include the sourcemaps for our files | |
const ngAnnotate = require('browserify-ngannotate'); // e.g Browserify plugin to make sure Angular dependencies will work on minification | |
const buffer = require('vinyl-buffer'); // This finishes what source stream started | |
/* BROWSERIFY SETTINGS */ |
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 Config from 'react-native-config' | |
import { IBaseColor } from './color' | |
export enum ThemeProvider { | |
velocity = 'velocity', | |
appB = 'appB', | |
} | |
interface ITheme { | |
ThemeLogo: any // img asset | |
ThemeLogoWithText: any // img asset |
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
IOS_RELEASE_TYPE=appstore | |
ITUNES_CONNECT_TEAM_ID=7325235 | |
APPLE_TEAM_ID=2352352 | |
PRODUCT_BUNDLE_IDENTIFIER=com.appb.consumer | |
APPLE_CI_USERNAME=yourusername@gmail.com | |
CRASHALYTICS_IOS_KEY=1242kj4jk24 | |
BRANCH_SCHEME=appB | |
BRANCH_HOST=myappb.co | |
BRANCH_PREFIX=/dsgg | |
BRANCH_KEY=key_live_made_up_key |
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
... | |
flavorDimensions "client", "environment" | |
productFlavors { | |
production { | |
dimension "environment" | |
resValue "string", "build_config_package", "com.appB.consumer" // this is a placeholder - will be replaced on build | |
} | |
staging { | |
dimension "environment" |
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 | |
set -e | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;93m' | |
RED='\033[0;31m' | |
CYAN='\033[0;36m' | |
NC='\033[0m' |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>en</string> | |
<key>CFBundleDisplayName</key> | |
<string>$(PRODUCT_NAME)</string> | |
<key>CFBundleExecutable</key> | |
<string>$(EXECUTABLE_NAME)</string> |
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
export interface IBaseColor { | |
// main colors | |
ACCENT: string | |
WHITE: string | |
SURFACE: string | |
PRIMARY: string | |
BACKGROUND: string, | |
ON_SURFACE: string | |
ON_BACKGROUND: string | |
HIGHLIGHTED_PRIMARY: string // highlighted primary is equalivalent on primary |
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
|-- .env.velocity.staging | |
|-- .env.velocity.production | |
|-- .env.appB.staging | |
|-- .env.appB.production | |
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
const createNode = (value) => ({ | |
value, | |
next: null, | |
}) | |
class CircularLinkedList { | |
constructor() { | |
this.length = 0 | |
this.head = null | |
} | |
push(value) { |
NewerOlder