Skip to content

Instantly share code, notes, and snippets.

View hamdymohamedak's full-sized avatar
🏠
Working from home

Hamdy Mohamed Askander hamdymohamedak

🏠
Working from home
View GitHub Profile
@hamdymohamedak
hamdymohamedak / GoogleDorking.md
Created November 10, 2025 18:54 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@hamdymohamedak
hamdymohamedak / package.json
Created November 6, 2025 18:35
React Native Package Json for Clean bundle Cache (ios & android)
"scripts": {
"clean:android": "cd android && ./gradlew clean && cd ..",
"clean:ios": "cd ios && rm -rf build && xcodebuild clean && rm -rf ~/Library/Developer/Xcode/DerivedData && pod deintegrate && pod install && cd .."
}
@hamdymohamedak
hamdymohamedak / TopCommitters.md
Last active October 3, 2025 22:07
Conventional Commits - Simple Guide

Conventional Commits - Simple Guide

A simple guide to writing clear and structured Git commit messages using Conventional Commits.


1️⃣ Basic Format

(): 
@hamdymohamedak
hamdymohamedak / reactNative.sh
Created September 23, 2025 21:56
This command cleans the React Native project by removing old build files and the node_modules folder, then reinstalls all dependencies. After that, it regenerates the Android codegen artifacts used by TurboModules and Fabric. It helps fix build errors, dependency conflicts, and issues with native modules by starting from a clean state.
rm -rf node_modules android/app/build android/build android/.cxx android/app/.cxx && npm install --legacy-peer-deps && cd android && ./gradlew generateCodegenArtifactsFromSchema
@hamdymohamedak
hamdymohamedak / restart.bat
Created January 15, 2025 09:30
restart windows command
shutdown /r /f /t 0
@hamdymohamedak
hamdymohamedak / windows-username.bat
Created January 15, 2025 04:55
this file can change the windows username from CMD replace "NEW NAME "with your name , the file run as adminstrator by default
@echo off
:: Check if the script is running as Administrator
openfiles >nul 2>&1
if %errorlevel% neq 0 (
echo This script must be run as Administrator.
echo Restarting the script as Administrator...
powershell -Command "Start-Process cmd -ArgumentList '/c, \"%~f0\"' -Verb runAs"
exit /b
)
@hamdymohamedak
hamdymohamedak / main.rs
Last active January 15, 2025 02:30
remove cmd processing when app run at windows
#![windows_subsystem = "windows"]
@hamdymohamedak
hamdymohamedak / auto_run.bat
Last active January 11, 2025 05:09
Applications in that path are automatically launched when the Windows is turned on
cd %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
@hamdymohamedak
hamdymohamedak / Country.html
Created January 10, 2025 03:55
Html Drop list have all countries
<label for="country">Country</label><span style="color: red !important; display: inline; float: none;">*</span>
<select id="country" name="country" class="form-control">
<option value="Afghanistan">Afghanistan</option>
<option value="Åland Islands">Åland Islands</option>
<option value="Albania">Albania</option>
<option value="Algeria">Algeria</option>
<option value="American Samoa">American Samoa</option>
<option value="Andorra">Andorra</option>
<option value="Angola">Angola</option>