I hereby claim:
-
I am jatin-8898 on github.
-
I am jatin8898 (https://keybase.io/jatin8898) on keybase.
-
I have a public key ASAKfYU503dnDpMlsoHw6EOiyXl9KhCRJXNW11h4HD6bCAo
| from flask import Flask, request | |
| import requests | |
| import json | |
| from twilio.twiml.messaging_response import MessagingResponse | |
| app = Flask(__name__) | |
| @app.route("/") | |
| def hello(): | |
| return "Hello World!" |
| if 'A' in incoming_msg: | |
| # return total cases | |
| r = requests.get('https://coronavirus-19-api.herokuapp.com/all') | |
| if r.status_code == 200: | |
| data = r.json() | |
| text = f'_Covid-19 Cases Worldwide_ \n\nConfirmed Cases : *{data["cases"]}* \n\nDeaths : *{data["deaths"]}* \n\nRecovered : *{data["recovered"]}* \n\n π Type *B* to check cases in *India* \n π Type *B, C, D, E, F, G* to see other options \n π Type *Menu* to view the Main Menu' | |
| print(text) | |
| else: | |
| text = 'I could not retrieve the results at this time, sorry.' | |
| msg.body(text) |
| from twilio.twiml.messaging_response import MessagingResponse | |
| resp = MessagingResponse() | |
| msg = resp.message() | |
| msg.body('this is the response text') | |
| msg.media('https://example.com/path/image.jpg') |
| from flask import Flask | |
| app = Flask(__name__) | |
| @app.route("/") | |
| def hello(): | |
| return "Hello World!" | |
| if __name__ == "__main__": | |
| app.run(host="localhost", port=5000, debug=True) |
| # ---------------------- | |
| # Git Command Aliases | |
| # ---------------------- | |
| alias ga='git add' | |
| alias gaa='git add .' | |
| alias gaaa='git add --all' | |
| alias gc='git commit -m' | |
| alias gs='git status' | |
| alias gr='git remote add origin' | |
| alias gp='git push origin master' |
I hereby claim:
I am jatin-8898 on github.
I am jatin8898 (https://keybase.io/jatin8898) on keybase.
I have a public key ASAKfYU503dnDpMlsoHw6EOiyXl9KhCRJXNW11h4HD6bCAo
| const path = require("path"); | |
| const webpack = require('webpack'); | |
| module.exports = { | |
| entry: path.join(__dirname, "js", "app.js"), | |
| module: { | |
| rules: [ | |
| { | |
| test: /\.(js|jsx)$/, | |
| exclude: /node_modules/, |
| { | |
| "name": "sass_starter", | |
| "version": "1.0.0", | |
| "description": "Sass Starter Files", | |
| "main": "index.js", | |
| "scripts": { | |
| "start": "gulp" | |
| }, | |
| "keywords": [], | |
| "author": "Jatin Varlyani", |
| var gulp = require("gulp"), | |
| sass = require("gulp-sass"), | |
| postcss = require("gulp-postcss"), | |
| autoprefixer = require("autoprefixer"), | |
| cssnano = require("cssnano"), | |
| sourcemaps = require("gulp-sourcemaps"), | |
| browserSync = require("browser-sync").create(); | |
| var paths = { |
| //package com.webCrawler; | |
| import java.util.*; | |
| import java.net.*; | |
| import java.io.*; | |
| import java.util.regex.Matcher; | |
| import java.util.regex.Pattern; | |
| public class WebCrawler{ | |
| private Queue<String> queue; |