Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Aprillion's full-sized avatar
📎

Peter Hozák Aprillion

📎
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Aprillion
Aprillion / update_multiple_repos.md
Last active December 30, 2020 22:33
How to make the same change in multiple GitHub repos

A concrete example how I automated a chore update of multiple repostitories that I do not own => to create pull requests (PRs) with the same simple change in each repo.

copy([
  ...new Set($$('h1 > a[href^="/kentcdodds/"]').map(el => `gh repo fork ${el.href}.git --clone --remote`))
@Aprillion
Aprillion / survey_backup.md
Created December 16, 2017 12:34
Python in Excel

My thoughts on Python integration in Excel I submitted in the survey listed on https://excel.uservoice.com/forums/304921-excel-for-windows-desktop-application/suggestions/10549005-python-as-an-excel-scripting-language

  1. Git & code reviews & external editors => Open + Save As dialogs MUST support a plain text option, e.g.:

a) the un-zipped directory that currently makes the .xlsm file, or

b) have 2 files .xslx + .xslpy where:

  • the excel file would contain a link to the python file similar to "Data > Connections"
  • the python file would be plain text:
@Aprillion
Aprillion / KeypressOSD.ahk
Last active February 19, 2024 05:56 — forked from tmplinshi/KeypressOSD.ahk
Display mouse and key presses on screen - above mouse pointer while typing (support multiple actions), then fade into top right corner
; KeypressOSD.ahk
;----------------------------------------------------------
; KeypressOSD_stacked v1.00
; Author : peter.hozak@gmail.com
; Date : 2015-04-21
; Tested on : Windows 8/AutoHotkey 1.1.19.03
; Thanks : KeypressOSD by tmplinshi - http://ahkscript.org/boards/viewtopic.php?f=6&t=225
; HotShow.ahk by RaptorX - http://www.autohotkey.com/board/topic/51641-hotshow-10-osd-hotkeys-for-video-tutorials/
; TODO: icons from https://openclipart.org/detail/216312/mouse-right-click