Skip to content

Instantly share code, notes, and snippets.

@vec715
vec715 / Setup Podman on Chrome OS Flex and Crostini.md
Last active April 23, 2025 01:03
Setup Podman on Chrome OS Flex and Crostini

Actual versions for this guide:

  • Operating System: Debian GNU/Linux 12 (bookworm)
  • Kernel: Linux 6.1.64-09049-g010fe86d9eae
  • Architecture: x86-64
  • Podman: v1.7.1

Installation

1. Install Podman:

sudo apt install podman
@jbwhit
jbwhit / example-ruff-formatting.ipynb
Last active April 23, 2025 06:40
Steps to use `ruff` in JupyterLab with the `jupyterlab_code_formatter` plugin.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tejasraman
tejasraman / chromeos-win-qemu-guide.md
Last active February 17, 2025 15:27
Install ChromeOS in QEMU (Windows)

Installing ChromeOS Flex (hardware accelerated) on QEMU for Windows

A word of warning. This will be slow and buggy. Do not attempt to use this as a daily driver.

Requirements:

  • Windows 10 or 11 (x64)

Download Files:

  • Download QEMU
  • Download ChromeOS Flex (remember to download the file; do NOT use Chromebook Recovery Utility)
XRES=1366
YRES=768
RAM=8G
qemu-system-x86_64 \
-drive format=raw,file=chromeos_15437.42.0_reven_recovery_stable-channel_mp-v2.bin \
-enable-kvm \
-m $RAM \
-machine q35,accel=kvm,dump-guest-core=off,vmport=off \
-cpu host \
-smp cores=8 \
@nanxstats
nanxstats / mlmodern-otf-woff2.sh
Last active February 9, 2025 21:28
Convert MLModern from Type 1 format to OTF and WOFF2
brew install fontforge
brew install woff2
curl -L http://mirrors.ctan.org/fonts/mlmodern.zip > mlmodern.zip
unzip mlmodern.zip
cd mlmodern/type1/
fontforge -lang=ff -c 'Open($1); Generate($1:r + ".otf")' mlmr12.pfb
@satmandu
satmandu / chromeos_docker45
Last active March 4, 2025 19:36
Docker buildx based package builder for Chromebrew on x86_64, i686, & armv7l, generating containier scripts at https://gist.github.com/satmandu/d8365cb70b899901a05290d31c04909a
#!/bin/bash
# chromeos_docker.sh
# Usage:
# REPOSITORY=YOUR_DOCKER_HUB_REPOSITORY_NAME chromeos_docker.sh recovery_file_url container_name chromeos_milestone arch
# or if image.bin already exists this works too:
# chromeos_docker.sh dummy name milestone arch
# (Default is not to delete the image after download.)
# e.g.
# Example for x86_64:
# chromeos_docker.sh https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_13816.82.0_nocturne_recovery_stable-channel_mp.bin.zip nocturne 90 x86_64
@bollwyvl
bollwyvl / nbconvert-in-jupyterlite.ipynb
Last active July 28, 2023 17:21
nbconvert in jupyterlite
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mkg20001
mkg20001 / README.md
Last active December 20, 2024 19:16
Download Chrome OS Flex on Linux

chrome-os-flex-downloader

You're on linux, the Chrome OS Recovery Utility isn't supported, but you'd still want to try Chrome OS Flex? Worry no more!

(NOTE: I'm aware of Googles offical Linux script, but that one is "in maintaince mode" and also doesn't have flex)

usage

Install the following packages: jq, curl, wget, unzip (most, if not all, should be preinstalled)

@kbridge
kbridge / rluaguide.md
Created November 12, 2021 15:09
A list of tutorials and references so you can learn Roblox Lua

Roblox Scripting Guide

Written by Greenman#0001

The Roblox Wiki is one of the best ways to learn how to script but unfortunately, all of the tutorials on there have been scrambled due to the redesign so this guide is just sorting out the tutorials again so you can read them in the correct order. This guide should cover everything you need to become competent or at least confident with Roblox Lua.

Disclaimer

This will not guarantee that you will learn Lua quickly or even at all. It's your responsibility to use the resources here effectively by taking your time, taking notes, practicing, etc. This list will be updated as I find articles on important concepts that I overlooked so make sure you check back frequently.

@mahdyar
mahdyar / cPanel.yml
Created September 8, 2021 20:56
Deploy to cPanel with GitHub Actions (FTP)
name: Deploy to cPanel
on:
push:
branches:
- master
jobs:
FTP-Deploy-Action:
name: FTP-Deploy-Action
runs-on: ubuntu-latest
steps: