This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import Counter | |
from itertools import combinations | |
from pprint import pprint | |
def get_famous_point(data): | |
list_of_points = [point for inner_list in data for point in inner_list] | |
return Counter(list_of_points).most_common()[0][0] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```bash | |
Cards_designer | |
patterns-cards--stacked ✔️️ | |
patterns-cards--expandable ✔️️ | |
Cards | |
patterns-cards--mini ❌ | |
patterns-cards--placeholder ✔️️ | |
patterns-cards--content-card ❌ | |
patterns-cards--expandable ✔️️ | |
patterns-cards--stacked ✔️️ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.github.com/en/organizations/keeping-your-organization-secure/reviewing-the-audit-log-for-your-organization | |
https://docs.github.com/en/repositories/viewing-activity-and-data-for-your-repository/viewing-a-summary-of-repository-activity | |
https://github.com/IonicaBizau/git-stats | |
https://github.com/caarlos0/org-stats | |
https://www.lostindetails.com/articles/get-contributor-stats-from-git | |
https://github.com/marketplace/pr-count | |
https://github.com/morucci/repoxplorer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Twitter": "@0xislamtaha", | |
"Github": "github.com/0xIslamTaha", | |
"Youtube": "youtube.com/c/0xislamtaha", | |
"Medium": "0xIslamTaha.medium.com" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# overwrite the specs list | |
npx orchestrator --config orchestrator.json --specs '["avatar.js"]' | |
# overwrite the specs list and export environment variables. | |
npx orchestrator --config orchestrator.json --specs '["avatar.js"]' --environment '{"DOCKER_TAG":"master_35"}' | |
# overwrite the timeout and the parallelizm | |
npx orchestrator --config orchestrator.jon --timeout 50m --parallelizm 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parallelizm": 1, | |
"browsers": ["chrome", "firefox"], | |
"timeout": "30m", | |
"environment": {}, | |
"preCommands": [ | |
"echo 'START ORCHESTRATOR'", | |
"rm -rf cypress/report/* #Remove the old reports", | |
"mkdir -p mochawesome-report" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
cypress-container: | |
build: ./ | |
network_mode: "bridge" | |
volumes: | |
- ./cypress/:/orechestrator_usecase/cypress | |
- ./mochawesome-report:/orechestrator_usecase/mochawesome-report | |
- /dev/shm:/dev/shm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM cypress/browsers:node14.16.0-chrome89-ff86 | |
WORKDIR /orechestrator_usecase | |
COPY package.json package-lock.json cypress.json ./ | |
RUN npm ci && npx cypress verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf | |
sysctl -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```python | |
count = 1 | |
for i in range(15): | |
ids = '' | |
s = 'ui_testing/testcases/basic_tests/test06_orders.py:OrdersTestCases --with-id' | |
for k in range(5): | |
ids= f"{ids} {count}" | |
count = count + 1 | |
print(f'"{s}{ids}",') |
NewerOlder