Skip to content

Instantly share code, notes, and snippets.

View monomadic's full-sized avatar
♥️
rust and crypto

Monomadic monomadic

♥️
rust and crypto
  • Nomadic
View GitHub Profile
@kconner
kconner / macOS Internals.md
Last active May 18, 2024 17:55
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@witmin
witmin / ffmpeg-mp4-to-animated-webp.md
Last active May 14, 2024 09:23
Convert MP4 file to animated WebP in ffmpeg

Convert MP4 file to animated WEBP file in ffmpeg CLI

1. Install ffmpeg CLI through homebrew

In terminal.app, install ffmpeg through homebrew

brew install ffmpeg

Validate the installation:

@gbrow004
gbrow004 / ubuntu-MBP-16.md
Last active May 9, 2024 16:41
Ubuntu on Apple Macbook Pro 16-inch (2019)

Update!

This gist is out of date and I can no longer help much, as I got rid of my Mac.

Please visit T2 Linux website for more and better information:

https://t2linux.org/

Acknowledgements

This gist is just a compilation of the hard work that others have put in. I'm not a software developer, so if there are any mistakes or better ways of doing things, I'd appreciate any suggestions. Here's a list of the real heroes who made this possible:

@tarnacious
tarnacious / build-qcow2.nix
Last active May 1, 2024 02:21
Build a bare bones bootable nixos qcow2 image suitable for running with libvirt/qemu/kvm.
{ config, lib, pkgs, ... }:
with lib;
{
imports =
[
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
./machine-config.nix
];
@artizirk
artizirk / 0README.md
Last active September 26, 2022 01:46
Apple macOS Catalina under Linux KVM with GVT-g Intel GPU passthrough notes
#![feature(lang_items)]
#![no_std]
#[no_mangle]
pub fn add_one(x: i32) -> i32 {
x + 1
}
// needed for no_std

The Why and When of Choosing Elm

What is Elm?

  • Language (and "framework") for building web frontend applications
  • Can be used in place of HTML, CSS and JavaScript
  • Compiles into the above

Blackmagic Design Fusion using AppImage

Recently I was informed that Blackmagic Design is using AppImage to distribute Fusion for Linux. So I had a look, and what I found is rather surprising. They hide the fact that they are using AppImage (using .run rather than .AppImage as an extension), and they do not make use of it advantages because they a) encapsulate it in an archive, making unarchiving necessary, and b) run an installer. So they throw away two advantages of AppImages: a) that they do not need to be unpacked, and b) that they do not need to be installed.

What the heck?!

Starting the analysis

I am doing this analyis on Ubuntu 16.04.

@k2nr
k2nr / .Xmodmap
Last active September 27, 2021 03:27
NixOS configuration for MacBookPro retina 15 early 2012
keycode 97 = grave asciitilde
keycode 132 = grave asciitilde