This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from lightly_purple import DatasetLoader | |
| # Create a DatasetLoader instance | |
| loader = DatasetLoader() | |
| # Define the path to the dataset (folder containing data.yaml) | |
| dataset_path = os.getenv("DATASET_PATH") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from lightly_purple import DatasetLoader | |
| # Create a DatasetLoader instance | |
| loader = DatasetLoader() | |
| # Define the path to the dataset (folder containing data.yaml) | |
| dataset_path = os.getenv("DATASET_PATH") |
This file contains hidden or 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
| #!/bin/bash | |
| # Check if both parameters are provided | |
| if [ $# -ne 2 ]; then | |
| echo "Usage: $0 <dataset_url> <target_folder>" | |
| exit 1 | |
| fi | |
| DATASET_URL=$1 | |
| TARGET_FOLDER=$2 |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Lets have here everything we need to setup a local environment to avoid manual steps | |
| # To use just run | |
| # bash <(curl -sL https://gist.githubusercontent.com/ikondrat/1d6f0e3404159a0fa97dde239e213c0d/raw/d576aa60227488de195749665881483a31083a49/setup-dev.sh) | |
| # from the root of the project | |
| set -e | |
| echo "Install yq yaml parser" | |
| brew install yq jq |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Script to fetch env variables required to have a build locally | |
| # it is used in setup-dev.sh | |
| set -e | |
| ENV_FILE=${1:-'apps/web/.env.local'} | |
| SPEC_FILE=${2:-'apps/web/env.local.yml'} | |
| eval $(assume-role -r tools-developer) |
This file contains hidden or 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": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "name": "vscode-jest-tests", | |
| "request": "launch", | |
| "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/jest", | |
| "args": [ | |
| "test", |
This file contains hidden or 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
| { | |
| "[javascript]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "editor.formatOnSave": true | |
| }, | |
| "[javascriptreact]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "editor.formatOnSave": true | |
| }, | |
| "[typescript]": { |
This file contains hidden or 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": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "name": "vscode-jest-tests", | |
| "request": "launch", | |
| "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/jest", | |
| "args": [ | |
| "test", |
This file contains hidden or 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
| { | |
| "[javascript]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "editor.formatOnSave": true | |
| }, | |
| "[javascriptreact]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "editor.formatOnSave": true | |
| }, | |
| "[typescript]": { |
This file contains hidden or 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
| { | |
| "[javascript]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "editor.formatOnSave": true | |
| }, | |
| "[javascriptreact]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "editor.formatOnSave": true | |
| }, | |
| "[typescript]": { |
NewerOlder