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 / e-star.md
Last active February 16, 2026 12:59
Ditto!

E

✨ DITTO! PROTOTYPE.IN ECOSYSTEM - CONFIRMED & LOCKED ✨

╔══════════════════════════════════════════════════════════╗
║                                                          ║
║              🎯 PROTOTYPE.IN ECOSYSTEM 🎯                ║
║                                                          ║
║                  ✅ PATVIRTINTA ✅                       ║
@pbrilius
pbrilius / freelancer.md
Last active February 15, 2026 13:26
Prototype In!

Freelancer

composer require prototype.in/{
  mvc,                          # 1. MVC Framework
  adr,                          # 2. Action-Domain-Responder
  mvvm,                         # 3. Model-View-ViewModel
  hybrid-container,             # 4. Multi-Strategy DI Container
  urn-router,                   # 5. URN-Based Routing
  paradigmas,                   # 6. Hypermedia API (HAL/JSON-LD)
@pbrilius
pbrilius / ajax-loader.sh
Last active January 3, 2026 09:24
se-linux LAMP full-stack!
sudo groupadd -g www-data
sudo usermod -aG $USER www-data
$VHOSTS="/var/www/vhosts"
sudo mkdir -v $VHOSTS
sudo chown -Rv :www-data $VHOSTS
sudo chmod -Rv 2775 $VHOSTS
@pbrilius
pbrilius / stem.json
Last active July 17, 2025 19:53
Zed IDE settings hint plėtiniams su Hisense part-time MTF le loom!
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"icon_theme": "Light Charmed Icons",
@pbrilius
pbrilius / jumper.sh
Last active March 2, 2025 11:20
OSS tree lokalus džemperis Ubuntu OS flavour basis
#!/usr/bin/env sh
# PB ERASMUS - povilas-ThinkPad-E565
sudo apt install -y htop neofetch httpie \
clamav xclip gufw \
nala bat aptitude apt-file \
git git-flow \
libreoffice \
gimp epiphany-browser \
@pbrilius
pbrilius / LEMP.md
Last active July 17, 2025 19:26
WAMP basis XP on streetz

LEMP

Analitinis deskriptyvas, iliustruojantis AD feasibility SaaS e-paskolose virtual KVM class foo {}; ir class bar {} extends foo {}.

  1. SoundCloud
  1. Spotify
@Bnux256
Bnux256 / Crostini.md
Last active August 19, 2025 12:00
Chromebook Crostini Python Development Setup

Chromebook Crostini Python Development Setup

Updating the Debian container

sudo apt update
sudo apt dist-upgrade

Installing Nano

sudo apt install nano

Installing Python

sudo apt-get install python3 python3-dev python3-pip\

@enzinier
enzinier / install_font_adobe_source_code_pro.sh
Created March 4, 2017 03:38
Install font Adobe Source Code Pro on Ubuntu 16.04 LTS
#!/bin/sh
# Userland mode (~$USER/), (~/).
# ~/.fonts is now deprecated and that
#FONT_HOME=~/.fonts
# ~/.local/share/fonts should be used instead
FONT_HOME=~/.local/share/fonts
echo "installing fonts at $PWD to $FONT_HOME"
mkdir -p "$FONT_HOME/adobe-fonts/source-code-pro"
@Jeff-Russ
Jeff-Russ / Array Objects in PHP.md
Last active July 8, 2024 08:05
PHP: ArrayObject, IteratorAggregate , ArrayAccess , Serializable , Countable

Array Objects in PHP

Array are not object in PHP but PHP does give us some ways to make object that act like arrays. First, there is the ArrayObject class which is pretty close to what you have with a normal array (you can iterate it, use [] etc.) If you use it as a parent for your class you can add methods to it.

class ArrObj extends ArrayObject{
	// add methods here