Skip to content

Instantly share code, notes, and snippets.

View Parables's full-sized avatar
💭
Contributing to Open Source projects... #GivingBack2éCommunity

Parables Boltnoel Parables

💭
Contributing to Open Source projects... #GivingBack2éCommunity
  • Ghana
View GitHub Profile
@Parables
Parables / pvm.md
Created July 16, 2022 09:16
php version manager

Source: andrej 2021-02-26 13:38:56

  1. Have a directory for the user for shell scripts:
mkdir ~/bin
@Parables
Parables / multiple_ssh_setting.md
Created November 29, 2022 15:49 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@Parables
Parables / example.ts
Created December 21, 2022 17:22 — forked from nunof07/example.ts
TypeScript final and frozen class decorators
import { final } from './final.ts';
import { frozen } from './frozen.ts';
@final
@frozen
export class Example {
}
export class ExampleSub extends Example {
}
@Parables
Parables / README.md
Created October 27, 2024 17:19 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@Parables
Parables / geonames_import.sh
Last active January 28, 2025 17:09
Import allCountries.zip/txt from Geonames.org into PostgresDB using pg_bulkload
#!/bin/bash
# Configuration
DOWNLOAD_URL="https://download.geonames.org/export/dump/allCountries.zip"
DEFAULT_DOWNLOAD_DIR="$HOME/.geonames"
DB_NAME="${GEONAMES_DB:-central_db}"
TABLE_NAME="${GEONAMES_TB:-geonames}"
# Error handling function
error_exit() {
@Parables
Parables / typeahead-field.blade.php
Created July 3, 2025 01:07
Laravel Blade Typeahaed/Combobox with Pure JS - Zero dependencies
@props([
'name',
'options' => [],
'label' => null,
'required' => null,
'nativeRequired' => false,
'width' => 'w-full',
'inputClass' => '',
'selected' => null,
'placeholder' => 'Select an option...',
@Parables
Parables / README.md
Created November 30, 2025 07:07
Automated Postgres backups

🛡️ PostgreSQL Backup System v2.0

Enterprise-grade, configuration-driven PostgreSQL backup and disaster recovery system

✨ Features

  • 🔐 Zero Hardcoded Credentials - All configuration via files
  • 📁 Flexible Configuration - Config file OR environment variables
  • 🔒 AES-256 Encryption - GPG encrypted backups
  • ☁️ Multi-Provider S3 - Backblaze, Tebi, Hetzner, AWS, Custom