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 Google | |
# Run this workflow every time a new commit pushed to your repository | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: |
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
// See https://github.com/dialogflow/dialogflow-fulfillment-nodejs | |
// for Dialogflow fulfillment library docs, samples, and to report issues | |
'use strict'; | |
const functions = require('firebase-functions'); | |
const {WebhookClient} = require('dialogflow-fulfillment'); | |
const {Card, Suggestion} = require('dialogflow-fulfillment'); | |
var rp = require('request-promise'); | |
process.env.DEBUG = 'dialogflow:debug'; // enables lib debugging statements |
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
FROM ruby:2.6 | |
WORKDIR /. | |
COPY . . | |
RUN bundle install | |
CMD ["ruby", "./bot.rb"] |
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
source 'https://rubygems.org' | |
gem 'telegram-bot-ruby' |
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
echo "version: '3' | |
services: | |
chrome: | |
image: selenium/node-chrome:3.141.59-selenium | |
volumes: | |
- /dev/shm:/dev/shm | |
depends_on: | |
- hub | |
environment: | |
HUB_HOST: hub |
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 unittest | |
class TestStringMethods(unittest.TestCase): | |
def test_upper(self): | |
self.assertEqual('foo'.upper(), 'FOO') | |
def test_isupper(self): | |
self.assertTrue('FOO'.isupper()) | |
self.assertFalse('Foo'.isupper()) |
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
{ | |
"success": true, | |
"code": 500, | |
"error": { | |
"core": "Error fetch data from core" | |
} | |
} |
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": "2.8", | |
"settings": { | |
}, | |
"nativeads": { | |
"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
<section class="header-notifications" role="bm-notifications"> | |
<section class="header-notification expiration" role="bm-notification bm-notification-expiration"> | |
<div class="header-notification__container"> | |
<span class="icon bookmate-icon-close-white" data-dismiss="alert" data-notification="expiration" role="bm-notification-close"> | |
</span> | |
</div> | |
</section> | |
</section> |
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
application.min.js:4 Uncaught TypeError: $(...).tweet is not a function | |
at HTMLDocument.<anonymous> (http://datafolks.com/assets/js/application/application.min.js:4:482) | |
at c (http://datafolks.com/assets/js/jquery-1.10.2.min.js:4:26036) | |
at Object.fireWith [as resolveWith] (http://datafolks.com/assets/js/jquery-1.10.2.min.js:4:26840) | |
at Function.ready (http://datafolks.com/assets/js/jquery-1.10.2.min.js:4:3305) | |
at HTMLDocument.q (http://datafolks.com/assets/js/jquery-1.10.2.min.js:4:717) |
NewerOlder