Skip to content

Instantly share code, notes, and snippets.

@joske
joske / yoga7x-speakers.md
Last active November 7, 2024 20:07
Speakers on Yoga Slim 7x

Speakers on Yoga Slim 7x

DISCLAIMER: I'm not responsible for broken speakers! Use this at your own risk. It works on my system but that doesn't mean it will work on yours!

TPLG

# SPDX-License-Identifier: BSD-3-Clause
# Copyright, Linaro Ltd, 2023
include(`audioreach/audioreach.m4')
include(`audioreach/stream-subgraph.m4')
include(`audioreach/device-subgraph.m4')
include(`util/route.m4')
include(`util/mixer.m4')
include(`audioreach/tokens.m4')
#
# Stream SubGraph for MultiMedia Playback
@joske
joske / arch-yoga.md
Last active November 5, 2024 11:54
Arch Linux Arm on Lenovo Yoga Slim 7x (X elite)

Arch

This is the method I used to install Arch on the yoga slim 7x. This is from memory so I may have forgotten things

prerequisites

  • disable bitlocker in windows
  • resize the windows partition
  • disable secure boot in BIOS

installation

@joske
joske / gist:7e08248a8d15a21851a546d09c67e41f
Last active December 7, 2023 10:37
create random block
use crate::locators::{
test_helpers::{sample_block_locators, sample_block_locators_with_fork},
CHECKPOINT_INTERVAL, NUM_RECENT_BLOCKS,
};
use snarkos_node_bft_ledger_service::{MockLedgerService, TranslucentLedgerService};
use snarkvm::{
console::{
account::{PrivateKey, ViewKey},
network::AleoID,
program::{Entry, Identifier, Literal, Plaintext, Zero},
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/core"
brew "bash"
brew "bash-completion@2"
brew "bottom"
brew "btop"
brew "cloc"
brew "docker"