Skip to content

Instantly share code, notes, and snippets.

View pbrilius's full-sized avatar
🏠
Working from home

Povilas Brilius pbrilius

🏠
Working from home
View GitHub Profile
@pbrilius
pbrilius / da-fit!.php
Last active March 22, 2025 17:31
Blaivininkas
<?php
global $FORMAT;
global $DISTRO_FLAG;
$FORMAT = 'bz2';
$DISTRO_FLAG = '!';
$clipFormat = 'mkv';
$designPattern = '';
@pbrilius
pbrilius / hacker.sh
Last active March 4, 2025 18:20
Hakeris
#!/usr/bin/env sh
sudo apt install -y mpv
sudo aptitude install openssh-client clamtk uuid nmap mysql-client-core-8.0
sudo aptitude remove -y gedit
sudo aptitude install nmap
@pbrilius
pbrilius / college.sh
Last active April 24, 2025 05:49
College!
#!/usr/bin/env sh
cd;
mkdir -v $HOME/.streetz; cd ~/.streetz
touch e-star.txt
echo "https://youtu.be/Z31z1Euz9b4?si=2EZyUdkOQRSR3bxv tArsiIlyEp2q" > ./e-star.txt
cd
mkdir -v ~/.botz
cd $HOME/.botz
@pbrilius
pbrilius / app-images.inc.env.sh
Created January 11, 2025 13:34
K2 burnelė alkoholio Užuovėjoje
#!/usr/bin/env sh
export PATH="$PATH:$HOME/.apps"
@pbrilius
pbrilius / ide.sh
Last active January 11, 2025 14:23
Velnio tuzinas - le Luftwaffe!
#!/usr/bin/env sh
mkdir -vp $HOME/.local/bin
# PTTY exec MS-DOS tinklo MBR e-machines rupa/z
touch $HOME/.local/bin/z.sh
# ZSH_CUSTOM lokacija AD ad-hoc
mkdir -pv $HOME/.local/env.d/scrib.d/x-path.d
touch $HOME/.local/env.d/proxy.env.sh
cd; ln -sv /etc/environment.d/proxy.env.sh .proxy.env.inc.sh
@pbrilius
pbrilius / mysql-build.sh
Last active January 4, 2025 20:14
Oracle boot camp
#!/usr/bin/env sh
sudo apt-get build-dep default-mysql-server
sudo snap install --classic cmake
sudo apt install -y "libncurses*" libncurses-dev
mkdir -v build
cd build
cmake -DCMAKE_PREFIX_PATH=/opt/lamp/mysql -DCMAKE_BUILD_TYPE=Release ".."
@pbrilius
pbrilius / php-build.sh
Last active January 4, 2025 20:38
LAMP konstitucinis sostinė prospektas
#!/usr/bin/env sh
sudo apt install -y sqlite3 libsqlite3-dev ~
sudo apt-get build-dep php-cli
sudo apt build-dep libapache2-mod-php
./configure --with-pear --with-apxs2=$(which apxs) --disable-phpdbg --disable-cgi --prefix=/opt/lamp/php --without-sqlite3
--with-mysqli --with-pdo-mysql --with-openssl
@pbrilius
pbrilius / proxy.env.sh
Last active January 11, 2025 11:43
Ubuntu OS
#!/usr/bin/env sh
PC="."
alias brexit="clear && exit;"
ZSH_THEME="typewritten/typewritten"
@pbrilius
pbrilius / ad-hoc.env.college.inc.sh
Last active January 6, 2025 15:41
Typing les skills!
#!/usr/bin/env sh
source $HOME/"$PC"antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle command-not-found
@pbrilius
pbrilius / ĮV.sh
Created September 23, 2024 15:03
Starship lxml
#!/usr/bin/env sh
# PB
. $HOME/.local/bin/z.sh
eval "$(starship init bash)"
starship preset jetpack -o ~/.config/starship.toml
LAMP="/opt/lamp"
PATH="$PATH:$LAMP/bin:$HOME/.config/composer/vendor/bin"