Skip to content

Instantly share code, notes, and snippets.

View Antoniozinchenko's full-sized avatar

Anton Zinchenko Antoniozinchenko

View GitHub Profile
@Antoniozinchenko
Antoniozinchenko / Coverage Badges
Last active November 15, 2024 16:54
Coverage Badges
Coverage Badges
@Antoniozinchenko
Antoniozinchenko / config.lua
Last active September 19, 2024 13:57
Lunarvim configuration with flutter support
-- Read the docs: https://www.lunarvim.org/docs/configuration
-- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6
-- Forum: https://www.reddit.com/r/lunarvim/
-- Discord: https://discord.com/invite/Xb9B4Ny
--
lvim.format_on_save.enabled = false
lvim.log.level = "warn"
lvim.colorscheme = "tokyonight-night"
vim.opt.relativenumber = true
@Antoniozinchenko
Antoniozinchenko / dart.json
Last active January 20, 2023 11:48
vscode snippets for flutter/dart
{
"JsonSerializable class": {
"prefix": "classjson",
"body": [
"import 'package:json_annotation/json_annotation.dart';",
"",
"part '${TM_FILENAME_BASE}.g.dart';",
"",
"@JsonSerializable()",
"class ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/g}} {",
@Antoniozinchenko
Antoniozinchenko / README.md
Last active April 7, 2023 07:16
Composite Github action for ios signing

Getting started

This action will help you to setup ios signing files. Just copy this file inside .github/actions/certificates/action.yml

How to use

inside your workflow, just add step:

  steps:
     ...
     
      - name: Generate ios certificates
 uses: ./.github/actions/certificates
# generate jira api token with your account here https://id.atlassian.com/manage-profile/security/api-tokens
export JIRA_API_TOKEN=<YOUR_API_TOKEN_HERE>
# get current jira issue title
jira_title()
{
BRANCH=$(git branch --show-current)
jira issue view "$BRANCH" --plain | sed -n '1p' | awk '{print $2}'
ISSUE_TITLE=$(jira issue view "$BRANCH" --plain | grep '#' | sed -n '1 p' | sed 's/#//' | awk '$1=$1')
echo "[$BRANCH] $ISSUE_TITLE"