Skip to content

Instantly share code, notes, and snippets.

View atnbueno's full-sized avatar
👨‍💻
🏴󠁵󠁳󠁣󠁡󠁿 Girona, Spain ⌚UTC+2

Antonio Bueno atnbueno

👨‍💻
🏴󠁵󠁳󠁣󠁡󠁿 Girona, Spain ⌚UTC+2
View GitHub Profile
@atnbueno
atnbueno / circular-progress-bar.html
Last active October 23, 2021 15:06
Parametrized pure-CSS circular progress bar
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<style>
/*
* Parametrized pure CSS circular progress bar v2.0
* by Antonio Bueno github.com/atnbueno
*
@atnbueno
atnbueno / wordle-import-export.user.js
Last active January 22, 2022 21:22
Greasemonkey: import/export Wordle's game state to migrate playing it from one device to another
// ==UserScript==
// @name Wordle import/export
// @version 1.3
// @author Antonio Bueno
// @namespace userscripts.atnbueno.com
// @match https://www.powerlanguage.co.uk/wordle/
// @match https://wordle.danielfrg.com/
// @require https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js
// @require https://cdn.jsdelivr.net/npm/toastify-js
// @resource toastifyCSS https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css
@atnbueno
atnbueno / winget.ahk
Last active November 16, 2024 18:38
AutoHotkey script to upgrade everything winget can upgrade, but interactively and with pinned (non-upgradeable) programs
; winget.ahk 1.0.220124 (c) 2022 by u/atnbueno. MIT License.
PinnedPrograms := "iTunes,Mp3tag" ; programs I don't want to upgrade
RunWait, % ComSpec " /c winget list>winget_list.txt", % "C:\Users\" A_UserName, Hide
Loop, Read, % "C:\Users\" A_UserName "\winget_list.txt"
{
If (A_LoopReadLine ~= "winget$")
{
Pinned := False
@atnbueno
atnbueno / ipsw2dmg.sh
Created July 31, 2022 10:52
A zsh script to extract the largest DMG from an IPSW to the same folder with the label as name
#!/bin/zsh
# ipsw2dmg.sh by github.com/atnbueno - v2.0.0 (2022-07-31) - License: MIT
# Check if input file exists (with or without an .ipsw extension)
if [ -f "$1" ]; then
INPUT=$(realpath "$1")
else
if [ -f "$1.ipsw" ]; then
INPUT=$(realpath "$1.ipsw")
else

Keybase proof

I hereby claim:

  • I am atnbueno on github.
  • I am atnbueno (https://keybase.io/atnbueno) on keybase.
  • I have a public key ASBPNX5MRu6-UWXZo3CwzjU0m4RxbSC3712SEYZ6zLxAcgo

To claim this, I am signing this object: