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
// Paste the following example to browser console | |
// Comppreses string to GZIP. Retruns a Promise with Base64 string | |
const compress = string => { | |
const blobToBase64 = blob => new Promise((resolve, _) => { | |
const reader = new FileReader(); | |
reader.onloadend = () => resolve(reader.result.split(',')[1]); | |
reader.readAsDataURL(blob); | |
}); |
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
# Project specific variables are here | |
variables: | |
# AWS ECR settings | |
AWS_REGION: us-east-1 | |
AWS_IMAGE_REGISTRY: XXXXXXX.dkr.ecr.us-east-1.amazonaws.com | |
AWS_IMAGE_NAME: my-spring-boot-app | |
# Do not forget to set | |
# AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION | |
# in Gitlab Settings -> CI/CD |
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
#!/usr/bin/osascript | |
# Required parameters: | |
# @raycast.author asidko | |
# @raycast.schemaVersion 1 | |
# @raycast.title Note text to "Worklog" note | |
# @raycast.mode silent | |
# @raycast.packageName Notes | |
# @raycast.description Append text to pre defined note | |
# @raycast.argument1 { "type": "text", "placeholder": "text to append" } |
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
#!/bin/bash | |
################################################## | |
# Run script for applications | |
# Usage: ./run.sh start | |
# ./run.sh restart | |
# ./run.sh stop | |
# Features: | |
# - Auto-detect application name and port (based on folder name) and binary (last by creation date) | |
# - Automatically checks if the application is running, shows its last logs |
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
################################################## | |
# Скрипт для поиска найболее волатильных монет на Binance | |
# | |
# Перед использованием, установить зависимости: | |
# pip install rich aiohttp | |
# | |
# Скриншот: https://github.com/user-attachments/assets/b22838f6-a130-4ffe-9f01-d09abbcc24cc | |
# | |
# Пример использования. | |
# Найти монеты которые изменились на 2% за последнюю 1 минуту в сравнении с последними 15 минутами |