- Put the
gong-bot.ymlin the folder.github/workflowsin your repository - Add a new webhook in the Discord Server Settings > Integrations > Webhooks
- Copy the webhook url
- Add the secret
DISCORD_WEBHOOKin your GitHub repository Actions secrets
This file contains hidden or 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
| <script> | |
| import { onMount } from 'svelte'; | |
| /** @type {string} gtmId - GTM ID 'GTM-F00BARS'. */ | |
| export let gtmId = ''; | |
| /** @type {(Object[]|Object)} [gtmDataPoints=[]] - Array or single object of custom data points for dataLayer. | |
| * @type {Object} [gtmDataPoints[]] - Custom data point Object. | |
| * @type {string} [gtmDataPoints[][]] - Custom data point property. */ | |
| export let gtmDataPoints = []; | |
| /** @type {number} [timeout] - The number of milliseconds to timeout intiating loading the GTM script from Google */ |
This file contains hidden or 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
| { | |
| "hosting": { | |
| "public": "_site", | |
| "ignore": [ | |
| "firebase.json", | |
| "**/.*", | |
| "**/node_modules/**" | |
| ], | |
| "headers": [{ | |
| "source": "**", |
This file contains hidden or 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
| require 'fileutils' | |
| default_platform :ios | |
| platform :ios do | |
| before_all do |lane, options| | |
| if is_ci | |
| ENV['MATCH_KEYCHAIN_NAME'] = 'TempKeychain' | |
| ENV['MATCH_KEYCHAIN_PASSWORD'] = 'TempKeychainPassword' | |
| create_temp_keychain |
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build_web: |
This file contains hidden or 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
| // run in DartPad: <https://dartpad.dev/c6a9111d58c3deb83711106cec6152ee> | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(MaterialApp(home: RectsExample())); | |
| } | |
| class RectsExample extends StatefulWidget { | |
| @override |
This file contains hidden or 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 functions = require('firebase-functions'); | |
| const admin = require('firebase-admin'); | |
| admin.initializeApp(); | |
| exports.sendLeaderboardMesssage = functions | |
| .database | |
| .ref('/leaderboard/{position}') | |
| .onUpdate((change) => { | |
| const oldPlayer = change.before.val(); |
This file contains hidden or 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 name = "<some domain>"; | |
| const AWS = require("aws-sdk"); | |
| const route53 = new AWS.Route53(); | |
| const DNS = require("@google-cloud/dns"); | |
| const dns = new DNS({projectId: "<your project id>"}); | |
| const dnsZone = dns.zone("<zone name>"); | |
| const resolvers = [ // See note below -- set to the NS for your zone | |
| "<dns server 1>", | |
| "<dns server 2>"//, ... |
This file contains hidden or 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
| language: node_js | |
| node_js: '4.0' | |
| before_install: | |
| - rvm install 2.1 | |
| - rvm use 2.1 | |
| - . $HOME/.nvm/nvm.sh && nvm install 6.1 && nvm use 6.1 | |
| - gem install bundler | |
| - bundle check || bundle install |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder