Skip to content

Instantly share code, notes, and snippets.

View b23prodtm's full-sized avatar
💙
Migrating from X.com (ex-Twitter) to bSky.app (Bluesky)

TiB Rkt Arimana b23prodtm

💙
Migrating from X.com (ex-Twitter) to bSky.app (Bluesky)
View GitHub Profile
@b23prodtm
b23prodtm / samba_setup_zenity.sh
Last active August 4, 2026 07:15
Script Bash avec interface Zenity pour configurer Samba sur openSUSE Tumbleweed. Inclut sauvegarde automatique, vérification testparm, et restauration.
#!/bin/bash
# =============================================
# Samba Share Setup Toolkit - Version Finale
# Auteur(e) : Tina B Rakotoarimanana
# Licence : MIT (https://opensource.org/licenses/MIT)
#
# ✅ 100% opérationnel sur openSUSE Tumbleweed/Leap
# ✅ Sans bug "local en dehors de fonction"
# =============================================
@b23prodtm
b23prodtm / ConvertGDO2Webtel.html
Created May 30, 2026 15:54
Transfert commandes GDO vers Webtel Station Chargeur Online
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>GDO ➜ Webtel Converter Ultimate</title>
<style>
:root { --webtel-blue: #0056b3; --webtel-gray: #f0f2f5; --webtel-border: #dcdfe3; --success: #28a745; }
body { font-family: 'Segoe UI', Arial, sans-serif; background-color: var(--webtel-gray); padding: 20px; margin: 0; }
.container { max-width: 1200px; margin: 20px auto; background: #fff; padding: 25px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); position: relative; }
.header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--webtel-blue); margin-bottom: 20px; padding-bottom: 10px; }
@wolfiediscord
wolfiediscord / FAQ.MD
Last active August 16, 2026 14:15
A guide of how to install unsupported macOS versions on unsupported macs. An FAQ is listed at the end as well.
@b23prodtm
b23prodtm / createWindows10USBinstallerOnMac.sh
Last active October 4, 2025 21:29
Creating a Windows 10 USB Installer using macOS in 2020 - How to Make a Windows 10 USB Using Your Mac - Build a Bootable ISO From Your Mac's Terminal
#!/usr/bin/env bash
set -u
WIN_VOLUME=
DRIVE_NAME=
echo "
_.-;;-._
'-..-'| || |
'-..-'|_.-;;-._|
'-..-'| || |
jgs '-..-'|_.-''-._|"
@tstellanova
tstellanova / install-docker-arm64.sh
Last active June 10, 2026 06:01
Install docker CE for arm64
#!/bin/bash
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
@dansuh17
dansuh17 / unsubmodule.md
Created May 29, 2018 06:10 — forked from ryaninvents/unsubmodule.md
Convert git submodule to regular directory

From Stack Overflow.

# Fetch the submodule commits into the main repository
git remote add submodule_origin git://url/to/submodule/origin
git fetch submodule_origin

# Start a fake merge (won't change any files, won't commit anything)
git merge -s ours --no-commit submodule_origin/master
@SpekkoRice
SpekkoRice / checkPHPVersion
Last active July 21, 2020 07:40
Bash: Check the version of PHP
#!/bin/bash
# Function to check if the PHP version is valid
checkPHPVersion() {
# The current PHP Version of the machine
PHPVersion=$(php -v|grep --only-matching --perl-regexp "5\.\\d+\.\\d+");
# Truncate the string abit so we can do a binary comparison
currentVersion=${PHPVersion::0-2};
# The version to validate against
minimumRequiredVersion=$1;
@kimus
kimus / ufw.md
Created March 2, 2014 22:46
NAT and FORWARD with Ubuntu’s ufw firewall

UFW

I use Ubuntu’s Uncomplicated firewall because it is available on Ubuntu and it's very simple.

Install UFW

if ufw is not installed by default be sure to install it first.

@leonelquinteros
leonelquinteros / Mysql.php
Created July 17, 2013 00:19
Improved MySQL datasource for CakePHP. Includes support for missing (and needed) field types like LONGTEXT and MEDIUMTEXT
<?php
/**
* MySQL layer for DBO
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
@Mins
Mins / mysql_secure.sh
Last active August 29, 2026 11:25
Automating mysql_secure_installation
#!/bin/bash
aptitude -y install expect
// Not required in actual script
MYSQL_ROOT_PASSWORD=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 10