Skip to content

Instantly share code, notes, and snippets.

View yxqsnz's full-sized avatar
:shipit:
I *try* to fix bugs

yxqsnz

:shipit:
I *try* to fix bugs
  • Brazil
View GitHub Profile
#!/bin/bash
set -e
[ -z "$1" ] && (echo "$0: tell me a file." && exit 1)
base=${HOME}/.local/share/appimage
appimage=$(realpath $1)
hash=($(md5sum $appimage))
appimage_root="$base/$hash"
#!/bin/python3
from sqlite3 import Cursor, connect
from sys import argv
from os import path, walk
from magic import Magic
from pyzstd import compress_stream
from io import BytesIO
magic = Magic()
#!/usr/bin/env bash
__build_base_pkgbuild() {
# <NAME> <DESC>
echo "pkgname=\"${1}\"
pkgver=\"0.1.0\"
license=('MIT')
pkgrel=1
pkgdesc=\"${2}\"
source=()
arch=('ALL')
#/usr/bin/env bash
function cleanup() {
tput cnorm
}
trap cleanup EXIT
printf "\e[35m שּ | \e[32mAyo!\e[0m\n"
tput civis
printf "\e[35m  | Please wait [ ]\e[0m\r"

Keybase proof

I hereby claim:

  • I am yxqsnz on github.
  • I am yxqsnz (https://keybase.io/yxqsnz) on keybase.
  • I have a public key ASCxPW6hCR08MC5k9YAXXCK4t2hKKgFwk_xYOrx8PtzRlgo

To claim this, I am signing this object:

@yxqsnz
yxqsnz / install_tools.sh
Created May 3, 2021 12:11
Script that installs tools and languages that I use.
#! /bin/bash
declare -a to_install=(
'base-devel'
'fontconfig'
'imagemagick'
'git'
'vim'
'openssl'
'ncurses'
'ctags'