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
@lopspower
lopspower / README.md
Last active October 9, 2026 17:11
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.

All hex value from 100% to 0% alpha:

@Rich-Harris
Rich-Harris / what-is-svelte.md
Last active October 5, 2026 02:37
The truth about Svelte

I've been deceiving you all. I had you believe that Svelte was a UI framework — unlike React and Vue etc, because it shifts work out of the client and into the compiler, but a framework nonetheless.

But that's not exactly accurate. In my defense, I didn't realise it myself until very recently. But with Svelte 3 around the corner, it's time to come clean about what Svelte really is.

Svelte is a language.

Specifically, Svelte is an attempt to answer a question that many people have asked, and a few have answered: what would it look like if we had a language for describing reactive user interfaces?

A few projects that have answered this question:

@bgauduch
bgauduch / 0 - Multiple git identities on one machine.md
Last active September 9, 2026 16:19
Multiple git identities on one machine: config per folder and per provider (personal vs work). Every command verified.

Multiple git identities on one machine

One machine, several git identities (personal vs work, GitHub vs GitLab, two accounts on one provider). Each repository picks its own name, email and credentials. In a hurry: Appendix B, once per rule.

A wrong identity does not fail: git commits and pushes under the wrong author. Part 1 ends with the check that catches it.

Requirements

Feature Minimum git
@cstroe
cstroe / OpenSourceCRM.rst
Last active August 3, 2026 06:25
A distilled list of open-source CRM software
@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
@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 / 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() {
@piranna
piranna / mouse.js
Last active December 3, 2024 12:36 — forked from bfncs/mouse.js
/**
* Read Linux mouse(s) in node.js
* Author: Marc Loehe (marcloehe@gmail.com)
*
* Adapted from Tim Caswell's nice solution to read a linux joystick
* http://nodebits.org/linux-joystick
* https://github.com/nodebits/linux-joystick
*/
var fs = require('fs'),
@Parables
Parables / .vscode--extensions.json
Last active October 15, 2024 14:35
VS Code Laravel Recommended Extensions
{
"recommendations": [
"aaron-bond.better-comments",
"adpyke.codesnap",
"adrianwilczynski.alpine-js-intellisense",
"ahinkle.laravel-model-snippets",
"ahmadawais.shades-of-purple",
"aibnuhibban.laravel-smart-command",
"alefragnani.project-manager",
"amiralizadeh9480.laravel-extra-intellisense",
@mfurlend
mfurlend / composer.json
Last active September 11, 2024 13:35
composer require git repository
{
"name": "my_vendor_name/my_package",
"description": "My Package Description",
"license": "GPL-3.0",
"autoload": {
"classmap": [ // search these directories for classes
"lib/"
]
},
"repositories": {