repo_id
stringclasses
208 values
file_path
stringlengths
31
190
content
stringlengths
1
2.65M
__index_level_0__
int64
0
0
qxf2_public_repos/qxf2-survey
qxf2_public_repos/qxf2-survey/awareness_score/awareness_score.py
""" This is a script to analyze how aware employees are about taking and giving help There are two behaviors: a) taking help b) giving help Intuition: If your awareness score for a behavior is a) more than 100, you think you are doing more of that than other people report b) less than 100, you are doing more of that behavior than other people report In general: a) you want to be in the Goldilocks range of 75-125 for both taking and giving awareness b) scores below 75 are more harmful than scores above 125 """ import sys from datetime import datetime from dateutil.relativedelta import relativedelta, FR import requests import json import pandas as pd import conf from urllib.parse import urljoin class Employee: "Model an employee" def __init__(self,firstname,lastname=None): "Initializer" self.name = firstname + ' ' + lastname if lastname is not None else '' def set_giving_awareness(self,own,others): "Setup a giving awareness score" if others != 0: self.giving_awareness = int(own*100/others) else: self.giving_awareness = 'N/A' #Intuition # > 1 --> think they are helping more # < 1 --> not aware enough of how much they help def set_taking_awareness(self,own,others): "Setup a giving awareness score" if others != 0: self.taking_awareness = int(own*100/others) else: self.taking_awareness = 'N/A' #Intuition # > 1 --> think they are taking more help than actual # < 1 --> not aware enough of how much help they get def print_me(self): "Print out the details of the user" print(self.name[:14], "\t\t", self.giving_awareness, "\t\t", self.taking_awareness) def get_users(): "Fetch the users from survey database and convert to dataframe" get_user_url = urljoin(conf.URL, 'survey/admin/QElo_users') users = requests.get(get_user_url, headers={"User":conf.API_KEY}).json() users_data_frame = pd.DataFrame(users) return users_data_frame def fetch_response(date=None): "Fetch user response between given dates and convert to dataframe" fetch_response_url = urljoin(conf.URL, 'survey/admin/QElo_filter_response') friday_of_current_week = (datetime.now() + relativedelta(weekday=FR(0))).strftime("%Y-%m-%d") previous_year = (datetime.now() - relativedelta(months=12)).strftime("%Y-%m-%d") start_date = previous_year if date is not None: start_date = date dates = {"start_date": start_date, "end_date": friday_of_current_week} json_dates = json.dumps(dates) response= requests.post(fetch_response_url, data=json_dates, headers={"User":conf.API_KEY}).json() response_data_frame=pd.DataFrame(response) return response_data_frame def run_awareness_analysis(date=None): "Figure out giving and taking help awareness" employees= get_users() if date is not None: responses = fetch_response(date) else: responses = fetch_response() print('name \t\t giving_awareness \t taking_awareness') for index,row in employees.iterrows(): if row['active_flag'] != 'Y' or row['first_name'] in ['External','Edward','Shrihari','Kavitha']: continue emp_obj = Employee(row['first_name'],row['last_name']) #1. Giving help #a. Self whom_you_helped_responses = responses[(responses.question_no ==2) & (responses.respondent_id==row['id'])][['respondent_id', 'answer']].groupby(['respondent_id','answer']).size().reset_index(name='counts').values.tolist() whom_you_helped_responses = list(filter(lambda emp: emp[1].strip() != 'External',whom_you_helped_responses)) giving_own = len(whom_you_helped_responses) #b. Others who_helped_you_responses=responses[(responses.question_no ==1) & (responses.answer==emp_obj.name)][['respondent_id', 'answer']].groupby(['respondent_id','answer']).size().reset_index(name='counts').values.tolist() giving_others = len(who_helped_you_responses) #2. Taking help #a. Self who_helped_you_responses=responses[(responses.question_no ==1) & (responses.respondent_id==row['id'])][['respondent_id', 'answer']].groupby(['respondent_id','answer']).size().reset_index(name='counts').values.tolist() who_helped_you_responses = list(filter(lambda emp: emp[1].strip() != 'External', who_helped_you_responses)) taking_own = len(who_helped_you_responses) #b. Others whom_you_helped_responses = responses[(responses.question_no ==2) & (responses.answer==emp_obj.name)][['respondent_id', 'answer']].groupby(['respondent_id','answer']).size().reset_index(name='counts').values.tolist() taking_others = len(whom_you_helped_responses) emp_obj.set_giving_awareness(giving_own,giving_others) emp_obj.set_taking_awareness(taking_own,taking_others) emp_obj.print_me() #----START OF SCRIPT if __name__ == '__main__': if len(sys.argv)<2: date = None print('Usage: python {} <YYYY-mm-dd>\nExample usage: {} 2022-01-30'.format(__file__,__file__)) else: date = sys.argv[1].strip() run_awareness_analysis(date)
0
qxf2_public_repos/qxf2-survey
qxf2_public_repos/qxf2-survey/virtualized_employees_graphql_server/mock-graphql-server.js
const { ApolloServer } = require('@apollo/server'); const { startStandaloneServer } = require('@apollo/server/standalone'); const { addMocksToSchema } = require ('@graphql-tools/mock'); const { makeExecutableSchema } = require('@graphql-tools/schema'); const { GraphQLError } = require('graphql'); const fs = require('fs'); require('dotenv').config(); const typeDefs = `#graphql type Query { allEmployees: Employees } type Mutation { auth(username: String, password: String): Auth } type Auth { accessToken: String refreshToken: String } type Employees { edges: [EmployeeEdge] } type EmployeeEdge { node: Employee } type Employee { email: String employeeId: String dateJoined: String isActive: String blogAuthorName: String firstname: String lastname: String } `; const resolvers = { Query: { allEmployees: (root, args, context) => { if (context.token != `Bearer ${process.env.ACCESS_TOKEN}`) { throw new GraphQLError("object of type 'AuthInfoField' has no len()", { extensions: { code: 'Unauthorized' }, }); } }, }, Mutation: { auth: (_, { username, password }) => { if (username === process.env.GRAPHQl_USERNAME && password === process.env.GRAPHQL_PASSWORD) { return { accessToken: process.env.ACCESS_TOKEN, refreshToken: process.env.REFRESH_TOKEN }; } else { return { accessToken: null, refreshToken: null }; } }, }, }; let employees = []; fs.readFile('./employee-data.json', 'utf-8', (err, data) => { if (err) throw err; employees = JSON.parse(data); }); const mocks = { Employees: () => ({ edges: employees.map(employee => ({ node: employee })) }), }; const server = new ApolloServer({ schema: addMocksToSchema({ schema: makeExecutableSchema({ typeDefs, resolvers }), mocks, preserveResolvers: true, }), includeStacktraceInErrorResponses: false }); const server_port = 4000 const { url } = startStandaloneServer(server, { context: async ({ req, res }) => { const token = req.headers.authorization || ''; return { token }; }, listen: { port: server_port }, }); console.log(`🚀 Server listening at Port: ${server_port}`);
0
qxf2_public_repos/qxf2-survey
qxf2_public_repos/qxf2-survey/virtualized_employees_graphql_server/package-lock.json
{ "name": "virtualize_graphql", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "virtualize_graphql", "version": "1.0.0", "license": "ISC", "dependencies": { "@apollo/server": "^4.3.3", "@graphql-tools/mock": "^8.7.18", "dotenv": "^16.0.3", "express": "^4.18.2", "graphql": "^16.6.0", "graphql-tools": "^8.3.18" } }, "node_modules/@apollo/cache-control-types": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@apollo/cache-control-types/-/cache-control-types-1.0.2.tgz", "integrity": "sha512-Por80co1eUm4ATsvjCOoS/tIR8PHxqVjsA6z76I6Vw0rFn4cgyVElQcmQDIZiYsy41k8e5xkrMRECkM2WR8pNw==", "peerDependencies": { "graphql": "14.x || 15.x || 16.x" } }, "node_modules/@apollo/client": { "version": "3.7.7", "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.7.7.tgz", "integrity": "sha512-Rp/pCWuJSjLN7Xl5Qi2NoeURmZYEU/TIUz0n/LOwEo1tGdU2W7/fGVZ8+5um58JeVYq4UoTGBKFxSVeG4s411A==", "optional": true, "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", "@wry/context": "^0.7.0", "@wry/equality": "^0.5.0", "@wry/trie": "^0.3.0", "graphql-tag": "^2.12.6", "hoist-non-react-statics": "^3.3.2", "optimism": "^0.16.1", "prop-types": "^15.7.2", "response-iterator": "^0.2.6", "symbol-observable": "^4.0.0", "ts-invariant": "^0.10.3", "tslib": "^2.3.0", "zen-observable-ts": "^1.2.5" }, "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0", "graphql-ws": "^5.5.5", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "subscriptions-transport-ws": "^0.9.0 || ^0.11.0" }, "peerDependenciesMeta": { "graphql-ws": { "optional": true }, "react": { "optional": true }, "react-dom": { "optional": true }, "subscriptions-transport-ws": { "optional": true } } }, "node_modules/@apollo/protobufjs": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.2.7.tgz", "integrity": "sha512-Lahx5zntHPZia35myYDBRuF58tlwPskwHc5CWBZC/4bMKB6siTBWwtMrkqXcsNwQiFSzSx5hKdRPUmemrEp3Gg==", "hasInstallScript": true, "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.4", "@protobufjs/eventemitter": "^1.1.0", "@protobufjs/fetch": "^1.1.0", "@protobufjs/float": "^1.0.2", "@protobufjs/inquire": "^1.1.0", "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.0", "@types/long": "^4.0.0", "long": "^4.0.0" }, "bin": { "apollo-pbjs": "bin/pbjs", "apollo-pbts": "bin/pbts" } }, "node_modules/@apollo/server": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/@apollo/server/-/server-4.3.3.tgz", "integrity": "sha512-2nigGTgXCAUk2PHHGybtofyuuVAA/QUZwRJzwuCbRFgY1fKkMT7J4fUPwNcA809lDlZyyYphcQnM/vQNbeiu6w==", "dependencies": { "@apollo/cache-control-types": "^1.0.2", "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^2.0.0", "@apollo/utils.fetcher": "^2.0.0", "@apollo/utils.isnodelike": "^2.0.0", "@apollo/utils.keyvaluecache": "^2.1.0", "@apollo/utils.logger": "^2.0.0", "@apollo/utils.usagereporting": "^2.0.0", "@apollo/utils.withrequired": "^2.0.0", "@graphql-tools/schema": "^9.0.0", "@josephg/resolvable": "^1.0.0", "@types/express": "^4.17.13", "@types/express-serve-static-core": "^4.17.30", "@types/node-fetch": "^2.6.1", "async-retry": "^1.2.1", "body-parser": "^1.20.0", "cors": "^2.8.5", "express": "^4.17.1", "loglevel": "^1.6.8", "lru-cache": "^7.10.1", "negotiator": "^0.6.3", "node-abort-controller": "^3.1.1", "node-fetch": "^2.6.7", "uuid": "^9.0.0", "whatwg-mimetype": "^3.0.0" }, "engines": { "node": ">=14.16.0" }, "peerDependencies": { "graphql": "^16.6.0" } }, "node_modules/@apollo/server-gateway-interface": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@apollo/server-gateway-interface/-/server-gateway-interface-1.1.0.tgz", "integrity": "sha512-0rhG++QtGfr4YhhIHgxZ9BdMFthaPY6LbhI9Au90osbfLMiZ7f8dmZsEX1mp7O1h8MJwCu6Dp0I/KcGbSvfUGA==", "dependencies": { "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.fetcher": "^2.0.0", "@apollo/utils.keyvaluecache": "^2.1.0", "@apollo/utils.logger": "^2.0.0" }, "peerDependencies": { "graphql": "14.x || 15.x || 16.x" } }, "node_modules/@apollo/usage-reporting-protobuf": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@apollo/usage-reporting-protobuf/-/usage-reporting-protobuf-4.0.2.tgz", "integrity": "sha512-GfE8aDqi/lAFut95pjH9IRvH0zGsQ5G/2lYL0ZLZfML7ArX+A4UVHFANQcPCcUYGE6bI6OPhLekg4Vsjf6B1cw==", "dependencies": { "@apollo/protobufjs": "1.2.7" } }, "node_modules/@apollo/utils.createhash": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.createhash/-/utils.createhash-2.0.0.tgz", "integrity": "sha512-9GhGGD3J0HJF/VC+odwYpKi3Cg1NWrsO8GQvyGwDS5v/78I3154Hn8s4tpW+nqoaQ/lAvxdQQr3HM1b5HLM6Ww==", "dependencies": { "@apollo/utils.isnodelike": "^2.0.0", "sha.js": "^2.4.11" }, "engines": { "node": ">=14" } }, "node_modules/@apollo/utils.dropunuseddefinitions": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.dropunuseddefinitions/-/utils.dropunuseddefinitions-2.0.0.tgz", "integrity": "sha512-BoPW+Z3kA8kLh0FCWyzOt+R77W5mVZWer5s6UyvVwZ/qROGiEgcHXFcI5TMMndpXoDo0xBSvQV0lIKYHbJQ7+g==", "engines": { "node": ">=14" }, "peerDependencies": { "graphql": "14.x || 15.x || 16.x" } }, "node_modules/@apollo/utils.fetcher": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.fetcher/-/utils.fetcher-2.0.0.tgz", "integrity": "sha512-RC0twEwwBKbhk/y4B2X4YEciRG1xoKMgiPy5xQqNMd3pG78sR+ybctG/m7c/8+NaaQOS22UPUCBd6yS6WihBIg==", "engines": { "node": ">=14" } }, "node_modules/@apollo/utils.isnodelike": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.isnodelike/-/utils.isnodelike-2.0.0.tgz", "integrity": "sha512-77CiAM2qDXn0haQYrgX0UgrboQykb+bOHaz5p3KKItMwUZ/EFphzuB2vqHvubneIc9dxJcTx2L7MFDswRw/JAQ==", "engines": { "node": ">=14" } }, "node_modules/@apollo/utils.keyvaluecache": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@apollo/utils.keyvaluecache/-/utils.keyvaluecache-2.1.0.tgz", "integrity": "sha512-WBNI4H1dGX2fHMk5j4cJo7mlXWn1X6DYCxQ50IvmI7Xv7Y4QKiA5EwbLOCITh9OIZQrVX7L0ASBSgTt6jYx/cg==", "dependencies": { "@apollo/utils.logger": "^2.0.0", "lru-cache": "^7.14.1" }, "engines": { "node": ">=14" } }, "node_modules/@apollo/utils.logger": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.logger/-/utils.logger-2.0.0.tgz", "integrity": "sha512-o8qYwgV2sYg+PcGKIfwAZaZsQOTEfV8q3mH7Pw8GB/I/Uh2L9iaHdpiKuR++j7oe1K87lFm0z/JAezMOR9CGhg==", "engines": { "node": ">=14" } }, "node_modules/@apollo/utils.printwithreducedwhitespace": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.printwithreducedwhitespace/-/utils.printwithreducedwhitespace-2.0.0.tgz", "integrity": "sha512-S+wyxFyuO0LJ8v+mg8c7rRwyKZ+9xlO5wXD/UgaysH3rcCe9NBHRWx/9cmdZ9nTqgKC5X01uHZ6Gsi6pOrUGgw==", "engines": { "node": ">=14" }, "peerDependencies": { "graphql": "14.x || 15.x || 16.x" } }, "node_modules/@apollo/utils.removealiases": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.removealiases/-/utils.removealiases-2.0.0.tgz", "integrity": "sha512-PT5ICz2SfrMCRsR3DhW2E1anX6hcqVXE/uHpmRHbhqSoQODZKG34AlFm1tC8u3MC3eK5gcvtpGvPHF/cwVfakg==", "engines": { "node": ">=14" }, "peerDependencies": { "graphql": "14.x || 15.x || 16.x" } }, "node_modules/@apollo/utils.sortast": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.sortast/-/utils.sortast-2.0.0.tgz", "integrity": "sha512-VKoVOh8xkvh5HabtyGTekIYbwXdyYFPodFuHpWp333Fo2KBmpczLY+RBMHEr3v2MLoXDn/WUMtR3JZmvFJ45zw==", "dependencies": { "lodash.sortby": "^4.7.0" }, "engines": { "node": ">=14" }, "peerDependencies": { "graphql": "14.x || 15.x || 16.x" } }, "node_modules/@apollo/utils.stripsensitiveliterals": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.stripsensitiveliterals/-/utils.stripsensitiveliterals-2.0.0.tgz", "integrity": "sha512-pzj1XINetE54uxIjc4bN6gVzDWYP8OZ/yB0xMTgvzttu1VLgXf3BTV76d9hlqLoe8cV0JiD+xLpJktrHOzmBJQ==", "engines": { "node": ">=14" }, "peerDependencies": { "graphql": "14.x || 15.x || 16.x" } }, "node_modules/@apollo/utils.usagereporting": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.usagereporting/-/utils.usagereporting-2.0.0.tgz", "integrity": "sha512-9VvVgA/LzKkBEYEGwE9doL1Sl+VRULkbB3D7W+ImJ028jJuTllvlQsh4Xpqz8mJWprfKx4m/i2DwHtElHWU2vg==", "dependencies": { "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.dropunuseddefinitions": "^2.0.0", "@apollo/utils.printwithreducedwhitespace": "^2.0.0", "@apollo/utils.removealiases": "2.0.0", "@apollo/utils.sortast": "^2.0.0", "@apollo/utils.stripsensitiveliterals": "^2.0.0" }, "engines": { "node": ">=14" }, "peerDependencies": { "graphql": "14.x || 15.x || 16.x" } }, "node_modules/@apollo/utils.withrequired": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@apollo/utils.withrequired/-/utils.withrequired-2.0.0.tgz", "integrity": "sha512-+djpTu6AEE/A1etryZs9tmXRyDY6XXGe3G29MS/LB09uHq3pcl3n4Q5lvDTL5JWKuJixrulg5djePLDAooG8dQ==", "engines": { "node": ">=14" } }, "node_modules/@graphql-tools/merge": { "version": "8.3.18", "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.3.18.tgz", "integrity": "sha512-R8nBglvRWPAyLpZL/f3lxsY7wjnAeE0l056zHhcO/CgpvK76KYUt9oEkR05i8Hmt8DLRycBN0FiotJ0yDQWTVA==", "dependencies": { "@graphql-tools/utils": "9.2.1", "tslib": "^2.4.0" }, "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, "node_modules/@graphql-tools/mock": { "version": "8.7.18", "resolved": "https://registry.npmjs.org/@graphql-tools/mock/-/mock-8.7.18.tgz", "integrity": "sha512-ZbXMp86V0DmfgUZhr5aGHtNIS2hBazhvTpPlFCyNOP+RMio3ErKnSsma3T1jV1ZyMo11l7QrxV9Xxn3uA0dv+w==", "dependencies": { "@graphql-tools/schema": "9.0.16", "@graphql-tools/utils": "9.2.1", "fast-json-stable-stringify": "^2.1.0", "tslib": "^2.4.0" }, "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, "node_modules/@graphql-tools/schema": { "version": "9.0.16", "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-9.0.16.tgz", "integrity": "sha512-kF+tbYPPf/6K2aHG3e1SWIbapDLQaqnIHVRG6ow3onkFoowwtKszvUyOASL6Krcv2x9bIMvd1UkvRf9OaoROQQ==", "dependencies": { "@graphql-tools/merge": "8.3.18", "@graphql-tools/utils": "9.2.1", "tslib": "^2.4.0", "value-or-promise": "1.0.12" }, "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, "node_modules/@graphql-tools/utils": { "version": "9.2.1", "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-9.2.1.tgz", "integrity": "sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A==", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", "tslib": "^2.4.0" }, "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, "node_modules/@graphql-typed-document-node/core": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.1.tgz", "integrity": "sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==", "peerDependencies": { "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" } }, "node_modules/@josephg/resolvable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@josephg/resolvable/-/resolvable-1.0.1.tgz", "integrity": "sha512-CtzORUwWTTOTqfVtHaKRJ0I1kNQd1bpn3sUh8I3nJDVY+5/M/Oe1DnEWzPQvqq/xPIIkzzzIP7mfCoAjFRvDhg==" }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" }, "node_modules/@protobufjs/base64": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" }, "node_modules/@protobufjs/codegen": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" }, "node_modules/@protobufjs/eventemitter": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" }, "node_modules/@protobufjs/fetch": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", "dependencies": { "@protobufjs/aspromise": "^1.1.1", "@protobufjs/inquire": "^1.1.0" } }, "node_modules/@protobufjs/float": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" }, "node_modules/@protobufjs/inquire": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" }, "node_modules/@protobufjs/path": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" }, "node_modules/@protobufjs/pool": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" }, "node_modules/@protobufjs/utf8": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "node_modules/@types/body-parser": { "version": "1.19.2", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", "dependencies": { "@types/connect": "*", "@types/node": "*" } }, "node_modules/@types/connect": { "version": "3.4.35", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", "dependencies": { "@types/node": "*" } }, "node_modules/@types/express": { "version": "4.17.17", "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz", "integrity": "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==", "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^4.17.33", "@types/qs": "*", "@types/serve-static": "*" } }, "node_modules/@types/express-serve-static-core": { "version": "4.17.33", "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.33.tgz", "integrity": "sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA==", "dependencies": { "@types/node": "*", "@types/qs": "*", "@types/range-parser": "*" } }, "node_modules/@types/long": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, "node_modules/@types/mime": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz", "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==" }, "node_modules/@types/node": { "version": "18.13.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.13.0.tgz", "integrity": "sha512-gC3TazRzGoOnoKAhUx+Q0t8S9Tzs74z7m0ipwGpSqQrleP14hKxP4/JUeEQcD3W1/aIpnWl8pHowI7WokuZpXg==" }, "node_modules/@types/node-fetch": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.2.tgz", "integrity": "sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==", "dependencies": { "@types/node": "*", "form-data": "^3.0.0" } }, "node_modules/@types/qs": { "version": "6.9.7", "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" }, "node_modules/@types/range-parser": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==" }, "node_modules/@types/serve-static": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.0.tgz", "integrity": "sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg==", "dependencies": { "@types/mime": "*", "@types/node": "*" } }, "node_modules/@wry/context": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/@wry/context/-/context-0.7.0.tgz", "integrity": "sha512-LcDAiYWRtwAoSOArfk7cuYvFXytxfVrdX7yxoUmK7pPITLk5jYh2F8knCwS7LjgYL8u1eidPlKKV6Ikqq0ODqQ==", "optional": true, "dependencies": { "tslib": "^2.3.0" }, "engines": { "node": ">=8" } }, "node_modules/@wry/equality": { "version": "0.5.3", "resolved": "https://registry.npmjs.org/@wry/equality/-/equality-0.5.3.tgz", "integrity": "sha512-avR+UXdSrsF2v8vIqIgmeTY0UR91UT+IyablCyKe/uk22uOJ8fusKZnH9JH9e1/EtLeNJBtagNmL3eJdnOV53g==", "optional": true, "dependencies": { "tslib": "^2.3.0" }, "engines": { "node": ">=8" } }, "node_modules/@wry/trie": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@wry/trie/-/trie-0.3.2.tgz", "integrity": "sha512-yRTyhWSls2OY/pYLfwff867r8ekooZ4UI+/gxot5Wj8EFwSf2rG+n+Mo/6LoLQm1TKA4GRj2+LCpbfS937dClQ==", "optional": true, "dependencies": { "tslib": "^2.3.0" }, "engines": { "node": ">=8" } }, "node_modules/accepts": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" }, "engines": { "node": ">= 0.6" } }, "node_modules/array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" }, "node_modules/async-retry": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.3.tgz", "integrity": "sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==", "dependencies": { "retry": "0.13.1" } }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/body-parser": { "version": "1.20.1", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", "dependencies": { "bytes": "3.1.2", "content-type": "~1.0.4", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", "raw-body": "2.5.1", "type-is": "~1.6.18", "unpipe": "1.0.0" }, "engines": { "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" } }, "node_modules/bytes": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "engines": { "node": ">= 0.8" } }, "node_modules/call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", "dependencies": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dependencies": { "delayed-stream": "~1.0.0" }, "engines": { "node": ">= 0.8" } }, "node_modules/content-disposition": { "version": "0.5.4", "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "dependencies": { "safe-buffer": "5.2.1" }, "engines": { "node": ">= 0.6" } }, "node_modules/content-type": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", "engines": { "node": ">= 0.6" } }, "node_modules/cookie": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", "engines": { "node": ">= 0.6" } }, "node_modules/cookie-signature": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" }, "node_modules/cors": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", "dependencies": { "object-assign": "^4", "vary": "^1" }, "engines": { "node": ">= 0.10" } }, "node_modules/debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dependencies": { "ms": "2.0.0" } }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "engines": { "node": ">=0.4.0" } }, "node_modules/depd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", "engines": { "node": ">= 0.8" } }, "node_modules/destroy": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", "engines": { "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" } }, "node_modules/dotenv": { "version": "16.0.3", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==", "engines": { "node": ">=12" } }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/encodeurl": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "engines": { "node": ">= 0.8" } }, "node_modules/escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" }, "node_modules/etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", "engines": { "node": ">= 0.6" } }, "node_modules/express": { "version": "4.18.2", "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", "body-parser": "1.20.1", "content-disposition": "0.5.4", "content-type": "~1.0.4", "cookie": "0.5.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "etag": "~1.8.1", "finalhandler": "1.2.0", "fresh": "0.5.2", "http-errors": "2.0.0", "merge-descriptors": "1.0.1", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", "path-to-regexp": "0.1.7", "proxy-addr": "~2.0.7", "qs": "6.11.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", "send": "0.18.0", "serve-static": "1.15.0", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", "utils-merge": "1.0.1", "vary": "~1.1.2" }, "engines": { "node": ">= 0.10.0" } }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" }, "node_modules/finalhandler": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", "dependencies": { "debug": "2.6.9", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "on-finished": "2.4.1", "parseurl": "~1.3.3", "statuses": "2.0.1", "unpipe": "~1.0.0" }, "engines": { "node": ">= 0.8" } }, "node_modules/form-data": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "mime-types": "^2.1.12" }, "engines": { "node": ">= 6" } }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "engines": { "node": ">= 0.6" } }, "node_modules/fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", "engines": { "node": ">= 0.6" } }, "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "node_modules/get-intrinsic": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", "has-symbols": "^1.0.3" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/graphql": { "version": "16.6.0", "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz", "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==", "engines": { "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" } }, "node_modules/graphql-tag": { "version": "2.12.6", "resolved": "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.6.tgz", "integrity": "sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==", "optional": true, "dependencies": { "tslib": "^2.1.0" }, "engines": { "node": ">=10" }, "peerDependencies": { "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" } }, "node_modules/graphql-tools": { "version": "8.3.18", "resolved": "https://registry.npmjs.org/graphql-tools/-/graphql-tools-8.3.18.tgz", "integrity": "sha512-UnTpONDidlMNZqNi1wGBVSpGCcpKtlW0K46aWhNJCC4gTFics0r2hz1nA+Rpn04jaQy8L71Fo2II2fkKeuyuNQ==", "dependencies": { "@graphql-tools/schema": "9.0.16", "tslib": "^2.4.0" }, "optionalDependencies": { "@apollo/client": "~3.2.5 || ~3.3.0 || ~3.4.0 || ~3.5.0 || ~3.6.0 || ~3.7.0" }, "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dependencies": { "function-bind": "^1.1.1" }, "engines": { "node": ">= 0.4.0" } }, "node_modules/has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/hoist-non-react-statics": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", "optional": true, "dependencies": { "react-is": "^16.7.0" } }, "node_modules/http-errors": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", "setprototypeof": "1.2.0", "statuses": "2.0.1", "toidentifier": "1.0.1" }, "engines": { "node": ">= 0.8" } }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, "engines": { "node": ">=0.10.0" } }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", "engines": { "node": ">= 0.10" } }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "optional": true }, "node_modules/lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==" }, "node_modules/loglevel": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.8.1.tgz", "integrity": "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==", "engines": { "node": ">= 0.6.0" }, "funding": { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/loglevel" } }, "node_modules/long": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "optional": true, "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": { "loose-envify": "cli.js" } }, "node_modules/lru-cache": { "version": "7.14.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "engines": { "node": ">=12" } }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", "engines": { "node": ">= 0.6" } }, "node_modules/merge-descriptors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" }, "node_modules/methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", "engines": { "node": ">= 0.6" } }, "node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "bin": { "mime": "cli.js" }, "engines": { "node": ">=4" } }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "dependencies": { "mime-db": "1.52.0" }, "engines": { "node": ">= 0.6" } }, "node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, "node_modules/negotiator": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "engines": { "node": ">= 0.6" } }, "node_modules/node-abort-controller": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==" }, "node_modules/node-fetch": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", "dependencies": { "whatwg-url": "^5.0.0" }, "engines": { "node": "4.x || >=6.0.0" }, "peerDependencies": { "encoding": "^0.1.0" }, "peerDependenciesMeta": { "encoding": { "optional": true } } }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "engines": { "node": ">=0.10.0" } }, "node_modules/object-inspect": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", "dependencies": { "ee-first": "1.1.1" }, "engines": { "node": ">= 0.8" } }, "node_modules/optimism": { "version": "0.16.2", "resolved": "https://registry.npmjs.org/optimism/-/optimism-0.16.2.tgz", "integrity": "sha512-zWNbgWj+3vLEjZNIh/okkY2EUfX+vB9TJopzIZwT1xxaMqC5hRLLraePod4c5n4He08xuXNH+zhKFFCu390wiQ==", "optional": true, "dependencies": { "@wry/context": "^0.7.0", "@wry/trie": "^0.3.0" } }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", "engines": { "node": ">= 0.8" } }, "node_modules/path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" }, "node_modules/prop-types": { "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", "optional": true, "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.13.1" } }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" }, "engines": { "node": ">= 0.10" } }, "node_modules/qs": { "version": "6.11.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", "dependencies": { "side-channel": "^1.0.4" }, "engines": { "node": ">=0.6" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/range-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", "engines": { "node": ">= 0.6" } }, "node_modules/raw-body": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", "iconv-lite": "0.4.24", "unpipe": "1.0.0" }, "engines": { "node": ">= 0.8" } }, "node_modules/react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", "optional": true }, "node_modules/response-iterator": { "version": "0.2.6", "resolved": "https://registry.npmjs.org/response-iterator/-/response-iterator-0.2.6.tgz", "integrity": "sha512-pVzEEzrsg23Sh053rmDUvLSkGXluZio0qu8VT6ukrYuvtjVfCbDZH9d6PGXb8HZfzdNZt8feXv/jvUzlhRgLnw==", "optional": true, "engines": { "node": ">=0.8" } }, "node_modules/retry": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", "engines": { "node": ">= 4" } }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ] }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/send": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", "dependencies": { "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", "http-errors": "2.0.0", "mime": "1.6.0", "ms": "2.1.3", "on-finished": "2.4.1", "range-parser": "~1.2.1", "statuses": "2.0.1" }, "engines": { "node": ">= 0.8.0" } }, "node_modules/send/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/serve-static": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", "dependencies": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "parseurl": "~1.3.3", "send": "0.18.0" }, "engines": { "node": ">= 0.8.0" } }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" }, "node_modules/sha.js": { "version": "2.4.11", "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "dependencies": { "inherits": "^2.0.1", "safe-buffer": "^5.0.1" }, "bin": { "sha.js": "bin.js" } }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", "dependencies": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", "object-inspect": "^1.9.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/statuses": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", "engines": { "node": ">= 0.8" } }, "node_modules/symbol-observable": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz", "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==", "optional": true, "engines": { "node": ">=0.10" } }, "node_modules/toidentifier": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", "engines": { "node": ">=0.6" } }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/ts-invariant": { "version": "0.10.3", "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.10.3.tgz", "integrity": "sha512-uivwYcQaxAucv1CzRp2n/QdYPo4ILf9VXgH19zEIjFx2EJufV16P0JtJVpYHy89DItG6Kwj2oIUjrcK5au+4tQ==", "optional": true, "dependencies": { "tslib": "^2.1.0" }, "engines": { "node": ">=8" } }, "node_modules/tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/type-is": { "version": "1.6.18", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" }, "engines": { "node": ">= 0.6" } }, "node_modules/unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", "engines": { "node": ">= 0.8" } }, "node_modules/utils-merge": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", "engines": { "node": ">= 0.4.0" } }, "node_modules/uuid": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/value-or-promise": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.12.tgz", "integrity": "sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==", "engines": { "node": ">=12" } }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", "engines": { "node": ">= 0.8" } }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/whatwg-mimetype": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", "engines": { "node": ">=12" } }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "node_modules/zen-observable": { "version": "0.8.15", "resolved": "https://registry.npmjs.org/zen-observable/-/zen-observable-0.8.15.tgz", "integrity": "sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==", "optional": true }, "node_modules/zen-observable-ts": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/zen-observable-ts/-/zen-observable-ts-1.2.5.tgz", "integrity": "sha512-QZWQekv6iB72Naeake9hS1KxHlotfRpe+WGNbNx5/ta+R3DNjVO2bswf63gXlWDcs+EMd7XY8HfVQyP1X6T4Zg==", "optional": true, "dependencies": { "zen-observable": "0.8.15" } } } }
0
qxf2_public_repos/qxf2-survey
qxf2_public_repos/qxf2-survey/virtualized_employees_graphql_server/package.json
{ "name": "virtualize_graphql", "version": "1.0.0", "description": "", "main": "apollo_mock.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "@apollo/server": "^4.3.3", "@graphql-tools/mock": "^8.7.18", "dotenv": "^16.0.3", "express": "^4.18.2", "graphql": "^16.6.0", "graphql-tools": "^8.3.18" } }
0
qxf2_public_repos/qxf2-survey
qxf2_public_repos/qxf2-survey/virtualized_employees_graphql_server/employee-data.json
[ { "email": "generoustaker@qxf2.com", "employeeId": "2", "dateJoined": "01-Apr-1970", "isActive": "Y", "blogAuthorName": "user1", "firstname": "Generous", "lastname": "Taker" }, { "email": "inactive_user@qxf2.com", "employeeId": "3", "dateJoined": "02-Mar-1969", "isActive": "N", "blogAuthorName": "user2", "firstname": "Inactive", "lastname": "User" }, { "email": "slow_learner@qxf2.com", "employeeId": "5", "dateJoined": "25-Feb-1977", "isActive": "Y", "blogAuthorName": "user3", "firstname": "Slow", "lastname": "Learner" }, { "email": "smart_learner@qxf2.com", "employeeId": "4", "dateJoined": "04-Sept-1976", "isActive": "Y", "blogAuthorName": "user4", "firstname": "Smart", "lastname": "Learner" }, { "email": "use_this_email_to_find_me@qxf2.com", "employeeId": "6", "dateJoined": "03-Aug-1980", "isActive": "Y", "blogAuthorName": "user5", "firstname": "Use my email", "lastname": "find me" }, { "email": "user_to_be_deleted@qxf2.com", "employeeId": "7", "dateJoined": "28-July-1975", "isActive": "N", "blogAuthorName": "user6", "firstname": "Use my ID", "lastname": "Delete me" }, { "email": "generousgiver@qxf2.com", "employeeId": "1", "dateJoined": "03-Dec-1980", "isActive": "Y", "blogAuthorName": "user7", "firstname": "Generous", "lastname": "Giver" }, { "email": "user_status_to_be_updated@qxf2.com", "employeeId": "8", "dateJoined": "15-Aug-1986", "isActive": "N", "blogAuthorName": "user8", "firstname": "Update", "lastname": "My Status" } ]
0
qxf2_public_repos
qxf2_public_repos/rust-selenium-beginners/Cargo.toml
[package] name = "rust-beginners" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] tokio = { version = "1", features = ["full"] } thirtyfour = { version = "0.31.0", features = ["component"] } scraper = "0.15.0" [[test]] name = "09_count_rows"
0
qxf2_public_repos
qxf2_public_repos/rust-selenium-beginners/Cargo.lock
# This file is automatically @generated by Cargo. # It is not intended for manual editing. version = 3 [[package]] name = "aho-corasick" version = "0.7.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" dependencies = [ "memchr", ] [[package]] name = "android_system_properties" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" dependencies = [ "libc", ] [[package]] name = "async-trait" version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1cd7fce9ba8c3c042128ce72d8b2ddbf3a05747efb67ea0313c635e10bda47a2" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "autocfg" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "base64" version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" [[package]] name = "bitflags" version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bumpalo" version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" [[package]] name = "byteorder" version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" [[package]] name = "cc" version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" [[package]] name = "cfg-if" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" version = "0.4.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" dependencies = [ "iana-time-zone", "js-sys", "num-integer", "num-traits", "serde", "time 0.1.45", "wasm-bindgen", "winapi", ] [[package]] name = "codespan-reporting" version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" dependencies = [ "termcolor", "unicode-width", ] [[package]] name = "convert_case" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "cookie" version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" dependencies = [ "percent-encoding", "time 0.3.20", "version_check", ] [[package]] name = "core-foundation" version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" dependencies = [ "core-foundation-sys", "libc", ] [[package]] name = "core-foundation-sys" version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] name = "cssparser" version = "0.29.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa" dependencies = [ "cssparser-macros", "dtoa-short", "itoa", "matches", "phf 0.10.1", "proc-macro2", "quote", "smallvec", "syn", ] [[package]] name = "cssparser-macros" version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfae75de57f2b2e85e8768c3ea840fd159c8f33e2b6522c7835b7abac81be16e" dependencies = [ "quote", "syn", ] [[package]] name = "cxx" version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86d3488e7665a7a483b57e25bdd90d0aeb2bc7608c8d0346acf2ad3f1caf1d62" dependencies = [ "cc", "cxxbridge-flags", "cxxbridge-macro", "link-cplusplus", ] [[package]] name = "cxx-build" version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48fcaf066a053a41a81dfb14d57d99738b767febb8b735c3016e469fac5da690" dependencies = [ "cc", "codespan-reporting", "once_cell", "proc-macro2", "quote", "scratch", "syn", ] [[package]] name = "cxxbridge-flags" version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2ef98b8b717a829ca5603af80e1f9e2e48013ab227b68ef37872ef84ee479bf" [[package]] name = "cxxbridge-macro" version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "086c685979a698443656e5cf7856c95c642295a38599f12fb1ff76fb28d19892" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "derive_more" version = "0.99.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ "convert_case", "proc-macro2", "quote", "rustc_version", "syn", ] [[package]] name = "dtoa" version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56899898ce76aaf4a0f24d914c97ea6ed976d42fec6ad33fcbb0a1103e07b2b0" [[package]] name = "dtoa-short" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bde03329ae10e79ede66c9ce4dc930aa8599043b0743008548680f25b91502d6" dependencies = [ "dtoa", ] [[package]] name = "ego-tree" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a68a4904193147e0a8dec3314640e6db742afd5f6e634f428a6af230d9b3591" [[package]] name = "fantoccini" version = "0.19.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65f0fbe245d714b596ba5802b46f937f5ce68dcae0f32f9a70b5c3b04d3c6f64" dependencies = [ "base64 0.13.1", "cookie", "futures-core", "futures-util", "http", "hyper", "hyper-rustls", "mime", "serde", "serde_json", "time 0.3.20", "tokio", "url", "webdriver", ] [[package]] name = "fnv" version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "form_urlencoded" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" dependencies = [ "percent-encoding", ] [[package]] name = "futf" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843" dependencies = [ "mac", "new_debug_unreachable", ] [[package]] name = "futures" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13e2792b0ff0340399d58445b88fd9770e3489eff258a4cbc1523418f12abf84" dependencies = [ "futures-channel", "futures-core", "futures-executor", "futures-io", "futures-sink", "futures-task", "futures-util", ] [[package]] name = "futures-channel" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e5317663a9089767a1ec00a487df42e0ca174b61b4483213ac24448e4664df5" dependencies = [ "futures-core", "futures-sink", ] [[package]] name = "futures-core" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec90ff4d0fe1f57d600049061dc6bb68ed03c7d2fbd697274c41805dcb3f8608" [[package]] name = "futures-executor" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8de0a35a6ab97ec8869e32a2473f4b1324459e14c29275d14b10cb1fd19b50e" dependencies = [ "futures-core", "futures-task", "futures-util", ] [[package]] name = "futures-io" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfb8371b6fb2aeb2d280374607aeabfc99d95c72edfe51692e42d3d7f0d08531" [[package]] name = "futures-macro" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95a73af87da33b5acf53acfebdc339fe592ecf5357ac7c0a7734ab9d8c876a70" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "futures-sink" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f310820bb3e8cfd46c80db4d7fb8353e15dfff853a127158425f31e0be6c8364" [[package]] name = "futures-task" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcf79a1bf610b10f42aea489289c5a2c478a786509693b80cd39c44ccd936366" [[package]] name = "futures-util" version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c1d6de3acfef38d2be4b1f543f553131788603495be83da675e180c8d6b7bd1" dependencies = [ "futures-channel", "futures-core", "futures-io", "futures-macro", "futures-sink", "futures-task", "memchr", "pin-project-lite", "pin-utils", "slab", ] [[package]] name = "fxhash" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" dependencies = [ "byteorder", ] [[package]] name = "getopts" version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5" dependencies = [ "unicode-width", ] [[package]] name = "getrandom" version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ "cfg-if", "libc", "wasi 0.9.0+wasi-snapshot-preview1", ] [[package]] name = "getrandom" version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" dependencies = [ "cfg-if", "libc", "wasi 0.11.0+wasi-snapshot-preview1", ] [[package]] name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "hermit-abi" version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" dependencies = [ "libc", ] [[package]] name = "html5ever" version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bea68cab48b8459f17cf1c944c67ddc572d272d9f2b274140f223ecb1da4a3b7" dependencies = [ "log", "mac", "markup5ever", "proc-macro2", "quote", "syn", ] [[package]] name = "http" version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ "bytes", "fnv", "itoa", ] [[package]] name = "http-body" version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http", "pin-project-lite", ] [[package]] name = "httparse" version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "httpdate" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" [[package]] name = "hyper" version = "0.14.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e011372fa0b68db8350aa7a248930ecc7839bf46d8485577d69f117a75f164c" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", "http", "http-body", "httparse", "httpdate", "itoa", "pin-project-lite", "socket2", "tokio", "tower-service", "tracing", "want", ] [[package]] name = "hyper-rustls" version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" dependencies = [ "http", "hyper", "log", "rustls", "rustls-native-certs", "tokio", "tokio-rustls", ] [[package]] name = "iana-time-zone" version = "0.1.53" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", "winapi", ] [[package]] name = "iana-time-zone-haiku" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" dependencies = [ "cxx", "cxx-build", ] [[package]] name = "idna" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" dependencies = [ "unicode-bidi", "unicode-normalization", ] [[package]] name = "indexmap" version = "1.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" dependencies = [ "autocfg", "hashbrown", ] [[package]] name = "itoa" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" [[package]] name = "js-sys" version = "0.3.61" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730" dependencies = [ "wasm-bindgen", ] [[package]] name = "libc" version = "0.2.139" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" [[package]] name = "link-cplusplus" version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" dependencies = [ "cc", ] [[package]] name = "lock_api" version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" dependencies = [ "autocfg", "scopeguard", ] [[package]] name = "log" version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ "cfg-if", ] [[package]] name = "mac" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" [[package]] name = "markup5ever" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016" dependencies = [ "log", "phf 0.10.1", "phf_codegen 0.10.0", "string_cache", "string_cache_codegen", "tendril", ] [[package]] name = "matches" version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "memchr" version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "mime" version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" [[package]] name = "mio" version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" dependencies = [ "libc", "log", "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.45.0", ] [[package]] name = "new_debug_unreachable" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" [[package]] name = "nodrop" version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" [[package]] name = "num-integer" version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" dependencies = [ "autocfg", "num-traits", ] [[package]] name = "num-traits" version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" dependencies = [ "autocfg", ] [[package]] name = "num_cpus" version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" dependencies = [ "hermit-abi", "libc", ] [[package]] name = "once_cell" version = "1.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" [[package]] name = "openssl-probe" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "parking_lot" version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", "parking_lot_core", ] [[package]] name = "parking_lot_core" version = "0.9.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" dependencies = [ "cfg-if", "libc", "redox_syscall", "smallvec", "windows-sys 0.45.0", ] [[package]] name = "percent-encoding" version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" [[package]] name = "phf" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12" dependencies = [ "phf_shared 0.8.0", ] [[package]] name = "phf" version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" dependencies = [ "phf_macros", "phf_shared 0.10.0", "proc-macro-hack", ] [[package]] name = "phf_codegen" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815" dependencies = [ "phf_generator 0.8.0", "phf_shared 0.8.0", ] [[package]] name = "phf_codegen" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd" dependencies = [ "phf_generator 0.10.0", "phf_shared 0.10.0", ] [[package]] name = "phf_generator" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526" dependencies = [ "phf_shared 0.8.0", "rand 0.7.3", ] [[package]] name = "phf_generator" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" dependencies = [ "phf_shared 0.10.0", "rand 0.8.5", ] [[package]] name = "phf_macros" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" dependencies = [ "phf_generator 0.10.0", "phf_shared 0.10.0", "proc-macro-hack", "proc-macro2", "quote", "syn", ] [[package]] name = "phf_shared" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7" dependencies = [ "siphasher", ] [[package]] name = "phf_shared" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" dependencies = [ "siphasher", ] [[package]] name = "pin-project-lite" version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" [[package]] name = "pin-utils" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "ppv-lite86" version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precomputed-hash" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" [[package]] name = "proc-macro-error" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr", "proc-macro2", "quote", "syn", "version_check", ] [[package]] name = "proc-macro-error-attr" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ "proc-macro2", "quote", "version_check", ] [[package]] name = "proc-macro-hack" version = "0.5.20+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" version = "1.0.51" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6" dependencies = [ "unicode-ident", ] [[package]] name = "quote" version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" dependencies = [ "proc-macro2", ] [[package]] name = "rand" version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ "getrandom 0.1.16", "libc", "rand_chacha 0.2.2", "rand_core 0.5.1", "rand_hc", "rand_pcg", ] [[package]] name = "rand" version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha 0.3.1", "rand_core 0.6.4", ] [[package]] name = "rand_chacha" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" dependencies = [ "ppv-lite86", "rand_core 0.5.1", ] [[package]] name = "rand_chacha" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", "rand_core 0.6.4", ] [[package]] name = "rand_core" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" dependencies = [ "getrandom 0.1.16", ] [[package]] name = "rand_core" version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ "getrandom 0.2.8", ] [[package]] name = "rand_hc" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" dependencies = [ "rand_core 0.5.1", ] [[package]] name = "rand_pcg" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" dependencies = [ "rand_core 0.5.1", ] [[package]] name = "redox_syscall" version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ "bitflags", ] [[package]] name = "regex" version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" dependencies = [ "aho-corasick", "memchr", "regex-syntax", ] [[package]] name = "regex-syntax" version = "0.6.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" [[package]] name = "ring" version = "0.16.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" dependencies = [ "cc", "libc", "once_cell", "spin", "untrusted", "web-sys", "winapi", ] [[package]] name = "rust-beginners" version = "0.1.0" dependencies = [ "scraper", "thirtyfour", "tokio", ] [[package]] name = "rustc_version" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ "semver", ] [[package]] name = "rustls" version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" dependencies = [ "log", "ring", "sct", "webpki", ] [[package]] name = "rustls-native-certs" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50" dependencies = [ "openssl-probe", "rustls-pemfile", "schannel", "security-framework", ] [[package]] name = "rustls-pemfile" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" dependencies = [ "base64 0.21.0", ] [[package]] name = "ryu" version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" [[package]] name = "schannel" version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3" dependencies = [ "windows-sys 0.42.0", ] [[package]] name = "scopeguard" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "scraper" version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c557a9a03db98b0b298b497f0e16cd35a04a1fa9ee1130a6889c0714e0b73df" dependencies = [ "cssparser", "ego-tree", "getopts", "html5ever", "matches", "selectors", "smallvec", "tendril", ] [[package]] name = "scratch" version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2" [[package]] name = "sct" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" dependencies = [ "ring", "untrusted", ] [[package]] name = "security-framework" version = "2.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" dependencies = [ "bitflags", "core-foundation", "core-foundation-sys", "libc", "security-framework-sys", ] [[package]] name = "security-framework-sys" version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4" dependencies = [ "core-foundation-sys", "libc", ] [[package]] name = "selectors" version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416" dependencies = [ "bitflags", "cssparser", "derive_more", "fxhash", "log", "phf 0.8.0", "phf_codegen 0.8.0", "precomputed-hash", "servo_arc", "smallvec", ] [[package]] name = "semver" version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" [[package]] name = "serde" version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "serde_json" version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76" dependencies = [ "indexmap", "itoa", "ryu", "serde", ] [[package]] name = "serde_repr" version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a5ec9fa74a20ebbe5d9ac23dac1fc96ba0ecfe9f50f2843b52e537b10fbcb4e" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "servo_arc" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d52aa42f8fdf0fed91e5ce7f23d8138441002fa31dca008acf47e6fd4721f741" dependencies = [ "nodrop", "stable_deref_trait", ] [[package]] name = "signal-hook-registry" version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" dependencies = [ "libc", ] [[package]] name = "siphasher" version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "slab" version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" dependencies = [ "autocfg", ] [[package]] name = "smallvec" version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "socket2" version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" dependencies = [ "libc", "winapi", ] [[package]] name = "spin" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "stable_deref_trait" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "string_cache" version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" dependencies = [ "new_debug_unreachable", "once_cell", "parking_lot", "phf_shared 0.10.0", "precomputed-hash", "serde", ] [[package]] name = "string_cache_codegen" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988" dependencies = [ "phf_generator 0.10.0", "phf_shared 0.10.0", "proc-macro2", "quote", ] [[package]] name = "stringmatch" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6aadc0801d92f0cdc26127c67c4b8766284f52a5ba22894f285e3101fa57d05d" dependencies = [ "regex", ] [[package]] name = "syn" version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] [[package]] name = "tendril" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0" dependencies = [ "futf", "mac", "utf-8", ] [[package]] name = "termcolor" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" dependencies = [ "winapi-util", ] [[package]] name = "thirtyfour" version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72fc70ad9624071cdd96d034676b84b504bfeb4bee1580df1324c99373ea0ca7" dependencies = [ "async-trait", "base64 0.13.1", "chrono", "cookie", "fantoccini", "futures", "http", "log", "parking_lot", "serde", "serde_json", "serde_repr", "stringmatch", "thirtyfour-macros", "thiserror", "tokio", "url", "urlparse", ] [[package]] name = "thirtyfour-macros" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cae91d1c7c61ec65817f1064954640ee350a50ae6548ff9a1bdd2489d6ffbb0" dependencies = [ "proc-macro-error", "proc-macro2", "quote", "syn", ] [[package]] name = "thiserror" version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "time" version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" dependencies = [ "libc", "wasi 0.10.0+wasi-snapshot-preview1", "winapi", ] [[package]] name = "time" version = "0.3.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" dependencies = [ "itoa", "serde", "time-core", "time-macros", ] [[package]] name = "time-core" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" [[package]] name = "time-macros" version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" dependencies = [ "time-core", ] [[package]] name = "tinyvec" version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" dependencies = [ "tinyvec_macros", ] [[package]] name = "tinyvec_macros" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" version = "1.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03201d01c3c27a29c8a5cee5b55a93ddae1ccf6f08f65365c2c918f8c1b76f64" dependencies = [ "autocfg", "bytes", "libc", "memchr", "mio", "num_cpus", "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", "windows-sys 0.45.0", ] [[package]] name = "tokio-macros" version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "tokio-rustls" version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ "rustls", "tokio", "webpki", ] [[package]] name = "tower-service" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" version = "0.1.37" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if", "pin-project-lite", "tracing-core", ] [[package]] name = "tracing-core" version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" dependencies = [ "once_cell", ] [[package]] name = "try-lock" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "unicode-bidi" version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d54675592c1dbefd78cbd98db9bacd89886e1ca50692a0692baefffdeb92dd58" [[package]] name = "unicode-ident" version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" [[package]] name = "unicode-normalization" version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" dependencies = [ "tinyvec", ] [[package]] name = "unicode-segmentation" version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" [[package]] name = "unicode-width" version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" [[package]] name = "untrusted" version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] name = "url" version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" dependencies = [ "form_urlencoded", "idna", "percent-encoding", ] [[package]] name = "urlparse" version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "110352d4e9076c67839003c7788d8604e24dcded13e0b375af3efaa8cf468517" [[package]] name = "utf-8" version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" [[package]] name = "version_check" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "want" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" dependencies = [ "log", "try-lock", ] [[package]] name = "wasi" version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" [[package]] name = "wasi" version = "0.10.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" dependencies = [ "cfg-if", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", "syn", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-macro" version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" dependencies = [ "quote", "wasm-bindgen-macro-support", ] [[package]] name = "wasm-bindgen-macro-support" version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" dependencies = [ "proc-macro2", "quote", "syn", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" version = "0.2.84" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" [[package]] name = "web-sys" version = "0.3.61" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97" dependencies = [ "js-sys", "wasm-bindgen", ] [[package]] name = "webdriver" version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9973cb72c8587d5ad5efdb91e663d36177dc37725e6c90ca86c626b0cc45c93f" dependencies = [ "base64 0.13.1", "bytes", "cookie", "http", "log", "serde", "serde_derive", "serde_json", "time 0.3.20", "unicode-segmentation", "url", ] [[package]] name = "webpki" version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" dependencies = [ "ring", "untrusted", ] [[package]] name = "winapi" version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" dependencies = [ "winapi-i686-pc-windows-gnu", "winapi-x86_64-pc-windows-gnu", ] [[package]] name = "winapi-i686-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" dependencies = [ "winapi", ] [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-sys" version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" dependencies = [ "windows_aarch64_gnullvm", "windows_aarch64_msvc", "windows_i686_gnu", "windows_i686_msvc", "windows_x86_64_gnu", "windows_x86_64_gnullvm", "windows_x86_64_msvc", ] [[package]] name = "windows-sys" version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" dependencies = [ "windows-targets", ] [[package]] name = "windows-targets" version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7" dependencies = [ "windows_aarch64_gnullvm", "windows_aarch64_msvc", "windows_i686_gnu", "windows_i686_msvc", "windows_x86_64_gnu", "windows_x86_64_gnullvm", "windows_x86_64_msvc", ] [[package]] name = "windows_aarch64_gnullvm" version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" [[package]] name = "windows_aarch64_msvc" version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" [[package]] name = "windows_i686_gnu" version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" [[package]] name = "windows_i686_msvc" version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" [[package]] name = "windows_x86_64_gnu" version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" [[package]] name = "windows_x86_64_gnullvm" version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" [[package]] name = "windows_x86_64_msvc" version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"
0
qxf2_public_repos
qxf2_public_repos/rust-selenium-beginners/README.md
# Learn Selenium using examples for beginners Selenium lets you control the browser through a script. Selenium lets you interact with browsers in a manner similar to real users interacting with browsers. We present small code samples that help you learn Selenium from scratch using Rust with https://qxf2.com/Selenium-tutorial-main. These are example code for some of the most commonly performed actions on a webpage like navigating to a URL, fill in the text, click buttons, hover over elements, choose drop downs, validate text, etc. UI automation is (thankfully) not needed as much in the Rust ecosystem. However, we do foresee it being a tiny portion of our testing strategy. **Disclaimer:** This code is aimed at Selenium BEGINNERS with Rust. There are several bad practices here like hardcoding URL's, values, using sleep. Qxf2 engineers doesn't write such rust code at clients. ## Download the driver - Download Geckodriver (https://github.com/mozilla/geckodriver/releases) and add it to your PATH environment variable - Download Chromedriver (https://sites.google.com/chromium.org/driver/) and add it to your PATH environment variable ## Run the Tests **Note1:** The folder structure contains tests and all tests are present within it because these are integration tests. **Note2:** When you run the tests for first time, it will take sometime(~5min) to build and run it. From next time, tests would run in a jiffy. - Open a terminal and run the driver with the following command chromedriver - If you are running in firefox than open a terminal and run the driver with the following command geckodriver --port 9515 - Open another terminal, navigate to the source directory containing the .toml file and run the following to run individual test cargo test --test 11_consolidated_test - To run all the tests sequentially, run the following cargo test ![](consolidated_tests.gif) We have found that a lot of Rust codes written online is for folks who knows Rust well. Hence, the code provided doesn't always compile or they just provide code snippets. We thought, for someone like a Rust beginner, this would be helpful.
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/01_url_navigation.rs
/* Learn to navigate to a URL using Selenium in Rust DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome Driver 2) Navigate to Qxf2 Tutorial page 3) Check the page title 4) Close the browser */ use thirtyfour::prelude::{DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn navigate_to_url() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Storing the Page title let page_title = driver.title() .await .expect("Page title not found"); //Quit the browser window driver.quit().await?; //Check if the title of the page is proper assert_eq!( page_title, "Qxf2 Services: Selenium training main" ); Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/10_table_text.rs
/* Learn to parse the text within each cell of a table in Rust DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome driver 2) Navigate to Qxf2 Tutorial page 3) Get all the fields from the table 4) Close the browser */ use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn table_text() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Maximize the browser window driver.maximize_window().await?; //# KEY POINT: Logic to get the text in each cell of the table //# Find the Example table element in the page let table = driver .find(By::XPath("//table[@name='Example Table']")) .await .expect("Couldn't find the Example table"); //# Use find_elements_by_xpath method to get the rows in the table let rows = table .find_all(By::XPath("//tbody/descendant::tr")) .await .expect("Couldn't find the rows from the table"); let rows_len = rows.len(); let mut my_table: Vec<Vec<String>> = Vec::new(); for i in 0..rows_len { //# Find no of columns by getting the td elements in each row let cols = rows[i] .find_all(By::Tag("td")) .await .expect("Couldn't find the columns in the rows"); let cols_len = cols.len(); let mut column_data: Vec<String> = Vec::new(); for j in 0..cols_len { //# Get the text of each field let value = cols[j] .text() .await .expect("Couldn't find the text of fields"); column_data.push(value); } my_table.push(column_data); } //# Print the result list println!("{:?}", my_table); //Quit the browser window driver.quit().await?; //Assert the table length assert_eq!(my_table.len(), 3); Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/03_set_dropdown.rs
/* Learn to set dropdowns with Selenium in Rust DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome Driver 2) Navigate to Qxf2 Tutorial page 3) Set Gender to Male in the Example Form 4) Close the browser */ use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn set_dropdown() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Maximize the browser window driver.maximize_window().await?; //KEY POINT: Identify the dropdown and click on it //We are purposefully not showing assert here. We will show how to assert in later tests. let dropdown_element = driver .find(By::Css("button[type='button']")) .await .expect("Drop down not found"); dropdown_element .click() .await .expect("Unable to click the dropdown"); //KEY POINT: Locate a particular option and click on it let option = driver .find(By::XPath("//a[text()='Male']")) .await .expect("Not able to locate a option"); option.click().await.expect("Unable to click the option"); //Close the browser window driver.quit().await?; Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/11_consolidated_test.rs
/* Selenium script that performs several common actions like: click button, select dropdown, enable checkbox, set text, get text from table DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome driver 2) Navigate to Qxf2 Tutorial page 3) Print the contents of the table 4) Fill all the text fields 5) Select Dropdown option 6) Enable the checkbox 7) Take a screenshot 8) Click on Submit button 9) Close the browser */ use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn table_text() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Maximize the browser window driver.maximize_window().await?; //# KEY POINT: Logic to get the text in each cell of the table //# Find the Example table element in the page let table = driver .find(By::XPath("//table[@name='Example Table']")) .await .expect("Couldn't find the Example table"); //# Use find_elements_by_xpath method to get the rows in the table let rows = table .find_all(By::XPath("//tbody/descendant::tr")) .await .expect("Couldn't find the rows from the table"); let rows_len = rows.len(); let mut my_table: Vec<Vec<String>> = Vec::new(); for i in 0..rows_len { //# Find no of columns by getting the td elements in each row let cols = rows[i] .find_all(By::Tag("td")) .await .expect("Couldn't find the columns in the rows"); let cols_len = cols.len(); let mut column_data: Vec<String> = Vec::new(); for j in 0..cols_len { //# Get the text of each field let value = cols[j] .text() .await .expect("Couldn't find the text of fields"); column_data.push(value); } my_table.push(column_data); } //# Print the result list println!("{:?}", my_table); //Find the name field using id let name = driver .find(By::Id("name")) .await .expect("Name field not found"); name.send_keys("Ajitava") .await .expect("Unable to send the name in text field"); //Find the email field using name let email = driver .find(By::Name("email")) .await .expect("Email field not found"); email .send_keys("ajitava@qxf2.com") .await .expect("Unable to send email in text field"); //Find the phone no field using id let phone = driver .find(By::Id("phone")) .await .expect("Phone number field not found"); phone .send_keys("9999999999") .await .expect("Unable to enter phone number in the field"); //KEY POINT: Identify the dropdown and click on it let dropdown_element = driver .find(By::Css("button[type='button']")) .await .expect("Drop down not found"); dropdown_element .click() .await .expect("Unable to click the dropdown"); //KEY POINT: Locate a particular option and click on it let option = driver .find(By::XPath("//a[text()='Male']")) .await .expect("Not able to locate a option"); option.click().await.expect("Unable to click the option"); //KEY POINT: Locate the checkbox and click on it let checkbox = driver .find(By::XPath("//input[@type='checkbox']")) .await .expect("Unable to locate the checkbox"); checkbox .click() .await .expect("Not able to click the checkbox"); //KEY POINT: Locate the button and click on it let button = driver .find(By::XPath("//button[text()='Click me!']")) .await .expect("Unable to locate the button, Click Me"); button .click() .await .expect("Unable to click the button Click me"); //Verify user is taken to Qxf2 tutorial redirect url let url = driver .current_url() .await .expect("Unable to fetch the current url"); //Quit the browser window driver.quit().await?; //Assert the Qxf2 tutorial redirect url assert_eq!(url.as_str(), "https://qxf2.com/selenium-tutorial-redirect"); Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/07_form_submit_success.rs
/* Learn to fill and submit a form with Selenium in Rust DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome driver 2) Navigate to Qxf2 Tutorial page 3) Fill all the text field in Example form 4) Click on Click me! button 5) Verify user is taken to Selenium Tutorial redirect page 6) Close the browser */ use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn form_submit_success() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Check if the title of the page is proper assert_eq!( driver.title().await.expect("Page title not found"), "Qxf2 Services: Selenium training main" ); //Find the name field using id let name = driver .find(By::Id("name")) .await .expect("Name field not found"); name.send_keys("Ajitava") .await .expect("Unable to send the name in text field"); //Find the email field using name let email = driver .find(By::Name("email")) .await .expect("Email field not found"); email .send_keys("ajitava@qxf2.com") .await .expect("Unable to send email in text field"); //Find the phone no field using id let phone = driver .find(By::Id("phone")) .await .expect("Phone number field not found"); phone .send_keys("9999999999") .await .expect("Unable to enter phone number in the field"); //KEY POINT: Locate the button and click on it let button = driver .find(By::XPath("//button[text()='Click me!']")) .await .expect("Unable to locate the button, Click Me"); button .click() .await .expect("Unable to click the button Click me"); //Verify user is taken to Qxf2 tutorial redirect url let url = driver .current_url() .await .expect("Unable to fetch the current url"); //Close the browser window driver.quit().await?; //Assert the Qxf2 tutorial redirect url assert_eq!(url.as_str(), "https://qxf2.com/selenium-tutorial-redirect"); Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/09_count_rows.rs
/* Learn to count the rows in a table using Selenium in Rust DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome driver 2) Navigate to Qxf2 Tutorial page 3) Find the no of rows in the Example tabel 4) Close the browser */ use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn count_rows() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Maximize the browser window driver.maximize_window().await?; //Find the table element in the page let table = driver .find(By::XPath("//table[@name='Example Table']")) .await .expect("Couldn't find the table element"); //KEY POINT: Find the tr elements in the table let rows = table .find(By::XPath("//tbody/descendant::tr")) .await .expect("Couldn't find the row elements in the table"); //Close the browser window driver.quit().await?; //Assert the row length assert_eq!(rows.to_string().len(), 296); Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/08_hover.rs
/* Learn to hover over elements using Selenium in Rust DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome driver 2) Navigate to Qxf2 Tutorial page 3) Click on Menu icon 4) Hover over Resource and GUI automation and click on GUI automation link 5) Close the browser */ use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn hover() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Maximize the browser window driver.maximize_window().await?; //Locate the Menu icon and click on it let menu = driver .find(By::XPath("//img[@src='./assets/img/menu.png']")) .await .expect("Menu icon not found"); menu.click().await.expect("Menu is not clicked"); //Locate the Resource element to hover over let resource = driver .find(By::XPath("//a[text()='Resources']")) .await .expect("Resource is not found"); driver .action_chain() .move_to_element_center(&resource) .click_and_hold() .perform() .await .expect("The required resource was not found and clicked"); //Click the GUI automation link let gui_automation = driver .find(By::XPath("//a[text()='GUI automation']")) .await .expect("The gui automation link was not found"); gui_automation .click() .await .expect("The gui automation link was not clicked"); let current_url = driver .current_url() .await .expect("Failed to get current URL"); //Close the browser window driver.quit().await?; //Assert that the URL has changed to the GUI automation page assert_eq!(current_url.as_str(), "https://qxf2.com/gui-automation-diy"); Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/05_click_button.rs
/* Learn to click a button with Selenium in Rust DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome driver 2) Navigate to Qxf2 Tutorial page 3) Find the Click me! button and click on it 4) Close the driver */ use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn click_button() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Maximize the browser window driver.maximize_window().await?; //KEY POINT: Locate the button and click on it let button = driver .find(By::XPath("//button[text()='Click me!']")) .await .expect("Unable to locate the button, Click Me"); button .click() .await .expect("Unable to click the button Click me"); //Fetching the button title let button_title = button.inner_html().await?; //Close the browser window driver.quit().await?; //Assert the button title assert_eq!( button_title, "Click me!" ); Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/02_fill_text.rs
/* Learn to fill text fields with Selenium in Rust DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Firefox Driver 2) Navigate to Qxf2 Tutorial page 3) Find elements using id, xpath, xpath without id 4) Fill name, email and phone no in the respective fields 5) Close the browser */ use std::time::Duration; use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; use tokio::time::sleep; #[tokio::test] async fn fill_text() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::firefox(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Strong the Page Title let page_title = driver.title() .await .expect("Page title not found"); //Find the name field using id let name = driver .find(By::Id("name")) .await .expect("Name field not found"); name.send_keys("Ajitava") .await .expect("Unable to send the name in text field"); //Find the email field using name let email = driver .find(By::Name("email")) .await .expect("Email field not found"); email .send_keys("ajitava@qxf2.com") .await .expect("Unable to send email in text field"); //Find the phone no field using id let phone = driver .find(By::XPath("//input[@id='phone']")) .await .expect("Phone number field not found"); phone .send_keys("9999999999") .await .expect("Unable to enter phone number in the field"); //Sleep is one way to wait for things to load and it's an anti-pattern //Future tutorials cover other type of waits like implicit etc. sleep(Duration::from_secs(5)).await; //Close the browser window driver.quit().await?; //Check if the title of the page is proper assert_eq!( page_title, "Qxf2 Services: Selenium training main" ); Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/04_enable_checkbox.rs
/* Learn to select a checkbox using Selenium in Rust DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome Driver 2) Navigate to Qxf2 Tutorial page 3) Find the Checkbox element in the Example form and enable it 4) Close the browser */ use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn enable_checkbox() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Maximize the browser window driver.maximize_window().await?; //KEY POINT: Locate the checkbox and click on it //We are purposefully not showing assert here. We will show how to assert in later tests. let checkbox = driver .find(By::XPath("//input[@type='checkbox']")) .await .expect("Unable to locate the checkbox"); checkbox .click() .await .expect("Not able to click the checkbox"); //Close the browser window driver.quit().await?; Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/tests/06_form_validation.rs
/* Check for the presence of absence of page elements DISCLAIMER: This code is aimed at Rust BEGINNERS. This is not how Qxf2 engineers write rust code at clients. AUTHOR: Ajitava Deb SCOPE: 1) Launch Chrome driver 2) Navigate to Qxf2 Tutorial page 3) Find the Click me! button and click on it 4) Check for the validation message 5) Close the browser */ use thirtyfour::prelude::{By,DesiredCapabilities,WebDriver,WebDriverResult}; #[tokio::test] async fn form_validation() -> WebDriverResult<()> { let capabilities = DesiredCapabilities::chrome(); //Create an instance of WebDriver let driver = WebDriver::new("http://localhost:9515", capabilities) .await .expect("Failed to connect to localhost:9515. Have you started the WebDriver process in another terminal?"); //KEY POINT: The driver.goto method will navigate to a page given by the URL driver .goto("http://qxf2.com/selenium-tutorial-main") .await .expect("Couldn't navigate to the URL"); //Maximize the browser window driver.maximize_window().await?; //KEY POINT: Locate the button and click on it let button = driver .find(By::XPath("//button[text()='Click me!']")) .await .expect("Unable to locate the button, Click Me"); button .click() .await .expect("Unable to click the button Click me"); let name_variable = "Please enter your name"; //KEY POINT: Check if the validation mesage for name field let validation_name = driver .find(By::XPath("//label[text()='Please enter your name']")) .await; match validation_name { Ok(_val) => println!("{} is present", name_variable), Err(_) => println!("{} is not present", name_variable), } //Close the browser window driver.quit().await?; Ok(()) }
0
qxf2_public_repos/rust-selenium-beginners
qxf2_public_repos/rust-selenium-beginners/src/main.rs
fn main() { println!("The application code resides here"); }
0
qxf2_public_repos
qxf2_public_repos/flask-ses-form/LICENSE
MIT License Copyright (c) 2020 qxf2 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0
qxf2_public_repos
qxf2_public_repos/scratchpad/LICENSE
MIT License Copyright (c) 2019 qxf2 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0
qxf2_public_repos
qxf2_public_repos/scratchpad/README.md
# scratchpad This is a collection of group code exercises that Qxf2 does every two weeks. We do not expect this repo to be useful to anyone outside of Qxf2 ## How to use this repo (for Qxf2 employees) a. If you are leading the Tuesday 14:00 meeting: 1. Fork this repo 2. Create a directory for yourself in the root 3. Merge whatever code you want to share into that directory 4. Add a README inside your directory with details ... DO NOT SKIP THIS!! 5. Raise a PR to merge into master here 6. You can then have everyone pull this repo when you start your exercise 7. Each directory can have its own requirements.txt b. If you are playing along during the Tuesday 14:00 meeting: 1. Pull this repo 2. Switch to the right repo directory 3. Where needed, create a virtual env within the exercise's directory 4. Follow along
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/new-hire-onboariding/README.md
1. How did you know you were on the right track? 2. How did you know you were on the wrong track? 3. What did feel through the onboarding? Rohini: 1. Comments on Jira tickets. Discussions on Skype based on doubts. 2. Discussion on Skype. 3. Was not hands on previous company. Felt like I was not techie. It went off when there was more help. Discussion that most people had the same journey. Sprint calls were overwhelming. Pairing updates were bit intimidating. I was not sure if I was going to reach others update levels. Sravanti: 1. I was able to complete Jira tickets on time. Whether whatever I learnt, I am able to retain and apply again. 2. Comments on Jira. If I missed something obvious. 3. Felt challenging. Coding in Python was new. Mine was mostly technical and so it had less interaction. If I had more time, I would have explored more. Rahul: 1. Time bound tickets and see if I could complete. Comments and approaches shared on Slack - was my approach similar? 2. Similar to point 1. 3. Did not have much experience on technical things. I enjoyed learning new stuff. Time crunch. I couldn't compare it with earlier onboardings because it had more technical stuff. I felt like if we had more time on the Framework that would have helped. Updates on Trello card reduced fear and updates were helpful. Explain what is a 'failure' from a practical/R&D perspective. Preedhi: 1. Time suggestions. If the ticket is totally unrelatable, I have framed my questions and put it in Skype. Thumbs up/down helps. If I can finish tickets and progress. 2. I was hesitant to ask on Skype and Slack. Mental conflict - no clear indicator of whether to ask or not. Once the culture made me feel at ease and there were discussions around it, it felt nice. Responses to first few questions helped. 3. 80% adrenaline rush. Tickets were nice. It was reassuring to come back from a break and made me feel good. Technical stuff was good and challenging. 20% was anxiety. When I put my status and I am stuck, I was not able to sleep. Spoke to colleagues (Raji, Smitha) about how to do better. 4. Having a buddy. More culture related tickets initially ... before technical work begins. E.g.: Communication patterns at the start. Kiran: 1. Tickets had instructions. Applying learned concept reinforces right track. 2. If I take too much time, or ask the wrong questions, depends on the answers. 3. Overwhelmed with satisfaction. In short span of time, I was able to learn a lot and get good exposure with different tech. Akkul: 1. If I was able to complete the tickets in a given time. Some tickets have time mentioned. Apply inter-related knowledge. Weekly demos. 2. Answers on Slack, if I took too much time. 3. I felt I took more time. The tickets were somewhat familiar. I got to learn many new tech in a short span of time. Raj: 1. Being able to apply inter-related knowledge. Support from Rohini and Mohan. 2. If I consume too much time. Or if I feel I am not making progress - either in understanding or take too much time. Answers on Skype. 3. Time feels short. Interesting to learn new things. Spoke with Rohini about being stressful. Day 6 - Remote habits (Arun) Day 11 - Summarize well (Smitha) Day 22 - Writing code, breaking down (Annapoorani) Day 23 - Introduction to R&D (Avinash) Day 13 - Write - publish a post (Arun) Day 16 - Test Strategy (Prospecting - Avinash) Day 18 - What to do on a Client (Raji) Day 8 - History of Qxf2 (Arun)
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/new-hire-rules/new_hire_rules.md
This document has notes on our group discussion about how to change rules for new employees. Specifically, this document outlines ideas about: 1. What rules/conditions should we add for our next new hire? > E.g.: Work on alternate Saturdays for the first 2 years 2. What should we do with the extra bandwidth? > E.g.: Should go to colleges on Saturdays and conduct workshops ---- ## Summary: a) We will be asking more of new hires paired with a more stringent evaluation criteria. b) The 'more' is not directly in terms of time but in terms of what they contribute back. c) In general, everyone still wants to be be kind. Everyone stayed fair to the potential new hires which is good to see. d) Nobody really suggested cutting out any perk they really value and then make the new hire earn it conditionally. There does not seem to be any support to this approach. e) We all had many ideas that we can ask new hires to contribute back. ---- ## Ideas _Rohini_ 1. ?? Mandatroy blog posts every month, mandatory present domain knowledge from previous jobs, 2. Independent project and build it. _Raji_ 1. Challenge with work + Evaluation system to eliminate. Two angles of evaluation: identify two problems will involve: a) making life for the next set of hires easy b) make life of existing employees easier 2. Come up with new internal tools? _Mohan_ 1. ?? No idea 2. Syllabus for faculty training program, build a new framework. If senior people join, they can evaluate our output, work on different testing tools and give demo, _Annapoorani_ 1. Attend 2 conferences and webinars or paper published. Extra n-hours a week 2. Based on levels. E.g. Junior can build new tools/projects, Senioe can prepare some notes for others _Avinash_ 1. Extra 1-hour a day, monthly 2-3 additional tasks outside of work hours 2. Organizing meetups on our stuff (like our testing framework), present in conferences, building in other languages, ?work on unlearning stuff?, internal tools, youtube tutorials, complete a Udemy course, answering stackoverflow on company account, _Nilaya_ 1. Optional to work extra 1 hour a day or on alternate Saturdays 2. Use extra bandwidth for tasks that have deadlines _Raj_ 1. 9 hours a day is good 2. Take a new project which gives value to Qxf2 _Shiva_ 1. ?? 2. Edting/maintaining blogs, newsletter, shadowing people, bring back from shadowing _Smitha_ 1. 9 hours a day 2. Involve them in work that employees are doing? > Start with a R&D task and then do the training? > Find out how close client work the onboarding is? > Should we come up with other programs like senior training? _RohanD_ 1. Just task related (they can spend time) 2. Experienced hires have to conduct one session for employees, shadow employees _Preedhi_ 1. Challenge them with work and not time 2. Explore more on happening tech, or internal tool, shadowing on a client is useful, conducting workshops at colleges, contirbute to training programs, _Indira_ 1. ?? Different bandwidth for junior/senior/manager 2. Upcoming trends, training other Qxf2 employees _Kiran_ 1. ?? 2. Improve internal tools and contribute with newer ones _Rahul_ 1. Quantitative tasks (like x blogs in n months), time is on the individual 2. More on framework and any new ideas _RohanJ_ 1. US timings, extra time is optional, work from office 2. Meetups, conferences, shadowing client work, hardware projects, one time setups, ----
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/improve-code-standards/README.md
This document contains notes on an exercise we did. It helped in training folks to: a) produce better first versions of Python code b) Understand how to code review files submitted ### Background Our coding standards have taken a hit. I am noticing that people do a good job when contributing to our open source initiatives. But when they are asked to produce something from scratch outside of that context (e.g.: on a client or a quick script for us), we are producing extremely poor first drafts of code. Further, our code reviews have not kept with the rising standards expected from our open source code. To take a first stab at improving, we had a 1-hour exercise where we looked at some files we know are awful and had everyone give their comments on them. At the end of the discussion, we came up with useful standards that we can easily implement in our first versions of code. ### Exercise Code review the following files: 1. qxf2/samples/clients/BigBasket/bigbasket_link_click.py > No reusability, no modularity > Test pattern not broken into stages - setup, test, teardown() > I don't want it does - no comment (docstring) > locators, data are hard coded > Too many unecessary comments > Dead code > Hard to read 2. qxf2/samples/templates/Utils/mongo/mongo_util.py > Doc string is not that useful > ? Comments with source are not needed > connect/connect2 - naming is bad > too many print 3. qxf2/samples/clients/Gmail > no grouping via directory structure > no requirements.txt > no naming convention followed for files > credentials file is part of git > useless files - zip, env, etc. 4. qxf2-page-object-model/page_objects/DriverFactory.py > doc string is not very clear > too many multiline print() > run_local, run_mobile doc strings are not correct > hardcoded ports in run_mobile > missing methods for other browsers > whitespace and new line inconsistency > filename is inconsistent with everything else > no modularization at all > methods are too long > method signature is bad > method interface is unintuitive 5. qxf2-page-object-model/utils/csv_compare.py > underscore in class name > variable names file1, file2 is not descriptive > line 22 is unnecessary complexity > method is too long 6. qxf2-page-object-model/conftest.py > whitespace > better docstrings > too many arguments to a method > rearrange imports to be more logical 7. Codacy: An example ### Tips These were some of the tips we collected as part of the discussion: * Add a `if __name__ == '__main__'` if you want to execute your module standalone * Use consistent whitespacing (operators, empty lines, etc.) * Use good doc strings * Look for unused variables * Don't ever use absolute filepaths * Think hard about names for classes, files, methods, functions, variables * Break down big methods * Break down cyclomatic complexity * Don't duplicate code * Never (well, almost never) leave commented out code (learn to use git instead) * Don't have duplicate files (learn to use git properly) * Keep file names consistent * Don't use long file names * Make sure your code has a logical directory structures * Keep line lengths below 80 * Remove trailing spaces * Remove trailing lines at end of files * Good read: https://realpython.com/python-pep8/ * Example Python module to check complexity: wily
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/jul-2019-internship-review/feedback.md
### Feedback: * RohanD - [Mixed] Pairing work, GD was good ... keeping us busy - [Change] Cancel internal pairing when internship - [Good] Interacted more with interns compared with the previous internships - [Bad] MakeMeWork people are jumping on things * Indira - [Good] Batch is good - [Good] Regular demos, GD, demos, tracking progress - [Question] Did we give the feedback? - [Good] Networking/communciation was good - [Good] Updates improved over time - [Bad] We were too flexible in giving leaves - [Change] Can give some more training (e.g.: Udemy) * Avinash - [Good] Quality of candidate was good - [Good] Better feedback was good - [Good] Rohans and Shiva involved - [Good] Involve more junior candidates and they can understand their problems - [Mixed] My involvement was less * Sravanti - No context from previous - [Good] They worked with a real updates - [Good] Based on status updates it seems like good hands on experience for freshers - [Good] Invovled in GDs * Annapoorani - [Good] Most people participated - [Good] Paired programming helped a lot - [Good] I was able to understand what they wanted through 1:1 - [Change] Assessments has to be stricter (not jsut makemework) * Rohini - Not much interaction - [Good] The aptitude test questions were good - [Good] They worked on a real app including deploy (taught SDLC) - [Good] Met with everyone - [Good] Demo was good - [Good] Resume building was unexpected * Rahul - Not much interaction - [Good] Quality of batch was good - [Good] They got exposure (resume, help) - [Change] Flavour on live project * Raji - [Good] Quality of the work - [Good] opportunities (deploy, migrations, unit tests) - [] Missed the demo but from updates I could make out they were working - [Bad] They were not asking enough questions or clarifications unless they were blocked - [Change] Motivate them to ask more questions * Mohan - [Good] Everyone at Qxf2 had some task to do - [Change] Put them to work on a live project - [Bad] They did not chat much on Skype - [Change] Remove internal pairing if working with interns ### Discussions: ##### 1. Change - [Change] Cancel internal pairing when internship > Maybe - [Change] Can give some more training (e.g.: Udemy) > Yes (as 2-weeks) - [Change] Assessments has to be stricter (not jsut makemework) > Yes (Find a different learning path) - [Change] Flavour on live project > Probably? - [Change] Motivate them to ask more questions > Yes (Ask them to prep and then have questions, recordings?) - [Change] Mock interviews should be like big corps (e.g.: TCS) ##### 2. Bad - [Bad] MakeMeWork people are jumping on things > Add pytest to tutorial - [Bad] We were too flexible in giving leaves > We don't know - [Bad] They were not asking enough questions or clarifications unless they were blocked > handled in change - [Bad] They did not chat much on Skype > there is Slack ##### 3. Ideas for the next internship - Increase to 5 or 6 interns? (alternate, rotating, etc.) - Give development tickets - Better starting point for resume in week 2 (give guidelines)
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/asyncio-tutorial/README.md
This directory contains some notes from a group discussion session on asyncio. This is not meant to be readable to anyone who did not attend the session. ## Goals for the session include: a) Ability to scan (heading + code + diagrams) in a document b) Active design of experiments to test methods c) Work based on differences d) Look to code as primary way of understanding concepts e) Rapid prototyping of examples f) Finding the right level of abstraction for your memory ## Structure of the session: 1. Google to learn about asyncio - 3 minutes > Timebox > *** This went ok 2. Read three articles - 6 minutes > Can you scan text? > *** This was tough for us 3. Explain the code in English - 3 minutes > 1-line summary *** A bit of a struggle > 5-line summary *** Did not happen 4. Redo an exercise from memory - 5 minutes > How close to a black box are you? > *** we did surprisingly well here 5. Experiment with the example - 10 minutes > Were you imaginative when reading? > Can you report errors correctly? 6. List vocabulary terms - 2 minutes > *** we were ok 7. List questions - 3 minutes > *** we were ok 8. Guess the interface - 2 minutes > *** not that well 9. Let's try a for loop - ?? async for doc in get_docs(): 10. Read the documentation - 10 minutes ## Copy-paste of Google Meet chat output ```python You2:13 PM https://realpython.com/async-io-python/ https://pythonprogramming.net/asyncio-basics-intermediate-python-tutorial/ https://medium.com/@yeraydiazdiaz/asyncio-for-the-working-python-developer-5c468e6e2e8e Rahul Bhave2:14 PM https://quentin.pradet.me/blog/using-asynchronous-for-loops-in-python.html You2:25 PM 1. This article shows how you can still use asyncio with older versions of python that do not support await and async keywords Preedhi Vivek2:26 PM his blog post details out about python's asyncio library and its usage by providing code snippets and explaining the same clearly. Akkul DN2:26 PM Async io is basically used to run multiple operations concurrently Rahul Bhave2:26 PM https://medium.com/@yeraydiazdiaz/asyncio-for-the-working-python-developer-5c468e6e2e8e 1- With the aynchronous CPU resourses can be utilised effectively to run processes so time to run the entire job/code can be reduced Sravanti Tatiraju2:27 PM The blogs how we can use ayncio divide tasks and schedule runs Kiran CV2:27 PM Asyncio is used to write asynchronous programming, which helps to distribute the tasks scheduling . Mohan Kumar2:28 PM A blog about Async Io python libraries walkthrough with example codes. The blog says how to setup env with venv. and with the asyncio package and Async/await Rajkumar MeenakshiSundaram2:28 PM I referred to the medium article: Asyncio is a python library which executes the coroutines task when sleep is made using await ```. Preedhi Vivek2:29 PM This blog post details out about python's asyncio library and its usage by providing code snippets and explaining the same clearly. The author starts by explaining the concepts such as threads, loops and coroutines initially and later gets into explaining the same with code snippets. Starts of with a small example and later explains with in depth concepts. He also tells about the order of execution. Rajkumar MeenakshiSundaram2:33 PM import asyncio async def test() print('test1') await asyncio.sleep(3) print('test2') async def retest() print('retest1') await asyncio.sleep(2) print('retest2') async def main(): tasks = [test(), retest()] asyncio.run(main()) Expected output: test1 retest1 retest2 test2 Akkul DN2:36 PM """ The following program shows the working of asyncio. """ import asyncio async def first(): print("This is the first statement") await async.sleep(2) print("This is the second statement") async def second() print("This this is the first statement") await async.sleeep(2) print("this is the second statement") def main(): async.gather(first().second()) async.run(main()) Rajkumar MeenakshiSundaram2:37 PM import asyncio async def test() print('test1') await asyncio.sleep(3) print('test2') async def retest() print('retest1') await asyncio.sleep(2) print('retest2') async def main(): tasks = [test(), retest()] await asyncio.gather(*tasks) asyncio.run(main()) Expected output: test1 retest1 retest2 test2 Rahul Bhave2:37 PM import asyncio class asynch(self) # asynch method async def get_docs(): print("get doc") def get_doc1(): print("not async") if __name__ == "__main__": Mohan Kumar2:38 PM #asyncio.py import asyncio asyncio def count(): print("one") await asyncio.sleep(1) print("two") asyncio def main(): for count in range(3): count() if __name__ == "__main__" Sravanti Tatiraju2:38 PM import asyncio async def task1(): print("Running task1") await asyncio.sleep(1) print("Running task1 again") async def task2(): print("Running task2") await asyncio.sleep(2) print("Running task2 again") async def main(): await asyncio.gather(task1, task2) Kiran CV2:38 PM """ Snipet on Asyncio """ import asyncio async def one(): print('Running in one') await asyncio.sleep(2) print('Explicit context switch to two again') async def two(): print('print two') await asyncio.sleep(0) print('Implicit context switch back to one') async def main(): tasks = [one(), two()] await asyncio.gather(*tasks) asyncio.run(main()) Preedhi Vivek2:39 PM import asyncio aynsc def prog1(): print ("Inside prog1") await async. sleep (1) print ("Inside prog1 again") async def prog2(): print ("Inside prog2") await async. sleep (1) print ("Inside prog2 again") async def main(): async.gather (prog1(),prog2()) if __name__ == "__main__": asyncio.run(main()) Preedhi Vivek2:41 PM {:.2f} You2:45 PM event loop, coroutine, tasks, gather, async, await, run, concurrency, parallel Kiran CV2:45 PM coroutine event loop async await asynci.gather Sravanti Tatiraju2:45 PM coroutines, gather, async, await, event loop, Rajkumar MeenakshiSundaram2:46 PM coroutine, parallel, concurrent, async,await,gather Rahul Bhave2:46 PM StopAsyncIteration Preedhi Vivek2:46 PM await async concurrency async sleep parallelism looping events coroutines asyncio Mohan Kumar2:46 PM async await sleep time count library package venv py3async Akkul DN2:47 PM coroutine,eventloop Rahul Bhave2:47 PM popleft buffer.popleft Kiran CV2:52 PM How it chooses one task from another...on what criteria the asyncio checks? coroutine ? event loop? Sravanti Tatiraju2:52 PM Understand how event loop works and is different from threads. Understand about concurrency and parallelism with some examples. How different is sleep function in asyncio Akkul DN2:52 PM Whats the use of the timer if asyncio.sleep passes the control to the eventloop anyways? Preedhi Vivek2:52 PM Difference between time.sleep and async.sleep (synchronous and asynchronous) What's a coroutine? How do i test this with a real IO like writing to a File and doing some math operations and verifying asynchio. You2:52 PM > How do I send a list of tasks to gather? > How does this work with file handling? > What is a coroutine? > What is an 'event loop'? > What is the difference between concurrency and parallelism? > Are there similar modules in Python? > What happens if one task takes too long? Is there a timeout? > What happens if a method fails or has exception? Rajkumar MeenakshiSundaram2:52 PM How await asyncio.gather(*tasks)? Mohan Kumar2:53 PM disadvantages of asyncio? -diff b/w time, sleep, async,await? -coroutine and awaitables? Rahul Bhave2:53 PM 1. will asynchrous module will reduce the time of total execution of testsuite? 2. How to decide yoeld points while writing coroutines? 3. Can we decide sequence of tasks? Rajkumar MeenakshiSundaram2:54 PM How await asyncio.gather(*tasks)? Event loop meaning? Rahul Bhave2:55 PM Methods I can think off- Fetch, Buffer, Preedhi Vivek2:55 PM Intterupt exception handling Rahul Bhave2:56 PM schedule_task Preedhi Vivek2:56 PM await_until Mohan Kumar2:57 PM thread start thread stop await_until You2:57 PM * delete_task * stop_run * stop_task * await_until * list_tasks * interrupt(task) * reset_loop() * callback_on() * inspect_task() * get_task_status() Kiran CV2:57 PM start or stops a task random task selection Rajkumar MeenakshiSundaram2:57 PM fetch_task, iterrupt, await_untill Sravanti Tatiraju2:57 PM thread start, schedule task Akkul DN2:57 PM How does asyncio intterupt the task schedule task
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/asyncio-tutorial/sample_asyncio.py
""" This script will be used to show examples of using asyncio as part of a group discussion Goals for the session include: a) Ability to scan (heading + code + diagrams) in a document b) Active design of experiments to test methods c) Work based on differences d) Look to code as primary way of understanding concepts e) Rapid prototyping of examples f) Finding the right level of abstraction for your memory Structure: 1. Google to learn about asyncio - 3 minutes > Timebox > *** This went ok 2. Read three articles - 6 minutes > Can you scan text? > *** This was tough for us 3. Explain the code in English - 3 minutes > 1-line summary *** A bit of a struggle > 5-line summary *** Did not happen 4. Redo an exercise from memory - 5 minutes > How close to a black box are you? > *** we did surprisingly well here 5. Experiment with the example - 10 minutes > Were you imaginative when reading? > Can you report errors correctly? 6. List vocabulary terms - 2 minutes > *** we were ok 7. List questions - 3 minutes > *** we were ok 8. Guess the interface - 2 minutes > *** not that well 9. Let's try a for loop - ?? async for doc in get_docs(): 10. Read the documentation - 10 minutes """ import asyncio import time async def print_me(name): "A method that sleeps for a second and prints a name" await asyncio.sleep(1) print(name) async def my_method(): "A method to gather and call other async methods" await asyncio.gather(print_me("Arunkumar"),print_me("Muralidharan")) #----START OF SCRIPT if __name__ == "__main__": start_time = time.time() asyncio.run(my_method()) duration = time.time() - start_time print('The script {} took {:.2f} seconds'.format(__file__,duration))
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/junior-training-website/junior_training.txt
Website Qxf2 Training * Landing page > Headlines: - Fed up with classroom training? - [SELECTED] No more classroom training! Hands on training with real applications. Learn to test software, get familiar with modern tools and work with emerging technologies. $ Modern tools $ Emerging technologies ... Hands on software testing training with real applications - Land a software testing job ... A unique QA training program ... A hands on training program ... Hands on training with real applications ... Hands on training with real applications and emerging technologies ... Learn software testing by testing a real application - Hands on training with a real application - Software testing training with emerging technologies - Start your career in software testing ... Hands on training with real applications ... Hands on training with real applications and emerging technologies - Welcome to a career in software testing - Unique QA training program for freshers - Become a software tester - Want to become a software tester? - Are you keen on a career in testing? - Explore a career in software testing - Get a career in software testing - Get a job in software testing - Learn software testing - Online software testing training program - Train yourself in software testing > End of training program - Certificate of training completion * Benefits Why join? > How to test software > Hands on testing experience > Test real applications > Participate in Agile rituals > Interact with real testers > Tools for testing - GitHub Actions - JavaScript and Python - Test automation -> Selenium, Appium, BrowserStack, API, postman - Test reporting tools - reportportal - Test case management tools - git, GitHub - Jira > Interview training > Resume reviews > Weekly talks (better phrasing needed here) > Open source contribution * Why us? > Professional testers teach you > No spoonfeeding > Practical ... not theoretical > No school like approach > No syllabus or book knowledge > Real application * Program Details > 3-months > 9-hours/day > 5 days a week > Fully remote > Pricing * Eligbility criteria > Fast pace - not for everyone > Should have done a project outside of college > Should have a GitHub profile or a hardware project video > 2021 pass outs * About us > Qxf2 Services * Before you apply! > Fully remote > Not for everyone > Fast pace - we will not wait for you > No placement guarantee > No money back * Apply here > Form checking eligibility LinkedIn ad > Keep a form ready Interviews > 2 rounds Add a message in the console log to say "Find a bug and the course price is free" https://www.jqueryscript.net/demo/jQuery-Plugin-For-Vertical-Fullpage-Scrolling-Smart-Scroll/#section-1 ------------- FORM DETAILS: ------------- 1. Name 2. Email 3. Education (college, course, year of pass out, branch) 4. A little bit about yourself 5. Have you done any projects outside of college? > What projects have you done outside of college? 6. Hardware or software radio button > (if software) GitHub profile > (if hardware) Link to a Video of a working hardware project 7. LinkedIn profile 8. What do you know about testing? 9. Would you like to start your career in software testing? 10. Level of programming (beginner, ..., expert) > What languages do you code in? 11. How did you find out about us? 12. What are you looking for from this program? 13. What are your technical interests? 14. Do you understand that: > fully remote > not for everyone > fast paced > no placement guarantee > no money back ** Add a message in the console log to say "Find a bug and the course price is free" > Bug = Make all fields mandatory, but what do you know about testing can be left empty Thanks you text - with next steps > We will evaluate your responses and get back to you in 10 business days > If your are selected you will have to go through two rounds of interviews Reject email - we are looking for someone more hands on
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/20-aug-rd-contribution/README.md
# How can you continue contributing to R&D at Qxf2 when you are on a client? Today is going to be a simple group disussion. I want to collect ideas from all of you on how you can contribute to R&D even when you are on a client. The problem I want to solve is twofold: a. People see R&D and client work as different while in my head, both are the same b. Most of us become super unimaginative and passive and repetitive when working with clients In the first part of this discussion, each person gets 2-minutes to give their ideas. You can give your suggestions based on the following: 1. -- Some specific practice we can try 2. ** Difficulties or fears you have that prevent you from contributing to R&D today 3. >> Related problems that need to be solved (e.g.: we are poor at capturing ideas) The second part of this discussion will be me discussing the ideas with everyone. ### Part 1 1. Indira ** Mindset (time constraints), old working style, narrower view of what is work -- learn from clients and their mindset 2. Raji -- when we see new tools at client, share it at Qxf2 (e.g.: cookie cutter) -- add tickets to ideas and problems -- suggest pairing projects that have overlap with clients (but lower priorty for client) ** Mindset (time constraint), 3. Annapoorani -- Like comment reviewer, give specific tasks per week ** Mindset (time constraint) -- Force people >> Figure out better starting points, smaller examples that integrate with our framework 4. RohanD -- A paired project (e.g.: cookie cutter) -- Time box work better ** Mindset (time constraint, too many breaks) 5. Shiva >> When on client, we have very little idea of what happens on R&D -- We have regular sharing demos of R&D -- Client to R&D is the right flow of work ** Mindset, it takes time to get comfortable with a client ** Very little control at the client 6. Smitha -- We have time carved out for R&D -- Project needs to be broken down ** Mindset - the client sets the scope for what I learn -- Meet as a SiLo group -- Regular tutorials 7. RohanJ ** Mindset (time constraint) -- Paired projects >> R&D lists with smaller tasks -- R&D sessions and demo sessions and idea gathering 8. Akkul ** Mindset (time constraint) 9. Rohini -- Tasks at client listed and we classify them (repetitive/common/R&D worthy,etc.) -- Blogging about new things at a client (internal maybe?) -- More time management discussions (via automated Slack messages?) 10. Mohan >> Breakdown R&D (make it small) ** Mindset (time constraints) ## Possible to dos: 1. [??] Identify something you can do with your client and ask for time 2. [??] Learn from clients and their mindset 3. [DO] When we see new tools at client, share it at Qxf2 (e.g.: cookie cutter) 4. [??] Add tickets to R&D backglog board, Suggestions lane 5. [??] We have regular sharing demos of R&D 6. [DO] List of demos we want 7. [DO] Give an advice council for each person on a client 8. [??] Regular tutorials 9. [??] Time management tips and regular reminders 10. [??] Merge R&D's top-10 and ideas+problems boards ## Unsolved problems: >> Figure out better starting points >> When on client, we have very little idea of what happens on R&D >> Friction to do R&D when on a client (easy/small/finsihable)
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/employee-chooser/README.md
This is a scratch script to choose employees in random order and then delete the employee from the list ## Notes 1. To run, simply do `python choose_employee.py` 2. To stop a timer and go to the next employee, press Ctrl+C 3. Before you start the session, make sure to update the `EMPLOYEES` and `TIME_PER_PERSON` variables
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/employee-chooser/choose_employee.py
""" This is a scratch script to choose employees in random order and then delete the employee from the list To run, simply do `python choose_employee.py` To stop a timer and go to the next employee, press Ctrl+C """ import random import sys import time TIME_PER_PERSON = 120 #in seconds EMPLOYEES = ['arun',\ 'raji', 'avinash', 'shiva', 'annapoorani', 'rohanD', 'smitha', 'indira', 'rohanJ', 'nilaya', 'mohan', 'rohini', 'sravanti', 'akkul', 'kiran', 'rahul', 'preedhi', 'raj'] def run_countdown_timer(max_time): "Create a simple countdown timer" #Src: https://stackoverflow.com/questions/5852981/python-how-do-i-display-a-timer-in-a-terminal try: for count in range(max_time,-1,-1): sys.stdout.write("\r") sys.stdout.write("{:2d} seconds to finish".format(count)) sys.stdout.flush() time.sleep(1) except KeyboardInterrupt: sys.stdout.write("\n") return def run_chooser(my_list,max_time=TIME_PER_PERSON): "Choose an employee at random" input("Before you begin, make sure you have altered the:\n a) EMPLOYEES \n b) TIME_PER_PERSON \n to your liking.\nPress any key to begin") while len(my_list) > 0: name = random.choice(my_list) my_list.remove(name) print(name) run_countdown_timer(max_time=max_time) print("Yay! Everyone has had their turn!") #----START OF SCRIPT if __name__=='__main__': run_chooser(EMPLOYEES)
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/github-search/readme.md
This session was to show the following: a) how to approach a problem that needs new tooling b) how to use PyGithub to find the stars in a project ### SETUP 1. `pip install PyGithub` 2. Create a Github token with only read access at https://github.com/settings/tokens 3. Create a github_token.py and set a variable called `TOKEN` to be equal to your access token 4. `python sample_github_search.py` 5. Output should contain the stars for 4 GitHub repos listed ### Meta thinking _a) Search for how people have already solved your problem_ * GitHub Dork https://github.com/techgaun/github-dorks * Surch https://cloudify.co/blog/we-created-an-awesome-search-tool-for-github-repos-in-python/ * Git Miner https://github.com/UnkL4b/GitMiner * Git Rob: https://github.com/michenriksen/gitrob * PyGitHub: https://github.com/PyGithub/PyGithub _b) Which is popular?_ Look at * Stars * Contributors * Forks * Branches * Number of commits _c) Which is easy to start?_ Spend no more than 2-3 minutes per repo _d) A real problem_ Lets count stars _e) Breakdown and re-apply the meta_ -> cloning repo -> install > search for the ?? -> create a virtualenv -> redoing an example of the readme -> lookup how to find stars -> setup access -> name the file -> list data for input -> expected output _f) Summarize (1-liner,5-liner,para)_ Spend 15-minutes at least! This is where you learn to make connections and figure out what you need to dive in deeper. _g) New ideas_ > credentials getting exposed - periodic audit > number of contributors .... targeted analysis > how frequently a project is being updated > useful on clients too to see patterns > automatic commits and decommits _h) Deeper background_ > Github APIs _i) Revisit occasionally_
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/github-search/sample_github_search.py
""" This is a sample script to connect to GitHub search API and get details about repositories """ from github import Github import github_token as access def get_repo_stars(repository): "Return the number of stars a repo contains" github_obj = Github(access.TOKEN) repo = github_obj.get_repo(repository) stars = repo.stargazers_count return stars #----START OF SCRIPT if __name__ == '__main__': repositories = ['techgaun/github-dorks','UnkL4b/GitMiner','michenriksen/gitrob','PyGithub/PyGithub'] for repository in repositories: stars = get_repo_stars(repository) print('{} has {} stars'.format(repository,stars))
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/internship-feedback-nov-2019/readme.md
# Feedback about the Nov-2019 internship. This document contains feedback about the Nov-2019 internship. ---- ## Feedback ### Raji: a) N/A b) N/A c) Collect more data about jobs from interns No survey system for interns. During and after internship. Are they placed? Are they applying? This will help us across and post internships. How did our internship help during interviews or land jobs? Or kind of difficulties post data? ### Nilaya: a) Assignment - how did the picking up new language go? Were they able to do by themselves? What issues did they face? Pair programming was a good exercise. Even when talking to them, whatever they were doing, they were active on job hunts. b) Through pair programming and demos I got to know them. No clear picture. c) We would like more feedback on how they pick up. ### Akkul a) I did not have much interaction with interns. My experience as an intern, the first two weeks was useful. Helped to get started in a new office environment. We are intially shy to ask questions on Skype. Resume review and paired programming were very helpful. Resume review helped me come up with a good resume. We get to know other employees through pair programming. b) N/A c) N/A ### RohanD a) N/A b) Usually when I review of their framework. That's when I can guess their grasping power. The other place is the paired programming. So ~week 3&4. c) N/A ### Rahul a) N/A b) I did demo for 3 sessions. I observed if they took feedback between sessions. I looked at thinking patterns. I was looking for gradual progression. This happened around 4th or 5th week. c) Give them an independent application to test. If we have a new joinee page (e.g.: wiki page) and they log what they did and errors they did. They explored quite a lot. ### Rohini a) I had two sessions with them - demo + security testing session. Demos and GD sessions were helpful. A separate Skype channel for internship was useful. Interactions were more because of the channel. My session was not interactive. How do you compensate for missed sessions with genuine reasons? b) N/A c) We can explore online tools for resumes. Apart from tech training, there was lot of hesitation in talking and presenting ideas or making slides. Sessions on how to read articles. ### Preedhi a) I had only one demo which Nikhil could not join. From Skype channel it seemed like they were open. I felt positive vibes towards them. I was wondering if they were applying to the right kind of jobs. E.g.: why were they applying to other domains? b) N/A c) A consolidation of all internships will help us. ### RohanJ a) Continue with recruitment process. Look for non CS people. I found last batch of interns started applying a bit late ... like in the 7th or 8th paired programming session. b) Roughly after 3 weeks. c) Engage new people into group discussions. Make them contribute to public repos. Collect how their week was from them - blocks, problems. ### Indira a) I had a couple of mock interviews and a couple of demos. I was looking at how the feedback collected was used? b) I felt that in the first two weeks I was confident about Monoranjan. Around week 7th or 8th week I felt better about Nikhil. c) Can we give them a feedback form? ### Mohan a) I had 3 demos. I felt that level of interaction with Qxf2 employees was not much. So we did not get to know their potential. b) N/A c) Add some more mock interviews. They should start applying for jobs earlier. It would be good to continue pair programming but expand the number of people who take the session. ### Raj a) I did not interact much with them. I felt they were on track for landing a job. I felt they were technically good based on Skype channel. b) N/A c) We can have a mandatory feedback form. ### Kiran a) I was looking at SKype channel. I was able to know that they were asking questions with an open mind. I was also looking at their Jira tickets. I felt it was good. b) N/A c) N/A ### Smitha a) I think recruitment is fine. There was a non-CS. The demo idea was good. The task of learning a new language and how they approach the problem helped me judge them better. The intern I worked with was not much of a talker. Should that be judged against our colleagues? I felt like Nikhil did well in my judgement and he changed. b) N/A c) The feedback form did not give me any idea beyond a task based feedback. I did not feel like there was a clear indicator of how the interns were doing. ### Avinash a) I felt Nikhil was low on confidence but improved. But he could not get to the point where he was comfortable. The separate channels was good. The tech thing to solve was good. A lot more people helped with the internship but that spread the interactions thin. So continuity was missing. b) c) I want a larger pool of candidates. I want to see 4 interns instead of 3. We need fallbacks like recordings if people miss sessions. Can we catch work habits in hiring itself? We need a better way to share indications of how the internship is going. We need something based on their interests too. Resume review + How to apply can help with getting a system. ---- ## Ideas/Changes 1. Add some data about our interns 2. Arun to add an indicator and general feedback to the feedback form 3. Have a wiki page that future interns and employees can look at (maybe base don 1:1?) 4. Compensate for missed session? (record?) 5. More social skills training and advanced sessions (e.g.: reading articles) 6. Make them apply earlier 7. Involve more people in group discussions 8. Make them contribute to public repos 9. Give the interns a periodic feedback form 10. ?? More mock interviews 11. ?? Larger pool of candidates 12. ?? Hire more than 3 interns 13. ?? Work habits when interviewing 14. Interest based projects 15. A better system for resume review + how to apply 16. A buddy system with interns 17. Think about having multiple employees work longer with interns ----
0
qxf2_public_repos/scratchpad
qxf2_public_repos/scratchpad/error-reading/readme.md
### Goal Let's help people read errors quicker! ### Background Many good engineers are able to process error logs and error messages at speeds much faster than beginners. It's almost as though they have trained their eye to do two things: a) focus on what is important b) ignore what is not important ### Your task: a) Identify three error messages you have hit recently b) If they can be reproduced, please reproduce them with a screen capture c) If they cannot be reproduced, find some screenshots d) Find a good gif maker ### Your output: A clear gif that is less than 5-seconds long that shows the error. ### Notes: a) [6-min] We collected 3 errors each b) [10-min] We showed the errors by sharing our screen c) [6-min] Looking for a gif tool d) [15-min] Discussing a couple of errors and how the eye moves ### Gif tools considered https://www.screentogif.com/ https://chrome.google.com/webstore/detail/capture-to-a-gif/eapecadlmfblmnfnojebefkbginhggeh http://gifrecorder.com/ gifrecorder.com (Paid) https://recordit.co/ https://imagemagick.org/ https://www.getcloudapp.com/uses/snipping-tool#:~:text=With%20the%20CloudApp%20snipping%20tool,share%20them%20to%20the%20cloud. https://chrome.google.com/webstore/detail/capture-to-a-gif/eapecadlmfblmnfnojebefkbginhggeh/related https://www.screentogif.com/ https://www.getcloudapp.com/uses/snipping-tool https://www.videohelp.com/software/VClip https://alternativeto.net/software/peek-gif-screen-recorder-for-linux/ https://recordit.co/ https://screenrec.com/ Screen to gif (https://www.screentogif.com/) Gyazo (https://gyazo.com/en) gifrecorder.com (Paid)(http://gifrecorder.com/download.htm#.XvHDkmgzZPY) https://recordit.co/ Capture to a Gif (https://chrome.google.com/webstore/detail/capture-to-a-gif/eapecadlmfblmnfnojebefkbginhggeh) https://chrome.google.com/webstore/detail/awesome-screenshot-screen/nlipoenfbbikpbjkfpfillcgkoblgpmj?hl=en
0
qxf2_public_repos
qxf2_public_repos/training-senior-qa/LICENSE
MIT License Copyright (c) 2018 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0
qxf2_public_repos
qxf2_public_repos/training-senior-qa/requirements.txt
django>=2.2.13
0
qxf2_public_repos
qxf2_public_repos/training-senior-qa/README.md
# training-senior-qa Qxf2 hackathon project. Develop the necessary application, exercises, infrastructure, slide shows, write-ups, etc. for retraining senior QA engineers
0
qxf2_public_repos/training-senior-qa
qxf2_public_repos/training-senior-qa/qxf2trainer/manage.py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'qxf2trainer.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " "forget to activate a virtual environment?" ) from exc execute_from_command_line(sys.argv)
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/qxf2trainer/settings.py
""" Django settings for qxf2trainer project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'f!7^_+4%$qo9hj0x=7%-j=jz9synf%1hit)glgt7s#q3n%+$5l' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = ['qxf2trainer.pythonanywhere.com', 'localhost'] # Application definition INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'chrome_driver_setup' ] MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] ROOT_URLCONF = 'qxf2trainer.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR, 'templates')], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], }, }, ] WSGI_APPLICATION = 'qxf2trainer.wsgi.application' # Database # https://docs.djangoproject.com/en/2.1/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } # Password validation # https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', }, { 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', }, { 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', }, ] # Internationalization # https://docs.djangoproject.com/en/2.1/topics/i18n/ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_L10N = True USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/2.1/howto/static-files/ STATIC_URL = '/static/' LOGIN_REDIRECT_URL = '../../tutorials/' LOGOUT_REDIRECT_URL = 'login'
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/qxf2trainer/urls.py
"""qxf2trainer URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based views 1. Add an import: from other_app.views import Home 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') Including another URLconf 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ from django.contrib import admin from django.urls import include, path from . import views from django.views.generic.base import TemplateView urlpatterns = [ path('tutorials/', include('tutorials.urls')), path('python-setup/', include('python_setup.urls')), path('vscode-setup/', include('vscode_setup.urls')), path('chrome-driver-setup/', include('chrome_driver_setup.urls')), path('git-bash-setup/', include('git_bash_setup.urls')), path('', views.index, name='home'), path('admin/', admin.site.urls), path('accounts/', include('django.contrib.auth.urls')) ]
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/qxf2trainer/views.py
from django.shortcuts import render from django.http import HttpResponse from django.http import HttpResponseRedirect # Create your views here. def index(request): if request.user.is_authenticated: return HttpResponseRedirect("tutorials") else: return HttpResponseRedirect("accounts/login")
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/qxf2trainer/wsgi.py
""" WSGI config for qxf2trainer project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'qxf2trainer.settings') application = get_wsgi_application()
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/python_setup/models.py
from django.db import models # Create your models here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/python_setup/apps.py
from django.apps import AppConfig class PythonSetupConfig(AppConfig): name = 'python_setup'
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/python_setup/admin.py
from django.contrib import admin # Register your models here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/python_setup/tests.py
from django.test import TestCase # Create your tests here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/python_setup/urls.py
#URLs configuration file for python setup from django.urls import path from . import views urlpatterns = [ path('before-you-begin', views.beforeyoubegin, name='beforeyoubegin'), path('what-to-expect', views.whattoexpect, name='whattoexpect'), path('tutorial', views.install_python, name='tutorial'), path('did-you-complete', views.didyoucomplete, name='didyoucomplete'), path('once-you-complete',views.onceyoucomplete, name='onceyoucomplete'), ]
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/python_setup/views.py
from django.shortcuts import render from django.http import HttpResponse from django.contrib.auth.decorators import login_required from django.template import loader # Create your views here. @login_required def beforeyoubegin(request): template = loader.get_template('python_setup/before-you-begin.html') return HttpResponse(template.render()) @login_required def whattoexpect(request): template = loader.get_template('python_setup/what-to-expect.html') return HttpResponse(template.render()) @login_required def install_python(request): template = loader.get_template('python_setup/tutorial.html') return HttpResponse(template.render()) @login_required def didyoucomplete(request): template = loader.get_template('python_setup/did-you-complete.html') return HttpResponse(template.render()) @login_required def onceyoucomplete(request): template = loader.get_template('python_setup/once-you-complete.html') return HttpResponse(template.render())
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/vscode_setup/models.py
from django.db import models # Create your models here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/vscode_setup/apps.py
from django.apps import AppConfig class VscodeSetupConfig(AppConfig): name = 'vscode_setup'
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/vscode_setup/admin.py
from django.contrib import admin # Register your models here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/vscode_setup/tests.py
from django.test import TestCase # Create your tests here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/vscode_setup/urls.py
from django.urls import path from . import views urlpatterns = [ path('before-you-begin', views.beforeyoubegin, name='beforeyoubegin'), path('what-to-expect', views.whattoexpect, name='whattoexpect'), path('tutorial', views.install_python, name='tutorial'), path('did-you-complete', views.didyoucomplete, name='didyoucomplete'), path('once-you-complete',views.onceyoucomplete, name='onceyoucomplete'), ]
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/vscode_setup/views.py
from django.shortcuts import render from django.http import HttpResponse from django.contrib.auth.decorators import login_required from django.template import loader # Create your views here. @login_required def beforeyoubegin(request): template = loader.get_template('vscode_setup/before-you-begin.html') return HttpResponse(template.render()) @login_required def whattoexpect(request): template = loader.get_template('vscode_setup/what-to-expect.html') return HttpResponse(template.render()) @login_required def install_python(request): template = loader.get_template('vscode_setup/tutorial.html') return HttpResponse(template.render()) @login_required def didyoucomplete(request): template = loader.get_template('vscode_setup/did-you-complete.html') return HttpResponse(template.render()) @login_required def onceyoucomplete(request): template = loader.get_template('vscode_setup/once-you-complete.html') return HttpResponse(template.render())
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/home.html
<!-- templates/home.html --> {% extends 'base.html' %} {% block title %}Qxf2 Trainer{% endblock %} {% block content %} {% if user.is_authenticated %} Hi {{ user.username }}! <p><a href="{% url 'logout' %}">logout</a></p> {% else %} <p>You are not logged in</p> <a href="{% url 'login' %}">login</a> {% endif %} {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/base.html
<!-- templates/base.html --> <!DOCTYPE html> <html> <head> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-75BKR2NTBY"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-75BKR2NTBY'); </script> <style> .cmdline { color: #c7254e;; } </style> <meta charset="utf-8"> <title>{% block title %}Qxf2 Trainer{% endblock %}</title> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet"> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <style> .thin-text { font-family: Abel, Arial, sans-serif } .white-text { ; color: #ffffff; } .top-space { margin-top: 25px; } </style> </head> <body> <nav class="navbar navbar-expand-sm bg-warning sticky-top"> <!-- Links --> <img src="https://qxf2.com/assets/img/qxf2_trainer_logo_1.png" class="navbar-brand" width="60" height="60"> <ul class="navbar-nav"> <li class="navbar-brand"> <h4 class="thin-text white-text">Qxf2 Trainer</h4> </li> <li class="nav-item"> <a class="nav-link" href="/tutorials/">Tutorials</a> </li> <li class="nav-item"> <a class="nav-link" href="/accounts/logout">Logout</a> </li> </ul> </nav> <div class=container> <div class="row"> <div class="col-md-10 col-md-offset-1 top-space"> {% block content %} {% endblock %} </div> </div> </div> </body> </html>
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/registration/login.html
<!-- templates/registration/login.html --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>{% block title %}Qxf2 Trainer{% endblock %}</title> <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet"> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <style> html, body { height:100%; } body { display:flex; align-items:center; background: #DE6262; /* fallback for old browsers */ background: -webkit-linear-gradient(to bottom, #FFB88C, #DE6262); /* Chrome 10-25, Safari 5.1-6 */ background: linear-gradient(to bottom, #FFB88C, #DE6262); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ } .container{background:#fff; border-radius: 10px; box-shadow:15px 20px 0px rgba(0,0,0,0.1);padding: 50px 30px;} .form-actions{ text-align: center; } .top-space{margin-top: 25px;} </style> </head> <body> <div class="container"> <div class="row"> <div class="col-md-4 top-space"> <form method="post" class="login-form"> {% csrf_token %} {{ form.as_p }} <div class="form-actions"> <button type="submit" class="btn btn-danger">Login</button> </div> </form> </div> <div class="col-md-8"> <h2 class="form-heading form-actions"><img src="https://qxf2.com/assets/img/qxf2_trainer_logo_1.png" class="rounded-circle" width="80" height="80"> Welcome to the Qxf2 trainer!</h2> <p class="text-justify top-space">You are just a login away from learning some cool new tech. This course is designed to help testers with limited technical exposure. So don't worry if you are completely out of touch with tech, programming and modern tools. Qxf2 Trainer will expose you to several tech tools gradually while making sure you are always producing something visible and useful.</p> </div> </div> </div> </body> </html>
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/python_setup/before-you-begin.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Before you begin{% endblock %} {% block content %} <p class="text-justify">Python is going to be our language of choice through this training journey. We chose it because we like it and it is easy to pick up compared to a lot of other languages. Given how much we will use it, it is only fitting that we begin our setup with Python.</p> <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/before_you_begin_icon.png" width="60" height="60"> Before you begin </h3> <p>We would like to remind you of a few things: <ol> <li>It is OK to run into issues during this step. Setup issues are a part of regular work.</li> <li>It is OK to not know what you are doing. Things will come together later in the course.</li> </ol> </p> <p class="top-space">&nbsp;</p> <h3 class="thin-text top-space"><img src="https://qxf2.com/assets/img/take_a_moment.png" width="60" height="60"> Take a moment </h3> <p>Until you have the momentum of several small technical accomplishments, take a moment to figure out how you are feeling. This exercise will help you combat some unrealistic defense mechanisms at a later date!</p> <p class="top-space">&nbsp;</p> <form action="what-to-expect"> <button type="submit" class="btn btn-danger form-actions">Noted. I'm ready to proceed!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/python_setup/tutorial.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Tutorial{% endblock %} {% block content %} <p class="text-justify">We expect this exercise to take you somewhere between 15-minutes to 2 hours. If you take more than two hours, please post what you tried along wtih error messages to our skype channel.</p> <p class="text-justify">Python has two versions (3.x and 2.7.x) and multiple distributions (official, IronPython, Conda, etc.). Python 3.x is the latest and ideally what we would all use. We'd love to recommend you use Python 3.x. Therefore, for this tutorial, you are going to install the latest official Python 3.x version from the official site.</p> <p class="text-justify">In keeping with our attempt to help you think in different ways, we have listed three approaches that work. There is no shame or pride in choosing anyone of them. Just choose the method you are comfortable with and proceed.</p> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 1: Try it out yourself </h3> <ol> <li>We'd like to promote independent thinking and problem solving. So if you feel ready, try to install Python without referring to any documentation, go for it!</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 2: Google for instructions </h3> <ol> <li>Google for Python 3.x install 'your operating system name' </li> <li>Follow the instructions</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 3: follow instructions </h3> <ol> <li>Visit <a href="https://www.python.org/downloads/">https://www.python.org/downloads/ </a> </li> <li>Click on the latest 3.x release</li> <li>On the release page, choose Python 3.x release for your operating system </li> <li>Download the executable and follow the steps</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/exercises_icon.png" width="60" height="60"> Exercise </h3> <p class="text-justify">Once you are done, add the Python executable to your path environment variable. Hint: Google for 'add Python to path environment variable your operating system name'. </p> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/verify_dummy_image.png" width="60" height="60"> Verify your setup </h3> <p class="text-justify">After you are done with the exercise listed above, it is time to verify your Python installation. It is a good habit to take small steps and verify them immediately. This will help you avoid getting stuck later on. To verify your setup, pull up your terminal prompt and type python --version. You should see the version you installed listed. </p> <p>&nbsp;</p> <form action="did-you-complete"> <button type="submit" class="btn btn-danger form-actions">Let's move on</button> </form> <p class="top-space">&nbsp;</p> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/python_setup/once-you-complete.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Once you complete{% endblock %} {% block content %} <p class="top-space text-justify">Anytime you score a win, take a moment to reflect on what happened. Think about what you did, the problems you faced and challenge yourself to try and verbalize what you did (its hard!).</p> <h3 class="top-space"> <img src="https://qxf2.com/assets/img/after_you_finish.png" class="rounded-circle" width="60" height="60"> What you learnt </h3> <p class="top-space text-justify"> Unknown to you, we exercised several good habits. Here are some: <ol> <li><strong>Tech:</strong> Installing Python, setting an environment variable</li> <li><strong>Mindset:</strong> Technical issues arise everywhere and you have a lot of online help</li> <li><strong>Habits:</strong> Paying attention to what you feel before starting a new task and after completing a new task, retrospecting</li> </ol> </p> <p class="top-space">&nbsp;</p> <form action="/tutorials"> <button type="submit" class="btn btn-danger form-actions">Game on! Let's go to the next tutorial.</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/python_setup/what-to-expect.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: What to expect{% endblock %} {% block content %} <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/what_to_expect.png" width="60" height="60"> What to expect </h3> <p>At the end of this mini-tutorial, you can expect to have setup Python on your machine.</p> <p class="text-justify">Most tutorials and training material expect things to go smoothly. Not us! We are experienced professional QA and we know that a lot can go wrong during setup. And many times it is not the learner's fault. So before we begin, here is what to expect as you go through the tutorial. <ol> <li>Beginners usually have trouble with setup. That's ok. There is help.</li> <li>Over time, you will develop a mental catalogue of problems that come with install and setup.</li> </ol> </p> <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/when_you_hit_an_issue.png" width="60" height="60"> When you hit an issue </h3> <p class="text-justify"> When you run into an issue, don't panic. Here is what you can try: <ol> <li>Take a minute to try and read through the error message. It's ok if seems like gibberish ... just make the attempt.</li> <li>Try and identify the key line in the error. If you cannot, reach out to us on Skype.</li> <li>Google for the phrase 'python install <your OS name> key line in error' e.g.: 'python install windows Permission Denied Error'</li> <li>Try out the suggestions mentioned in the Google search results even if you don't fully understand them.</li> <li>After you have tried your best, contact Qxf2 on our public Skype Channel</li> </ol> </p> <p>&nbsp;</p> <form action="tutorial"> <button type="submit" class="btn btn-danger form-actions">I'll try. Show me the instructions!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/python_setup/did-you-complete.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Did you finish?{% endblock %} {% block content %} <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/did_you_finish.png" width="60" height="60"> Did you finish? </h3> <div class="radio top-space"> <label><input type="radio" name="optradio" checked> Yes, quite easily </label> </div> <div class="radio"> <label><input type="radio" name="optradio"> Yes, but with some difficulty </label> </div> <div class="radio"> <label><input type="radio" name="optradio"> No, I am stuck </label> </div> <p class="top-space">&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/take_a_moment.png" width="60" height="60"> Take a moment </h3> <p class="text-justify">Until you have the momentum of several small technical accomplishments, take a moment to figure out how you are feeling. How does it compare to how you felt before starting the task? </p> <p class="top-space">&nbsp;</p> <form action="once-you-complete"> <button type="submit" class="btn btn-danger form-actions">What remains? I thought we were done!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/vscode_setup/before-you-begin.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Before you begin{% endblock %} {% block content %} <p class="text-justify">We will use Visual Studio Code for writing our code. Think of it as your favorite notepad .... except optimized to write code. It makes it easy to read code, search for code, has auto-complete so you don't need to remember a whole lot and it does a great job of pointing any silly syntax mistakes you might make. It also makes it easy for code formatting , refactoring and debugging. Once you get used to the layout and learn a few keyboard shortcuts, you will begin to love it! </p> <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/before_you_begin_icon.png" width="60" height="60"> Before you begin </h3> <p>We would like to remind you of a few things: <ol> <li>It is OK to run into issues during this step. Setup issues are a part of regular work.</li> <li>It is OK to not know what you are doing. Things will come together later in the course.</li> </ol> </p> <p class="top-space">&nbsp;</p> <h3 class="thin-text top-space"><img src="https://qxf2.com/assets/img/take_a_moment.png" width="60" height="60"> Take a moment </h3> <p>Until you have the momentum of several small technical accomplishments, take a moment to figure out how you are feeling. This exercise will help you combat some unrealistic defense mechanisms at a later date!</p> <p class="top-space">&nbsp;</p> <form action="what-to-expect"> <button type="submit" class="btn btn-danger form-actions">Noted. I'm ready to proceed!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/vscode_setup/tutorial.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Tutorial{% endblock %} {% block content %} <p class="text-justify">We expect this exercise to take you somewhere between 15-minutes to 2 hours. If you take more than two hours, please post what you tried along wtih error messages to our skpye channel.</p> <p class="text-justify">In keeping with our attempt to help you think in different ways, we have listed three approaches that work. There is no shame or pride in choosing anyone of them. Just choose the method you are comfortable with and proceed.</p> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 1: Try it out yourself </h3> <ol> <li>We'd like to promote independent thinking and problem solving. So if you feel ready, try to install Visual Studio Code for Python without referring to any documentation, go for it!</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 2: Google for instructions </h3> <ol> <li>Google for Visual Studio Code for Python install 'your operating system name' </li> <li>Follow the instructions</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 3: follow instructions </h3> <ol> <li>Visit <a href="https://code.visualstudio.com/download">https://code.visualstudio.com/download</a> to install Visual Studio Code for your operating system</li> <li>Visit <a href="https://marketplace.visualstudio.com/items?itemName=ms-python.python">https://marketplace.visualstudio.com/items?itemName=ms-python.python</a> to install Python extension for Visual Studio Code</li> <li>Start Python coding on Visual Studio Code</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/exercises_icon.png" width="60" height="60"> Exercise </h3> <p class="text-justify">Once you are done, create a new file using Visual Studio Code, write <span class="cmdline">print "Hello my name is YOUR_NAME"</span> in it and save the file. Make sure there are no spaces in front of the 'p' of print. Give it a name <span class="cmdline">my_first_step.py</span>. Now figure out how to execute the file using Visual Studio Code.</p> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/verify_dummy_image.png" width="60" height="60"> Verify your setup </h3> <p class="text-justify">After you are done with the exercise listed above, try writing down what you just acheived in 2-3 sentences. Recapping and verbalizing what you just did is an under-rated skill when you are learning something new. So don't skip this step! By the way, if you are new to coding, you took what looks like one small step for a programmer but it was (to paraphrase the famous Moon quote) a giant leap for you! </p> <p>&nbsp;</p> <form action="did-you-complete"> <button type="submit" class="btn btn-danger form-actions">Let's move on</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/vscode_setup/once-you-complete.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Once you complete{% endblock %} {% block content %} <p class="top-space text-justify">Anytime you score a win, take a moment to reflect on what happened. Think about what you did, the problems you faced and challenge yourself to try and verbalize what you did (its hard!).</p> <h3 class="top-space"> <img src="https://qxf2.com/assets/img/after_you_finish.png" class="rounded-circle" width="60" height="60"> What you learnt </h3> <p class="top-space text-justify"> Unknown to you, we exercised several good habits. Here are some: <ol> <li><strong>Tech:</strong> Installing Visual Studio Code, writing your first Python script</li> <li><strong>Mindset:</strong> Baby steps and more baby steps</li> <li><strong>Habits:</strong> Paying attention to what you feel before starting a new task and after completing a new task, recapping</li> </ol> </p> <p class="top-space">&nbsp;</p> <form action="/tutorials"> <button type="submit" class="btn btn-danger form-actions">Game on! Let's go to the next tutorial.</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/vscode_setup/what-to-expect.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: What to expect{% endblock %} {% block content %} <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/what_to_expect.png" width="60" height="60"> What to expect </h3> <p>At the end of this mini-tutorial, you can expect to have Visual Studio Code setup on your machine.</p> <p class="text-justify">Most tutorials and training material expect things to go smoothly. Not us! We are experienced professional QA and we know that a lot can go wrong during setup. And many times it is not the learner's fault. So before we begin, here is what to expect as you go through the tutorial. <ol> <li>Beginners usually have trouble with setup. That's ok. There is help.</li> <li>Over time, you will develop a mental catalogue of problems that come with install and setup.</li> </ol> </p> <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/when_you_hit_an_issue.png" width="60" height="60"> When you hit an issue </h3> <p class="text-justify"> When you run into an issue, don't panic. Here is what you can try: <ol> <li>Take a minute to try and read through the error message. It's ok if seems like gibberish ... just make the attempt. </li> <li>Try and identify the key line in the error. If you cannot, reach out to us on Skype.</li> <li>Google for the 'key line in error' phrase</li> <li>Try out the suggestions mentioned in the Google search results even if you don't fully understand them.</li> <li>After you have tried your best, contact Qxf2 on our public Skype Channel</li> </ol> </p> <p>&nbsp;</p> <form action="tutorial"> <button type="submit" class="btn btn-danger form-actions">I'll try. Show me the instructions!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/vscode_setup/did-you-complete.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Did you finish?{% endblock %} {% block content %} <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/did_you_finish.png" width="60" height="60"> Did you finish? </h3> <div class="radio top-space"> <label><input type="radio" name="optradio" checked> Yes, quite easily </label> </div> <div class="radio"> <label><input type="radio" name="optradio"> Yes, but with some difficulty </label> </div> <div class="radio"> <label><input type="radio" name="optradio"> No, I am stuck </label> </div> <p class="top-space">&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/take_a_moment.png" width="60" height="60"> Take a moment </h3> <p class="text-justify">Until you have the momentum of several small technical accomplishments, take a moment to figure out how you are feeling. How does it compare to how you felt before starting the task? </p> <p class="top-space">&nbsp;</p> <form action="once-you-complete"> <button type="submit" class="btn btn-danger form-actions">What remains? I thought we were done!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/tutorials/index.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Tutorial page{% endblock %} {% block content %} <p class="text-justify">Welcome to Qxf2 Trainer - this screen is the start of your journey towards becoming a more technical tester. This training program has been created by testers for other testers. We have made many tweaks to our training program to incease the odds that you actually stick to this program. <br><br> <h3 class="thin-text"><img src="https://qxf2.com/assets/img/setup_icon.png" width="60" height="60"> SETUP</h3> <p class="text-justify">There are many other nice features to our program that you will discover as you work through our exercises. But before you begin, please follow all the instructions in the setup section of this page. Don't be scared if you have tried previously and failed. We wrote the setup guides assuming things would go wrong and that you would need help troubleshooting problems. <br><br>In this section, you will be guided to setup your environment. Proceed in order. Click on the first link/task that you are yet to complete.</p> <ol> <li><a href="../python-setup/before-you-begin">Setup Python</a></li> <li class="text-muted"><a href="../vscode-setup/before-you-begin">Setup Visual Studio Code</a></li> <li><a href="../chrome-driver-setup/before-you-begin">Setup webdriver for Chrome</a></li> <li><a href="../git-bash-setup/before-you-begin"> Setup git bash</a></li> <li class="text-muted">Sign up for a free WordPress account</li> <li class="text-muted">Sign up for a free GitHub account</li> </ol> <br><br> <h3 class="thin-text"><img src="https://qxf2.com/assets/img/exercises_icon.png" width="60" height="60"> EXERCISES</h3> <p class="text-justify">We have tried our best to keep these exercises relevant and creative. Unlike most courses, we will not steadily build up your theoretical knowledge and then give you a practical problem. Instead, we will steadily present you with practical (and useful!) problems and hope that your theoretical knowledge increases with practice. For example, we won't teach you Python from scratch but will give you enough help to modify Python code based on patterns you observe.</p> <ol> <li class="text-muted">Clone a GitHub repository and run an automates test</li> <li class="text-muted">Edit the above test to take values that suit you</li> <li class="text-muted">Publish your resume on your WordPress site</li> <li class="text-muted">Contribute to open source by fixing an issue on GitHub</li> <li class="text-muted">Fetch website data without using a browser</li> <li class="text-muted">Hook up your automation with a test case manager and a CI tool</li> </ol> <p class="top-space">&nbsp;</p> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/git_bash_setup/before-you-begin.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Before you begin{% endblock %} {% block content %} <p class="text-justify">Git is a version control tool. You will be using it quite a lot at Qxf2. Please install git on your local machine.</p> <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/before_you_begin_icon.png" width="60" height="60"> Before you begin </h3> <p>We would like to remind you of a few things: <ol> <li>It is OK to run into issues during this step. Setup issues are a part of regular work.</li> <li>It is OK to not know what you are doing. Things will come together later in the course.</li> </ol> </p> <p class="top-space">&nbsp;</p> <h3 class="thin-text top-space"><img src="https://qxf2.com/assets/img/take_a_moment.png" width="60" height="60"> Take a moment </h3> <p>Until you have the momentum of several small technical accomplishments, take a moment to figure out how you are feeling. This exercise will help you combat some unrealistic defense mechanisms at a later date!</p> <p class="top-space">&nbsp;</p> <form action="what-to-expect"> <button type="submit" class="btn btn-danger form-actions">Noted. I'm ready to proceed!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/git_bash_setup/tutorial.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Tutorial{% endblock %} {% block content %} <p class="text-justify">We expect this exercise to take you somewhere between 15-minutes to 1 hours. If you take more than one hour, please post what you tried along wtih error messages to our skype channel.</p> <p class="text-justify">We will be using git bash quite a lot at Qxf2. Therefore, for this tutorial, you are going to install the latest version from the official site.</p> <p class="text-justify">In keeping with our attempt to help you think in different ways, we have listed three approaches that work. There is no shame or pride in choosing anyone of them. Just choose the method you are comfortable with and proceed.</p> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 1: Try it out yourself </h3> <ol> <li>We'd like to promote independent thinking and problem solving. So if you feel ready, try to install Git Bash without referring to any documentation, go for it!</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 2: Google for instructions </h3> <ol> <li>Google for Git Bash install 'your operating system name' </li> <li>Follow the instructions</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 3: follow instructions </h3> <ol> <li>Visit <a href="https://gitforwindows.org/index.html">https://gitforwindows.org/index.html </a> </li> <li>Click on the Downloads</li> <li>On the release page, choose latest release for your operating system </li> <li>Download the executable and follow the steps</li> <li>Once installation completes, Press windows key and search for Git bash and open it</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/exercises_icon.png" width="60" height="60"> Exercise </h3> <p class="text-justify">Run the below commands to configure your git, so that these details would get associated with any commits you create in future . git config --global user.name "Your name" . git config --global user.email "Your qxf2 emaild id" </p> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/verify_dummy_image.png" width="60" height="60"> Verify your setup </h3> <p class="text-justify">After you are done with the exercise listed above, it is time to verify your Git Bash installation. It is a good habit to take small steps and verify them immediately. This will help you avoid getting stuck later on. To verify your setup, pull up your terminal prompt and run the command git --version. You should see the version you installed listed. </p> <p>&nbsp;</p> <form action="did-you-complete"> <button type="submit" class="btn btn-danger form-actions">Let's move on</button> </form> <p class="top-space">&nbsp;</p> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/git_bash_setup/once-you-complete.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Once you complete{% endblock %} {% block content %} <p class="top-space text-justify">Anytime you score a win, take a moment to reflect on what happened. Think about what you did, the problems you faced and challenge yourself to try and verbalize what you did (its hard!).</p> <h3 class="top-space"> <img src="https://qxf2.com/assets/img/after_you_finish.png" class="rounded-circle" width="60" height="60"> What you learnt </h3> <p class="top-space text-justify"> Unknown to you, we exercised several good habits. Here are some: <ol> <li><strong>Tech:</strong> Installing Git bash </li> <li><strong>Mindset:</strong> Technical issues arise everywhere and you have a lot of online help</li> <li><strong>Habits:</strong> Paying attention to what you feel before starting a new task and after completing a new task, retrospecting</li> </ol> </p> <p class="top-space">&nbsp;</p> <form action="/tutorials"> <button type="submit" class="btn btn-danger form-actions">Game on! Let's go to the next tutorial.</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/git_bash_setup/what-to-expect.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: What to expect{% endblock %} {% block content %} <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/what_to_expect.png" width="60" height="60"> What to expect </h3> <p>At the end of this mini-tutorial, you can expect to have setup Git Bash on your machine.</p> <p class="text-justify">Most tutorials and training material expect things to go smoothly. Not us! We are experienced professional QA and we know that a lot can go wrong during setup. And many times it is not the learner's fault. So before we begin, here is what to expect as you go through the tutorial. <ol> <li>Beginners usually have trouble with setup. That's ok. There is help.</li> <li>Over time, you will develop a mental catalogue of problems that come with install and setup.</li> </ol> </p> <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/when_you_hit_an_issue.png" width="60" height="60"> When you hit an issue </h3> <p class="text-justify"> When you run into an issue, don't panic. Here is what you can try: <ol> <li>Take a minute to try and read through the error message. It's ok if seems like gibberish ... just make the attempt.</li> <li>Try and identify the key line in the error. If you cannot, reach out to us on Skype.</li> <li>Google for the phrase 'Git Bash install <your OS name> key line in error' e.g.: 'git bash install windows Permission Denied Error'</li> <li>Try out the suggestions mentioned in the Google search results even if you don't fully understand them.</li> <li>After you have tried your best, contact Qxf2 on our public Skpye Channel</li> </ol> </p> <p>&nbsp;</p> <form action="tutorial"> <button type="submit" class="btn btn-danger form-actions">I'll try. Show me the instructions!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/git_bash_setup/did-you-complete.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Did you finish?{% endblock %} {% block content %} <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/did_you_finish.png" width="60" height="60"> Did you finish? </h3> <div class="radio top-space"> <label><input type="radio" name="optradio" checked> Yes, quite easily </label> </div> <div class="radio"> <label><input type="radio" name="optradio"> Yes, but with some difficulty </label> </div> <div class="radio"> <label><input type="radio" name="optradio"> No, I am stuck </label> </div> <p class="top-space">&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/take_a_moment.png" width="60" height="60"> Take a moment </h3> <p class="text-justify">Until you have the momentum of several small technical accomplishments, take a moment to figure out how you are feeling. How does it compare to how you felt before starting the task? </p> <p class="top-space">&nbsp;</p> <form action="once-you-complete"> <button type="submit" class="btn btn-danger form-actions">What remains? I thought we were done!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/chrome_driver_setup/before-you-begin.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Before you begin{% endblock %} {% block content %} <p class="text-justify">Chrome is going to be our Driver of choice through this training journey. We choose it because we like it and it would be default with many systems/users. Given how much we will use it, it is only fitting that we begin our setup with Chrome.</p> <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/before_you_begin_icon.png" width="60" height="60"> Before you begin </h3> <p>We would like to remind you of a few things: <ol> <li>It is OK to run into issues during this step. Setup issues are a part of regular work.</li> <li>It is OK to not know what you are doing. Things will come together later in the course.</li> </ol> </p> <p class="top-space">&nbsp;</p> <h3 class="thin-text top-space"><img src="https://qxf2.com/assets/img/take_a_moment.png" width="60" height="60"> Take a moment </h3> <p>Until you have the momentum of several small technical accomplishments, take a moment to figure out how you are feeling. This exercise will help you combat some unrealistic defense mechanisms at a later date!</p> <p class="top-space">&nbsp;</p> <form action="what-to-expect"> <button type="submit" class="btn btn-danger form-actions">Noted. I'm ready to proceed!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/chrome_driver_setup/tutorial.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Tutorial{% endblock %} {% block content %} <p class="text-justify">We expect this exercise to take you somewhere between 15-minutes to 2 hours. If you take more than two hours, please post what you tried along wtih error messages to our Skpye Channel.</p> <p class="text-justify">ChromeDriver is available for Chrome on Android and Chrome on Desktop (Mac, Linux, Windows and ChromeOS).We can install the latest version according to the OS. </p> <p class="text-justify">In keeping with our attempt to help you think in different ways, we have listed three approaches that work. There is no shame or pride in choosing anyone of them. Just choose the method you are comfortable with and proceed.</p> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 1: Try it out yourself </h3> <ol> <li>We'd like to promote independent thinking and problem solving. So if you feel ready, try to install Chrome Driver without referring to any documentation, go for it!</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 2: Google for instructions </h3> <ol> <li>Google for Chrome Driver install 'your operating system name' </li> <li>Follow the instructions</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/approach_icon.png" width="60" height="60"> Approach 3: follow instructions </h3> <ol> <li>Visit <a href="https://chromedriver.chromium.org/downloads/">https://chromedriver.chromium.org/downloads </a> </li> <li>Click on the latest 84.x release</li> <li>On the index page, choose chromedriver for your operating system </li> <li>Download the executable and follow the steps</li> </ol> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/exercises_icon.png" width="60" height="60"> Exercise </h3> <p class="text-justify">Once you are done, add the chromedriver executable to your path environment variable. Hint: Google for 'add chromedriver to path environment variable your operating system name'. </p> <p>&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/verify_dummy_image.png" width="60" height="60"> Verify your setup </h3> <p class="text-justify">After you are done with the exercise listed above, it is time to verify your ChromeDriver installation. It is a good habit to take small steps and verify them immediately. This will help you avoid getting stuck later on. To verify your setup, pull up your terminal prompt and type chromedriver. You should see the version you installed along with message as "starting.." </p> <p>&nbsp;</p> <form action="did-you-complete"> <button type="submit" class="btn btn-danger form-actions">Let's move on</button> </form> <p class="top-space">&nbsp;</p> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/chrome_driver_setup/once-you-complete.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Once you complete{% endblock %} {% block content %} <form action="/tutorials"> <p class="top-space text-justify">Anytime you score a win, take a moment to reflect on what happened. Think about what you did, the problems you faced and challenge yourself to try and verbalize what you did (its hard!).</p> <h3 class="top-space"> <img src="https://qxf2.com/assets/img/after_you_finish.png" class="rounded-circle" width="60" height="60"> What you learnt </h3> <p class="top-space text-justify"> Unknown to you, we exercised several good habits. Here are some: <ol> <li><strong>Tech:</strong> Installing Chrome Driver, setting an environment variable</li> <li><strong>Mindset:</strong> Technical issues arise everywhere and you have a lot of online help</li> <li><strong>Habits:</strong> Paying attention to what you feel before starting a new task and after completing a new task, retrospecting</li> </ol> </p> <p class="top-space">&nbsp;</p> <button type="submit" class="btn btn-danger form-actions">Game on! Let's go to the next tutorial.</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/chrome_driver_setup/what-to-expect.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: What to expect{% endblock %} {% block content %} <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/what_to_expect.png" width="60" height="60"> What to expect </h3> <p>At the end of this mini-tutorial, you can expect to have setup Chrome Driver on your machine.</p> <p class="text-justify">Most tutorials and training material expect things to go smoothly. Not us! We are experienced professional QA and we know that a lot can go wrong during setup. And many times it is not the learner's fault. So before we begin, here is what to expect as you go through the tutorial. <ol> <li>Beginners usually have trouble with setup. That's ok. There is help.</li> <li>Over time, you will develop a mental catalogue of problems that come with install and setup.</li> </ol> </p> <h3 class="thin-text top-space"> <img src="https://qxf2.com/assets/img/when_you_hit_an_issue.png" width="60" height="60"> When you hit an issue </h3> <p class="text-justify"> When you run into an issue, don't panic. Here is what you can try: <ol> <li>Take a minute to try and read through the error message. It's ok if seems like gibberish ... just make the attempt.</li> <li>Try and identify the key line in the error. If you cannot, reach out to us on Skype.</li> <li>Google for the phrase 'chrome driver install <your OS name> key line in error' e.g.: 'Chrome driver install windows Permission Denied Error'</li> <li>Try out the suggestions mentioned in the Google search results even if you don't fully understand them.</li> <li>After you have tried your best, contact Qxf2 on our public Skype Channel</li> </ol> </p> <p>&nbsp;</p> <form action="tutorial"> <button type="submit" class="btn btn-danger form-actions">I'll try. Show me the instructions!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer/templates
qxf2_public_repos/training-senior-qa/qxf2trainer/templates/chrome_driver_setup/did-you-complete.html
{% extends 'base.html' %} {% block title %}Qxf2 Trainer: Did you finish?{% endblock %} {% block content %} <form action="once-you-complete"> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/did_you_finish.png" width="60" height="60"> Did you finish? </h3> <div class="radio top-space"> <label><input type="radio" name="optradio" value="Yes,Easy" checked> Yes, quite easily </label> </div> <div class="radio"> <label><input type="radio" name="optradio" value="Yes,difficulty"> Yes, but with some difficulty </label> </div> <div class="radio"> <label><input type="radio" name="optradio" value="No,Stuck"> No, I am stuck </label> </div> <p class="top-space">&nbsp;</p> <h3 class="thin-text"> <img src="https://qxf2.com/assets/img/take_a_moment.png" width="60" height="60"> Take a moment </h3> <p class="text-justify">Until you have the momentum of several small technical accomplishments, take a moment to figure out how you are feeling. How does it compare to how you felt before starting the task? </p> <p class="top-space">&nbsp;</p> <button type="submit" class="btn btn-danger form-actions">What remains? I thought we were done!</button> </form> {% endblock %}
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/tutorials/models.py
from django.db import models # Create your models here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/tutorials/apps.py
from django.apps import AppConfig class TutorialsConfig(AppConfig): name = 'tutorials'
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/tutorials/admin.py
from django.contrib import admin # Register your models here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/tutorials/tests.py
from django.test import TestCase # Create your tests here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/tutorials/urls.py
#URLs configuration file for tutorials from django.urls import path from . import views urlpatterns = [ path('', views.index, name='tutorialshome'), ]
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/tutorials/views.py
from django.shortcuts import render from django.http import HttpResponse from django.contrib.auth.decorators import login_required from django.template import loader # Create your views here. @login_required def index(request): template = loader.get_template('tutorials/index.html') return HttpResponse(template.render())
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/git_bash_setup/models.py
from django.db import models # Create your models here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/git_bash_setup/apps.py
from django.apps import AppConfig class GitBashSetupConfig(AppConfig): name = 'git_bash_setup'
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/git_bash_setup/admin.py
from django.contrib import admin # Register your models here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/git_bash_setup/tests.py
from django.test import TestCase # Create your tests here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/git_bash_setup/urls.py
# URLs configuration file for python setup from django.urls import path from . import views urlpatterns = [ path('before-you-begin', views.beforeyoubegin, name='beforeyoubegin'), path('what-to-expect', views.whattoexpect, name='whattoexpect'), path('tutorial', views.install_gitbash, name='tutorial'), path('did-you-complete', views.didyoucomplete, name='didyoucomplete'), path('once-you-complete', views.onceyoucomplete, name='onceyoucomplete'), ]
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/git_bash_setup/views.py
from django.shortcuts import render from django.http import HttpResponse from django.contrib.auth.decorators import login_required from django.template import loader # Create your views here. @login_required def beforeyoubegin(request): template = loader.get_template('git_bash_setup/before-you-begin.html') return HttpResponse(template.render()) @login_required def whattoexpect(request): template = loader.get_template('git_bash_setup/what-to-expect.html') return HttpResponse(template.render()) @login_required def install_gitbash(request): template = loader.get_template('git_bash_setup/tutorial.html') return HttpResponse(template.render()) @login_required def didyoucomplete(request): template = loader.get_template('git_bash_setup/did-you-complete.html') return HttpResponse(template.render()) @login_required def onceyoucomplete(request): template = loader.get_template('git_bash_setup/once-you-complete.html') return HttpResponse(template.render())
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/chrome_driver_setup/models.py
from django.db import models from django.utils import timezone # Create your models here. class feedback(models.Model): user = models.CharField(max_length=200) submit_date = models.DateTimeField vote = models.CharField(max_length=200) class comment(models.Model): user = models.ForeignKey(feedback, on_delete=models.CASCADE) comment_box = models.CharField(max_length=1000, default='SOME STRING')
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/chrome_driver_setup/apps.py
from django.apps import AppConfig class PythonSetupConfig(AppConfig): name = 'chrome_driver_setup'
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/chrome_driver_setup/admin.py
from django.contrib import admin # Register your models here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/chrome_driver_setup/tests.py
from django.test import TestCase # Create your tests here.
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/chrome_driver_setup/urls.py
# URLs configuration file for python setup from django.urls import path from . import views urlpatterns = [ path('before-you-begin', views.beforeyoubegin, name='beforeyoubegin'), path('what-to-expect', views.whattoexpect, name='whattoexpect'), path('tutorial', views.install_chrome_driver, name='tutorial'), path('did-you-complete', views.didyoucomplete, name='didyoucomplete'), path('once-you-complete', views.onceyoucomplete, name='onceyoucomplete'), ]
0
qxf2_public_repos/training-senior-qa/qxf2trainer
qxf2_public_repos/training-senior-qa/qxf2trainer/chrome_driver_setup/views.py
from django.shortcuts import render from django.http import HttpResponse from django.contrib.auth.decorators import login_required from django.template import loader # Create your views here. @login_required def beforeyoubegin(request): template = loader.get_template('chrome_driver_setup/before-you-begin.html') return HttpResponse(template.render()) @login_required def whattoexpect(request): template = loader.get_template('chrome_driver_setup/what-to-expect.html') return HttpResponse(template.render()) @login_required def install_chrome_driver(request): template = loader.get_template('chrome_driver_setup/tutorial.html') return HttpResponse(template.render()) @login_required def didyoucomplete(request): template = loader.get_template('chrome_driver_setup/did-you-complete.html') return HttpResponse(template.render()) @login_required def onceyoucomplete(request): template = loader.get_template( 'chrome_driver_setup/once-you-complete.html') return HttpResponse(template.render())
0
qxf2_public_repos/training-senior-qa/qxf2trainer/chrome_driver_setup
qxf2_public_repos/training-senior-qa/qxf2trainer/chrome_driver_setup/migrations/0001_initial.py
# Generated by Django 2.1.1 on 2020-07-02 12:20 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('comment_box', models.CharField(max_length=1000)), ], ), migrations.CreateModel( name='feedback', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('vote', models.CharField(max_length=200)), ], ), ]
0