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
"use strict" | |
module.exports = { | |
"extends": "stylelint-config-recommended", | |
"rules": { | |
"at-rule-empty-line-before": ["always", { | |
except: [ | |
"blockless-after-same-name-blockless", | |
"first-nested", | |
], |
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
name: DEPLOY TO STAGING | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
firebase-deploy: | |
runs-on: ubuntu-latest |
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
type User { | |
id: ID! | |
posts: [Post] | |
name: String | |
email: String! | |
password: String! | |
} | |
type Post { | |
id: ID! | |
user: User |
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
<template> | |
<div> | |
<button class="button" @click="logInWithFacebook"> Login with Facebook</button> | |
</div> | |
</template> | |
<script> | |
export default { | |
name:"facebookLogin", | |
methods: { |
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
version 1.0 | |
workflow GenerateMD5 { | |
input { | |
File input_file | |
} | |
call ComputeMD5 { | |
input: file_to_hash = input_file | |
} |
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
apiVersion: sanda.broad.io/v1 | |
workflow: | |
name: updated_example_workflow | |
description: This is an example workflow | |
version: 0.1.1 | |
environment: | |
- DATABASE_URL | |
- SECRET_KEY | |
- BASE_URL | |
jobs: |
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
apiVersion: sanda.broad.io/v1 | |
workflow: | |
name: updated_example_workflow_in_version_2 | |
description: This is an example workflow | |
version: 0.1.1 | |
environment: | |
- DATABASE_URL | |
- SECRET_KEY | |
- BASE_URL | |
jobs: |
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
@startuml | |
skinparam class { | |
BackgroundColor<<Namespace>> LightBlue | |
BackgroundColor<<Token>> LightCoral | |
BackgroundColor<<Workflow>> LightGoldenRodYellow | |
BackgroundColor<<Run>> LightSalmon | |
BackgroundColor<<Task>> LightSteelBlue | |
BackgroundColor<<Secret>> LightPink | |
} |
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
# -*- coding: utf-8 -*- | |
"""How to authenticate with service account file | |
""" | |
# !pip install google-auth | |
# !pip install google-auth-httplib2 | |
# !pip install google-cloud-storage | |
from google.oauth2 import service_account | |
from google.cloud import storage |