This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm"> | |
<name>atlasOS_win10</name> | |
<uuid>d2bb2761-0c26-4782-9450-dc51b75a3359</uuid> | |
<metadata> | |
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
<libosinfo:os id="http://microsoft.com/win/10"/> | |
</libosinfo:libosinfo> | |
</metadata> | |
<memory unit="KiB">8388608</memory> | |
<currentMemory unit="KiB">8388608</currentMemory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: I manually package the Zen browser for myself. | |
# | |
# HACK: This does, however, mean that I will need to manually | |
# tweak the `version` and `hash` here if I wish to update it. | |
# This produces the package (derivation): | |
(let version = "1.0.0-a.37"; in pkgs.appimageTools.wrapType2 { | |
inherit version; | |
name = "zen"; # NOTE: This will be the name of the executable in $PATH. | |
src = pkgs.fetchurl { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use eyre::{Context, ContextCompat, Report}; | |
use id3::{Content, Tag, TagLike}; | |
use image::ImageReader; | |
use std::{env, io::Cursor}; | |
fn main() -> Result<(), Report> { | |
color_eyre::install()?; | |
get_cover_art(env::args().nth(1).unwrap().as_str())?; | |
Ok(()) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use color_eyre::eyre::Report; | |
fn main() -> Result<(), Report> { | |
color_eyre::install()?; | |
install_tracing()?; | |
let int = 512; | |
let string = "sample"; | |
tracing::info!(?int, ?string, "Sample log message"); |