Skip to content

Instantly share code, notes, and snippets.

View eymeen's full-sized avatar
🇸🇾

Ayman Eid eymeen

🇸🇾
View GitHub Profile
@eymeen
eymeen / diskpart.md
Created October 19, 2025 22:49
format an external/internal hard drive using PS on windows. (Diskpart)

to open diskpart:

PS> diskpart
list disk

it will give you something like this

@eymeen
eymeen / fill-available.MD
Created September 20, 2024 12:34
adding width fill-available to tailwindCSS

add these to taiwind.config.js > theme > extend :

width: {
  'fill': 'fill-available',
  'webkit-fill': '-webkit-fill-available',
  'moz-fill': '-moz-available',
},
height: {
  'fill': 'fill-available',
 'webkit-fill': '-webkit-fill-available',
@eymeen
eymeen / upload_helper.MD
Last active September 19, 2024 22:11
How to manage file upload in a laravel project
@eymeen
eymeen / ROOT_PHP_aaPANEL.MD
Created September 12, 2024 12:29
How to give root permissoin to a PHP project on aaPanel
  1. go to app store -> search for php
  2. open configs of the PHP version you are using
  3. stop the FPM service (PHPManager > service > Stop)
  4. go to FPM Profile
  5. match these lines
listen.owner = root
listen.group = root
user = root
group = root
@eymeen
eymeen / make_share_button.MD
Created September 11, 2024 14:06
How to make share button in a website

the navigator.share function allows you to fire the share action. Like this:

navigator.share({
  title: 'Title',
  text: 'Text',
  url: 'https://www.example.com' // required
})
@eymeen
eymeen / backdooring_Laravel.MD
Last active September 7, 2024 18:23
Assassinate a Laravel Project

Caution

Disclaimer: The code and information presented here are for educational purposes only. Do not use or deploy this technique in real-world systems, services, or environments without proper authorization. Unauthorized use or exploitation of security vulnerabilities is illegal and against GitHub’s terms of service. Always adhere to ethical hacking standards.

did you read the Disclaimer? you did? you still want use this for fraud? go f*ck yourself 😡

If you'll use it for good, welcome ☺️

@eymeen
eymeen / SSL-types.MD
Last active September 3, 2024 13:44
Convert SSL certificates types

OpenSSL Commands to Convert SSL Certificates on Your Machine

It is highly recommended that you convert to and from .pfx files on your own machine using OpenSSL so you can keep the private key there. Use the following OpenSSL commands to convert SSL certificate to different formats on your own machine:

OpenSSL Convert PEM

Convert PEM to DER

openssl x509 -outform der -in certificate.pem -out certificate.der

Convert PEM to P7B

@eymeen
eymeen / SSL-vhost.MD
Last active March 28, 2026 14:01
Creating SSL Virtual Host (local domain) using xampp. PHP, Laravel, Symfony, Yii

Tailwind CSS Container Padding Adjustment

This Gist provides custom CSS to add Y-axis padding around Tailwind CSS container breakpoints. The padding is applied dynamically, with padding added or removed before and after each breakpoint.

Variables

Define CSS variables for padding and breakpoints:

:root {
// wrong
const object = null
const array = null
const string = null
const number = null
// best-practice
const object = {}
const array = []
const string = ''