Skip to content

Instantly share code, notes, and snippets.

View elzii's full-sized avatar

Alexander Zizzo elzii

View GitHub Profile
@scottwils
scottwils / CopyCalendarEvents.scpt
Last active December 10, 2025 14:14
Apple script to Copy Exchange events to other calendar using Apple Calendar app
tell application "Calendar"
-- Define the source and destination calendars
set sourceCalendar to calendar "SourceCalendar"
set destCalendar to calendar "DestinationCalendar"
-- Set the log file path
set logFile to (path to desktop as text) & "calendar_copy_log.txt"
-- Script version
set scriptVersion to "1.4.1"
@bartowski1182
bartowski1182 / calibration_datav3.txt
Last active February 26, 2026 08:56
Calibration data provided by Dampf, combines his own efforts on top of Kalomaze's. Used for calibrating GGUF imatrix files
In addition to a significant decrease in hepatic lipid accumulation in the IOE group, which inhibited energy intake by propionate enrichment, hepatic lipids were also significantly reduced in the mice in the IOP group, which was largely enriched with butyrate. Compared with the IOE group, IOP had a stronger regulatory effect on hepatic metabolism and triglyceride metabolism and higher levels of TCA cycle in the host. In addition, butyrate has the ability to promote browning of white adipose tissue (WAT) to brown adipose tissue (BAT).^[@ref39],[@ref40]^ WAT stores energy, whereas BAT uses energy for heating and consequently host energy expenditure increases.^[@ref41],[@ref42]^ However, adipose tissue weight does not change after WAT browning.^[@ref43]^ Therefore, the weight of adipose tissue of mice in the IOP group dominated by butyrate was greater than that of the mice in the IOE group dominated by propionate.
In conclusion ([Figure [7](#fig7){ref-type="fig"}](#fig7){ref-type="fig"}C), the improvement of ob

Awesome-Selfhosted

Awesome

Self-hosting is the practice of hosting and managing applications on your own server(s) instead of consuming from SaaSS providers.

This is a list of Free Software network services and web applications which can be hosted on your own server(s). Non-Free software is listed on the [Non-Free](https://github.com/awesome

@0xdevalias
0xdevalias / reverse-engineering-macos.md
Last active February 10, 2026 21:02
Some notes, tools, and techniques for reverse engineering macOS binaries
@AminoffZ
AminoffZ / new-button-structure.html
Created October 14, 2023 20:36
The structure of the new like and dislike buttons on YouTube
<div
id="top-level-buttons-computed"
class="top-level-buttons style-scope ytd-menu-renderer"
>
<ytd-segmented-like-dislike-button-renderer
class="style-scope ytd-menu-renderer"
button-renderer="true"
><!--css-build:shady--><!--css-build:shady--><yt-smartimation
class="style-scope ytd-segmented-like-dislike-button-renderer"
><div
@Baneeishaque
Baneeishaque / main.txt
Created July 2, 2023 02:08
Chrome Extensions
SuperSorter - Chrome Web Store https://chrome.google.com/webstore/detail/supersorter/hjebfgojnlefhdgmomncgjglmdckngij
FBS II : Fast Bookmark Scanner II - Chrome Web Store https://chrome.google.com/webstore/detail/fbs-ii-fast-bookmark-scan/gjcmklpilmpfhfjpebhnapnglcppdbic
The Great Discarder - Chrome Web Store https://chrome.google.com/webstore/detail/the-great-discarder/jlipbpadkjcklpeiajndiijbeieicbdh
Google Keep Chrome Extension - Chrome Web Store https://chrome.google.com/webstore/detail/google-keep-chrome-extens/lpcaedmchfhocbbapmcbpinfpgnhiddi
Simple URL Copy - Chrome Web Store https://chrome.google.com/webstore/detail/simple-url-copy/cefkgjbbpagcilodnhboolbppdjlplip/related
@Strus
Strus / clangd.md
Last active February 18, 2026 20:04
How to use clangd C/C++ LSP in any project

How to use clangd C/C++ LSP in any project

tl;dr: If you want to just know the method, skip to How to section

Clangd is a state-of-the-art C/C++ LSP that can be used in every popular text editors like Neovim, Emacs or VS Code. Even CLion uses clangd under the hood. Unfortunately, clangd requires compile_commands.json to work, and the easiest way to painlessly generate it is to use CMake.

For simple projects you can try to use Bear - it will capture compile commands and generate compile_commands.json. Although I could never make it work in big projects with custom or complicated build systems.

But what if I tell you you can quickly hack your way around that, and generate compile_commands.json for any project, no matter how compilcated? I have used that way at work for years, originaly because I used CLion which supported only CMake projects - but now I use that method succesfully with clangd and Neovim.

@acarril
acarril / bootable-win-on-mac.md
Created November 18, 2022 17:49
Create a bootable Windows USB using macOS

For some reason, it is surprisingly hard to create a bootable Windows USB using macOS. These are my steps for doing so, which have worked for me in macOS Monterey (12.6.1) for Windows 10 and 11. After following these steps, you should have a bootable Windows USB drive.

1. Download a Windows disc image (i.e. ISO file)

You can download Windows 10 or Windows 11 directly from Microsoft.

2. Identify your USB drive

After plugging the drive to your machine, identify the name of the USB device using diskutil list, which should return an output like the one below. In my case, the correct disk name is disk2.

@SofijaErkin
SofijaErkin / clean_mac_purgeable_space_via_remove_localsnapshots.md
Last active November 26, 2024 18:40
Free space via removing purgeable on mac.

The purgeable space on macOS

1.Question

I have gone to bed before using TimeMachine to backup my mac and accidentally

clicked the Back Up Automatically button on the setting of Time Machine

yesterday night. I have found my mac only has 60 GB free space on Disk

@metzenseifner
metzenseifner / utm-arch-linux-installation-guide.md
Created August 9, 2022 13:49 — forked from Sam0230/utm-arch-linux-installation-guide.md
Installing Arch Linux ARM in a UTM virtual machine

Installing Arch Linux ARM in a UTM virtual machine

Steps:

  1. Create a new virtual machine.
  2. Go to System tab, change architecture to `ARM64 (aarch64)' and increase memory as needed.
  3. Download Alpine Linux LiveCD:
mirror=https://dl-cdn.alpinelinux.org/alpine
curl -o alpine-virt-latest-aarch64.iso "$mirror/latest-stable/releases/aarch64/$(curl "$mirror/latest-stable/releases/aarch64/latest-releases.yaml" | /usr/bin/grep -E 'file: alpine-virt-[0-9\.]+-aarch64\.iso' | head -n 1 | sed 's/ //g' | sed 's/\t//g' | sed 's/^file://')"
  1. Go to Drives tab, New Drive, set size to 20GiB or larger, then Inport Drive, choose the file you just downloaded.