Skip to content

Instantly share code, notes, and snippets.

View aplr's full-sized avatar

Andreas Pfurtscheller aplr

View GitHub Profile
@mchapman87501
mchapman87501 / install_pyside6_mac_m1.sh
Created October 1, 2021 18:47
Install PySide6 on macOS (Monterey) for M1 (Apple Silicon) Devices - h/t elliewhatever
#!/bin/bash
# Many thanks to
# https://gist.githubusercontent.com/elliewhatever/adbe3fba37d747fb8b04af8f835d46d2/raw/61e2bd530eb434f7ea2f595262e1922cdd057f7c/PySide6.sh
# Assumes brew and python are installed
brew install qt@6 llvm cmake ninja git
# Setup environment relative to current directory -
# this eases building in an existing Python venv.
mkdir -p ./.pyside6; cd ./.pyside6
@HamGuy
HamGuy / UINavigationBarBackButtonHandler.swift
Last active October 10, 2021 01:05
extension allows to handle UINavigationViewController's 'Back' button action, migrate from https://github.com/onegray/UIViewController-BackButtonHandler
//
// UINavigationBarBackButtonHandler.swift
// Demo
//
// Created by HamGuy on 20/04/2017.
// Copyright © 2017 hamguy.net. All rights reserved.
//
import Foundation
@OleksandrKucherenko
OleksandrKucherenko / version-up.sh
Last active August 15, 2024 07:28
Calculate Next Suitable Version Tag for Your Git based project
#!/usr/bin/env bash
# shellcheck disable=SC2155
## Copyright (C) 2017, Oleksandr Kucherenko
## Last revisit: 2023-09-30
## Version: 2.0.2
## License: MIT
## Fix: 2023-10-01, prefix for initial INIT_VERSION was not applied
## Fix: 2023-10-01, correct extraction of latest tag that match version pattern
## Added: 2023-09-30, @mrares prefix modification implemented