Skip to content

Instantly share code, notes, and snippets.

View A909M's full-sized avatar
:electron:

Assem Hussein Ali Alwaseai A909M

:electron:
View GitHub Profile
@whitingx
whitingx / meta-tags.md
Created October 5, 2012 16:41 — forked from kevinSuttle/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@dsmith73
dsmith73 / brew-wsl.md
Last active July 6, 2026 12:42
install homebrew on wsl

Installing homebrew / Linuxbrew on Ubuntu-18.04 wsl for Windows 10


open wsl command line

type -

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"  
List of all AWS servers
AWS (Amazon Web Services) - this company provides PUBG servers. Not all of them uses in a game, but there is full Server - IP list. Maybe this info can be useful for you:
US EAST - North Virginia
us-east-1 - 23.23.255.255
us-east-1 - 34.192.0.54
us-east-1 - 34.224.0.252
us-east-1 - 50.17.255.254
us-east-1 - 50.19.255.254
us-east-1 - 52.1.255.254
@Waseem-Almoliky
Waseem-Almoliky / Yemeni phone number regex.md
Last active December 7, 2025 14:14
yemeni phone numbers regex

السلام عليكم ورحمة الله وبركاته ، هذا كود ريجيكس للتحقق من صحة أرقام الجوالات اليمنية ، يقوم الريجيكس بالتحقق من مفتاح الدولة ، مفتاح شركات الإتصالات والخطوط الارضية لضمان صحة النص المدخل .

yemeni phone number regex

Hello

this is a regex code to validate yemeni phone number for private companies and ground lines almost everything :) hope you found it useful.

/^(((\+|00)9677|0?7)[01378]\d{7}|((\+|00)967|0)[1-7]\d{6})$/
@sumonst21
sumonst21 / index.html
Created August 30, 2021 00:20
Select Field with Search - AlpineJs + Tailwind
<div class="flex flex-col items-center">
<div class="w-full md:w-1/2 flex flex-col items-center h-64">
<div class="w-full px-4">
<div x-data="selectConfigs()" x-init="fetchOptions()" class="flex flex-col items-center relative">
<div class="w-full">
<div @click.away="close()" class="my-2 p-1 bg-white flex border border-gray-200 rounded">
<input
x-model="filter"
x-transition:leave="transition ease-in duration-100"
x-transition:leave-start="opacity-100"
@theinvensi
theinvensi / pagedjs-repeat-table-header.js
Last active April 20, 2026 12:58
pagedjs-repeat-table-header
class RepeatTableHeadersHandler extends Paged.Handler {
constructor(chunker, polisher, caller) {
super(chunker, polisher, caller)
this.splitTablesRefs = []
}
afterPageLayout(pageElement, page, breakToken, chunker) {
this.chunker = chunker
this.splitTablesRefs = []
@pj8912
pj8912 / private_github_cpanel.md
Created August 27, 2023 13:54
Connect PRIVATE GITHUB repository to CPANEL hosting account

Connect PRIVATE GITHUB repository to CPANEL hosting account

27/08/2023


Cpanel

  • Go to terminal of your cpanel account and type the command below to generate ecdsa key pair
ssh-keygen -t ecdsa -b 251 -c "EMAIL_ADDRESS"
@AskinNet
AskinNet / kitty.md
Created May 10, 2024 07:29 — forked from pnsinha/kitty.md
Kitty CheatSheet

Default shortcuts

Scrolling

Action Shortcut
Scroll line up ctrl+shift+up (also ⌥+⌘+⇞ and ⌘+↑ on macOS)
Scroll line down ctrl+shift+down (also ⌥+⌘+⇟ and ⌘+↓ on macOS)
Scroll page up ctrl+shift+page_up (also ⌘+⇞ on macOS)
Scroll page down ctrl+shift+page_down (also ⌘+⇟ on macOS)
@A909M
A909M / SearchTranslatableField.php
Created October 25, 2024 13:37
This trait provides a search scope for models with JSON fields containing Arabic text, adding support for common Arabic character variations (like 'ه' vs. 'ة') to improve search accuracy. Usage:
<?php
namespace App\Traits;
use Illuminate\Database\Eloquent\Builder;
trait SearchTranslatableField
{
public function scopeSearchByTranslatableField(Builder $query, string $value, string $field = 'name'): Builder
{
@CodeWithDennis
CodeWithDennis / HasActiveIcon.php
Created December 13, 2024 09:22
Solid Navigation Icon - FilamentPHP - Resource
<?php
namespace App\Traits;
trait HasActiveIcon
{
public static function getActiveNavigationIcon(): ?string
{
return str(self::getNavigationIcon())
->replace('heroicon-o-', 'heroicon-s-')