Skip to content

Instantly share code, notes, and snippets.

View WganMe's full-sized avatar

WAEL GHAZI AHMED ALNAHARI WganMe

View GitHub Profile
@WganMe
WganMe / dev
Created November 8, 2025 21:02
dev
composer require --dev barryvdh/laravel-ide-helper fakerphp/faker friendsofphp/php-cs-fixer laravel/pint mockery/mockery nunomaduro/collision pestphp/pest phpmd/phpmd phpmetrics/phpmetrics phpstan/phpstan phpunit/phpunit spatie/laravel-ray squizlabs/php_codesniffer
@WganMe
WganMe / Google
Last active November 7, 2025 05:59
Google
Question 1 of 16
29722722
A school wants assistance configuring the school's Google Admin console and associating the Chrome devices to the correct organizational units. What Chrome device enrollment option should be recommended?
✅ Google's Chrome Partner services.
Question 2 of 16
@WganMe
WganMe / composer.json
Created October 12, 2025 17:39
composer.json
{
"name": "bcdr/a",
"id": "bcdr/a",
"namespace": "Bcdr\\A\\",
"provider": "Bcdr\\A\\Providers\\AServiceProvider",
"description": "bcdr/a",
"type": "package",
"keywords": [
"bcdr",
"bcdr/a"
@WganMe
WganMe / 00-hide-server.conf
Created July 15, 2025 12:48
00-hide-server.conf
# High Priority Server Header Security
ServerTokens Prod
ServerSignature Off
<IfModule mod_headers.c>
# Multiple methods to ensure server header is hidden
Header always unset Server
Header onsuccess unset Server
Header unset Server
Header always set Server "WebServer"
@WganMe
WganMe / modsec2.user.conf
Created July 15, 2025 12:48
modsec2.user.conf
SecServerSignature Off
@WganMe
WganMe / instantclient
Created July 13, 2025 15:44
instantclient
yum install -y https://download.oracle.com/otn_software/linux/instantclient/2112000/el9/oracle-instantclient-basic-21.12.0.0.0-1.el9.x86_64.rpm https://download.oracle.com/otn_software/linux/instantclient/2112000/el9/oracle-instantclient-sqlplus-21.12.0.0.0-1.el9.x86_64.rpm https://download.oracle.com/otn_software/linux/instantclient/2112000/el9/oracle-instantclient-tools-21.12.0.0.0-1.el9.x86_64.rpm https://download.oracle.com/otn_software/linux/instantclient/2112000/el9/oracle-instantclient-devel-21.12.0.0.0-1.el9.x86_64.rpm https://download.oracle.com/otn_software/linux/instantclient/2112000/el9/oracle-instantclient-jdbc-21.12.0.0.0-1.el9.x86_64.rpm https://download.oracle.com/otn_software/linux/instantclient/2112000/el9/oracle-instantclient-odbc-21.12.0.0.0-1.el9.x86_64.rpm
@WganMe
WganMe / Partition
Created July 2, 2025 05:25
Partition
AlmaLinux 9 Partition Scheme - MiB Units
Here's your partition table converted to MiB units:
Complete Partition Table in MiB
Order File System Mount Point LVM Name RAID Partition Size Space Used
1 ext4 /boot - 1 3,072 MiB 12,288 MiB
2 xfs / 10 668,467 MiB 1,336,934 MiB
3 xfs /var 10 153,600 MiB 307,200 MiB
4 xfs /var/log 10 64,000 MiB 128,000 MiB
5 xfs /var/log/audit 10 38,400 MiB 76,800 MiB
@WganMe
WganMe / start_ollama_rtx2060s.ps1
Last active April 12, 2025 11:45
start_ollama_rtx2060s.ps1
# PowerShell script for Ollama with CUDA support for RTX 2060 SUPER
# Add status window
Add-Type -AssemblyName System.Windows.Forms
$statusForm = New-Object System.Windows.Forms.Form
$statusForm.Text = "Ollama Status - RTX 2060 SUPER"
$statusForm.Size = New-Object System.Drawing.Size(500,300)
$statusForm.StartPosition = "CenterScreen"
$statusBox = New-Object System.Windows.Forms.TextBox
$statusBox.Multiline = $true
@WganMe
WganMe / VT Virtualization technology enabled but not detected
Created January 25, 2025 02:39
VT Virtualization technology enabled but not detected
bcdedit /set hypervisorlaunchtype off
@WganMe
WganMe / notepad++
Created January 4, 2025 15:53
notepad++
*.* !+\node_modules !+\vendor !+\.git