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 type { FlatNamespace, ParseKeys } from 'i18next'; | |
export type AllI18nKeysWithNsPrefix = { | |
[Ns in FlatNamespace]: `${Ns}:${ParseKeys<Ns>}`; | |
}[FlatNamespace]; |
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
# - OSX / MacOS - | |
# Cron Job | |
*/15 * * * * osascript -e 'tell application (path to frontmost application as text) to display dialog "Drink some water. :]" buttons {"OK"}' | |
# Automatically add cron job to existing cron jobs | |
(crontab -l ; echo "*/15 * * * * osascript -e 'tell application (path to frontmost application as text) to display dialog \"Drink some water. :]\" buttons {\"OK\"}'") | crontab - | |
# as su | |
(sudo crontab -l ; echo "*/15 * * * * osascript -e 'tell application (path to frontmost application as text) to display dialog \"Drink some water. :]\" buttons {\"OK\"}'") | sudo crontab - | |
# - Fedora Linux - | |
# Cron Job |
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 csv | |
# export method I used: https://debug.to/6112/export-work-items-in-azure-devops | |
class AzureItem: | |
# Item ID,Board Column,Parent ID,Work Item Type,Title,Description,Assigned To,State,Tags | |
item_id = '' | |
board_column = '' | |
parent_id = '' | |
work_item_type = '' |
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 | |
import shutil | |
import sys | |
from tqdm import tqdm | |
work_path = '.' | |
if len(sys.argv) > 1: | |
work_path = sys.argv[1] | |
output_dir = os.path.abspath('./all_files/') |