Skip to content

Instantly share code, notes, and snippets.

View paulcarroty's full-sized avatar

Pavlo Rudy paulcarroty

View GitHub Profile
alias h='pacmd unload-module module-null-sink && pacmd set-sink-port 1 output-wired_headset'
alias s='pacmd set-sink-port 1 output-speaker'
@paulcarroty
paulcarroty / Main.qml
Last active December 31, 2024 15:14
Main.qml
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
@paulcarroty
paulcarroty / fastotp.md
Last active April 7, 2025 10:57
Fastotp compilation guide for Ubuntu 24 (https://gitlab.com/fastotp1/fastotp)
  • setup rustup nightly: rustup default nightly
  • git clone https://gitlab.com/fastotp1/fastotp.git && rm fastotp/rust-toolchain.toml
  • cd fastotp/application_iced; cargo fetch & cargo vendor && mv vendor ../
  • add the next to fastotp/.cargo/config.toml:
[source.crates-io]
replace-with = "vendored-sources"

[source."git+https://github.com/hecrj/cosmic-text.git?rev=c3cd24dc972bb8fd55d016c81ac9fa637e0a4ada"]
git = "https://github.com/hecrj/cosmic-text.git"