- Unpack lenovo BIOS update utility
- Copy Shellflash.efi to /boot/Flash/ShellFlash.efi
- Boot computer into uefi shell
fs0:
cd Flash
ShellFlash.efi /patch /logo logofile.gif
fs0:
cd Flash
ShellFlash.efi /patch /logo logofile.gif
With its latest reales qemu added the Venus patches so that virtio-gpu now support venus encapsulation for vulkan. This is one more piece to the puzzle towards full Vulkan support.
An outdated blog post on clollabora described in 2021 how to enable 3D acceleration of Vulkan applications in QEMU through the Venus experimental Vulkan driver for VirtIO-GPU with a local development environment. Following up on the outdated write up, this is how its done today.
Let's start with the brief description of the projects mentioned in the post & extend them:
Updated guide – no root required
| /* Protonmail cleanup scripts | |
| * Works with ProtonMail v4.0.14 as of 2022-01-23 | |
| * | |
| * Based on Lyndsy's Protonmail mass archiver: | |
| * https://gist.github.com/lyndsysimon/e6a4a1becaddf09fe02c503793b545d6 | |
| * | |
| * Usage: | |
| * - Navigate to your inbox (or another folder/label, presumably) | |
| * - Open your browser's developer tools' Javascript console | |
| * - Paste in this script |
| /* | |
| minimod: A stripped down module system | |
| TODO Comparison: | |
| - [ ] Come up with a benchmark "logic" using plain old functions and let bindings | |
| - [ ] Write the benchmark for the module system | |
| - [ ] Write the benchmark for POP? | |
| - [ ] Qualitative comparison of extensibility in the context of composable | |
| Nixpkgs packaging logic | |
| TODO Fine-tuning: |
| #!/usr/bin/env bash | |
| # shellcheck disable=SC2034 | |
| COMMIT_MSG_FILE=$1 # file which contains the commmit message | |
| # shellcheck disable=SC2034 | |
| COMMIT_SOURCE=$2 # eg commit | |
| # shellcheck disable=SC2034 | |
| SHA1=$3 # eg head | |
| perl -i -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" |
| #!/bin/bash | |
| set -eu | |
| usage() { | |
| cat >&2 <<'EOF' | |
| usage: ./difflog $out1 $out2 | |
| Compare two Nix build logs, normalizing out boring differences. | |
| This can be useful to test the effect of a change to build scripts, |
Guide by anna328p/alienpirate5.
This is meant as a companion for the official Arch install guide: https://wiki.archlinux.org/index.php/Installation_guide
This document is a guide for installing Arch Linux from the live system booted with the official installation image.
This document will walk you through the Arch Linux installation process based on the Arch Wiki installation guide. You will need to refer to the wiki for links; this guide just explains the steps in more detail. Keep in mind that this
| { config, pkgs, lib, ... }: { | |
| imports = [ | |
| (import <nixpkgs/nixos/modules/system/etc/etc.nix>) | |
| ]; | |
| options.system.build.etc = lib.mkOption { type = lib.types.package; }; | |
| options.system.activationScripts.etc = | |
| lib.mkOption { type = lib.types.unspecified; }; | |
| config = { |
| use std::str; | |
| fn main() { | |
| // -- FROM: vec of chars -- | |
| let src1: Vec<char> = vec!['j','{','"','i','m','m','y','"','}']; | |
| // to String | |
| let string1: String = src1.iter().collect::<String>(); | |
| // to str | |
| let str1: &str = &src1.iter().collect::<String>(); | |
| // to vec of byte |