Skip to content

Instantly share code, notes, and snippets.

View simbafs's full-sized avatar

SimbaFs simbafs

View GitHub Profile
@simbafs
simbafs / scrcpy.sh
Last active June 14, 2021 07:11
scrcpy.sh
#!/bin/bash
# credit: simba-fs
#
# color
BLUE='\033[1;34m'
NC='\033[0m' # No Color
wireless=0
ip=192.168.43.1
@simbafs
simbafs / .tmux.conf
Last active August 17, 2021 08:15
tmux configure file
# example: /usr/share/doc/tmux/examples/
# {{{ screen-keys.conf
# $Id: screen-keys.conf,v 1.7 2010/07/31 11:39:13 nicm Exp $
#
# By Nicholas Marriott. Public domain.
#
# This configuration file binds many of the common GNU screen key bindings to
# appropriate tmux key bindings. Note that for some key bindings there is no
# tmux analogue and also that this set omits binding some commands available in
# tmux but not in screen.
@simbafs
simbafs / ipfs.sh
Last active August 30, 2022 09:04
#!/bin/bash
# author: simbafs
# date: 2022-08-30
# MIT License
IPFS="${IPFS:-$(which ipfs)}"
KEY="${KEY:-q8s}"
# this line will be changed by the script
PKEY="${PKEY:-"k51qzi5uqu5dg9y6e55vjfb583rdoshtko6qizgk7nde9ybm9gyor5ujpfb9m2"}"
DIR="${DIR:-.}"
@simbafs
simbafs / install.sh
Created May 16, 2024 17:00
Build and Install Aseprite Without Paying (For Linux Only)
#!/bin/bash
# author: SimbaFs
# reference: https://github.com/aseprite/aseprite/blob/3ea0437e1dd92b939ff103e5e775397f345cfa52/INSTALL.md
# Define variables
SKIA_DIR="$HOME/deps/skia"
NINJA_URL="https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip"
SKIA_URL="https://github.com/aseprite/skia/releases/download/m102-861e4743af/Skia-Linux-Release-x64-libc++.zip"
ASEPRITE_REPO="https://github.com/aseprite/aseprite.git"