Skip to content

Instantly share code, notes, and snippets.

View rolandkakonyi's full-sized avatar

Roland Kákonyi rolandkakonyi

View GitHub Profile

🛠️ Atlassian CLI (ACLI) Jira Guide – Up-to-Date (2025)

This guide covers the Jira-related features of ACLIX, a wrapper around the Atlassian CLI (acli) that adds custom commands. Uses the official Atlassian Developer Reference as of mid-2025. Ref: https://developer.atlassian.com/cloud/acli/reference/commands/jira/

Installation

Install ACLI (Required)

brew tap atlassian/homebrew-acli
brew install acli
#!/usr/bin/env bash
# aclix - "ACLI eXtra": a thin wrapper around Atlassian CLI (acli)
# - Proxies all commands to `acli` unchanged
# - Intercepts: `jira workitem link` to create issue links via Jira REST API
# - Intercepts: `jira workitem link-types` to fetch available link types via Jira REST API
# - Provides custom completions for bash and zsh that extend acli's completions
#
# Requirements:
# - bash 4+, curl
# - Atlassian CLI (acli) - install via: brew tap atlassian/homebrew-acli && brew install acli
#!/bin/bash
if ! [ -x "$(command -v gdate)" ]; then
echo 'Error: git is not installed. Run "brew install coreutils"' >&2
exit 1
fi
if ! [ -x "$(command -v gh)" ]; then
echo 'Error: git is not installed. Run "brew install gh"' >&2
exit 1
#define RETAIN_COUNT(object) (long)CFGetRetainCount((__bridge CFTypeRef)object);
#define PRINT_CALLER(cmd, arg) ({ \
NSString *sourceString = [[NSThread callStackSymbols] objectAtIndex:1]; \
NSCharacterSet *separatorSet = [NSCharacterSet characterSetWithCharactersInString:@" -[]+?.,"]; \
NSMutableArray *array = [NSMutableArray arrayWithArray:[sourceString componentsSeparatedByCharactersInSet:separatorSet]]; \
[array removeObject:@""]; \
NSString *value = arg == nil ? @"nil" : [NSString stringWithFormat:@"%@", (arg)]; \
NSLog(@"Caller of '%@' is '[%@ %@]', with argument: '%@'", NSStringFromSelector(cmd), [array objectAtIndex:3], [array objectAtIndex:4], value); \
})
@rolandkakonyi
rolandkakonyi / swifty_objc.h
Created February 1, 2020 14:22
Swifty Macros for Objective-C
#if defined(__cplusplus)
#define let auto const
#else
#define let const __auto_type
#endif
#if defined(__cplusplus)
#define var auto
#else
#define var __auto_type
//
// PSPDFFastEnumeration.h
// PSPDFFoundation
//
// PSPDFKit is the leading cross-platform solution for integrating PDFs into your apps: https://pspdfkit.com.
// Try it today using our free PDF Viewer app: https://pdfviewer.io/
//
// This file is MIT licensed.
@protocol PSPDFFastEnumeration <NSFastEnumeration>
@rolandkakonyi
rolandkakonyi / PSPDFGenerics.h
Created February 1, 2020 14:12 — forked from steipete/PSPDFGenerics.h
Override copy and mutableCopy on Objective-C collection classes to pass along both the collection type and the generic info. This is a header-only "library". MIT licensed. Craving for more? foreach: https://gist.github.com/steipete/7e3c69b985165dc23c5ec169b857ff42 even more: https://pspdfkit.com/blog/2016/swifty-objective-c/ - ships in https://p…
//
// PSPDFGenerics.h
// PSPDFFoundation
//
// PSPDFKit is the leading cross-platform solution for integrating PDFs into your apps: https://pspdfkit.com.
// Try it today using our free PDF Viewer app: https://pdfviewer.io/
//
// This file is MIT licensed.
/**
import Foundation
protocol DefaultRawValueDecodable: RawRepresentable, Decodable {
static var defaultValue: Self { get }
}
extension DefaultRawValueDecodable where RawValue: Decodable {
init(from decoder: Decoder) throws {
import Foundation
extension CALayer {
public func animate() -> CALayerAnimate {
return CALayerAnimate(layer: self)
}
}
public class CALayerAnimate {