Skip to content

Instantly share code, notes, and snippets.

View upteran's full-sized avatar
🌚

Andrew Tereshkin upteran

🌚
View GitHub Profile
@upteran
upteran / http-benchmark.md
Created October 1, 2025 14:39 — forked from denji/http-benchmark.md
HTTP(S) Benchmark Tools / Toolkit for testing/debugging HTTP(S) and restAPI (RESTful)
@upteran
upteran / Jest_GitLab_CI.md
Created May 14, 2024 08:45 — forked from rishitells/Jest_GitLab_CI.md
Setting up Jest tests and coverage in GitLab CI

Configuring Jest Tests in GitLab CI

1. Add GitLab CI configuration file in the root

In the root of your project, add .gitlab-ci.yml with the configuration below.

image: node:latest

stages:
@upteran
upteran / isFileExistInList.sh
Last active June 9, 2023 15:00
Compare filenames from folder with lines from file, for ex. can check is filename announced in index file
#!/bin/bash
# Specify the folder path and the index.jsx file path
# TODO: replace static path with dynamic params
folder_path="[put_folder_path_here]"
index_file="[put_file_with_list_of_files_here]"
# Get the list of filenames in the folder without extensions
file_list=$(find "$folder_path" -type f -exec basename {} \; | sed 's/\.[^.]*$//')