Skip to content

Instantly share code, notes, and snippets.

View tvidal-net's full-sized avatar

Thiago Vidal tvidal-net

View GitHub Profile
@tvidal-net
tvidal-net / PKGBUILD
Last active November 29, 2023 14:22
Chiaki4Deck PKGBUILD
# based on https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=chiaki-git
pkgname=chiaki4deck-git
_gitname=chiaki4deck
pkgver=1.3.0
pkgrel=1
pkgdesc="Unofficial PlayStation 4 remote play client"
arch=(x86_64)
url="https://github.com/streetpea/chiaki4deck"
license=('AGPL3')
depends=('qt5-base' 'qt5-multimedia' 'qt5-svg' 'sdl2' 'opus' 'ffmpeg' 'openssl' 'gcc-libs' 'fftw')
@tvidal-net
tvidal-net / bootstrap.sh
Last active February 7, 2022 13:00
archlinux min install for private use
#!/usr/bin/env bash
set -eo pipefail
# create swap and linux partitions and set bootable flag
sfdisk /dev/vda <<EOF
label: dos
, 1G, swap
,, linux, *
EOF
@tvidal-net
tvidal-net / ls.awk
Last active May 14, 2022 17:02
A simple awk script to add color and file-type emoji to `ls -l`
#!/usr/bin/awk -f
# Usage:
# - create a function like the one below and add it to your .rc file
# lsx () { ls -l --file-type --color=always $* | awk -f /path/to/ls.awk; }
# emoji reference
# https://apps.timwhitlock.info/emoji/tables/unicode
BEGIN {