Skip to content

Instantly share code, notes, and snippets.

View miztizm's full-sized avatar
🎆
high life, high tech

m¡zt¡zm miztizm

🎆
high life, high tech
View GitHub Profile
@miztizm
miztizm / social-media-colors.css
Created December 5, 2025 14:13
Social Media Brand Colors - Complete CSS reference with 25+ platforms, HEX codes, RGB values, and utility classes
/**
* Social Media Brand Colors CSS
*
* Official brand colors for all major social media platforms
* Includes HEX codes, RGB values, and Font Awesome icon classes
*
* Version: 2.0
* Last Updated: December 2025
* Usage: Add class="social-icon social-[platform]" to apply styling
*/
@miztizm
miztizm / backup-php-js.php
Created December 5, 2025 14:08
PHP & JavaScript File Compressor - Creates tar.gz backup of all PHP and JS files
<?php
/**
* PHP & JavaScript File Compressor
*
* Recursively finds and compresses all PHP and JavaScript files
* from the parent directory into a tar.gz archive.
*
* Features:
* - Recursive file discovery
* - Secure error reporting
@miztizm
miztizm / simpleStringify.js
Created December 5, 2025 14:06
SimpleStringify - Object to JSON converter
/**
* SimpleStringify - Convert objects to JSON while filtering out complex types
*
* @param {Object} object - The object to stringify
* @param {Object} options - Configuration options
* @param {Boolean} options.includeNulls - Include null values (default: true)
* @param {Boolean} options.includeUndefined - Include undefined values (default: false)
* @param {Number} options.spaces - Number of spaces for indentation (default: 2)
* @returns {String} Cleaned JSON string representation of the object
*/