Skip to content

Instantly share code, notes, and snippets.

View md-shah's full-sized avatar
🌀
Trying to make developers life easier 👨‍💻

Muhammed Shah md-shah

🌀
Trying to make developers life easier 👨‍💻
View GitHub Profile
@md-shah
md-shah / degree.json
Last active June 19, 2021 15:52
This might help if you want to add 'degree' details to your application.
{
"5": "Middle School Diploma",
"10": "High School Diploma",
"100": "Associate's degree",
"104": "Associate of Arts and Sciences - AAS",
"112": "Associate of Science - AS",
"116": "Associate of Arts - AA",
"150": "Foundation degree",
"160": "Higher National Diploma",
"200": "Bachelor's degree",
@md-shah
md-shah / industries.json
Created July 4, 2021 05:19
Indsutries scrapped from linkedIn
[
"Accounting",
"Airlines Aviation",
"Alternative Dispute Resolution",
"Alternative Medicine",
"Animation",
"Apparel & Fashion",
"Architecture & Planning",
"Arts & Crafts",
"Automotive",
interface Order {
order_id: string;
}
// ✅ Good
// Extending the payment service without modifying existing code (Open-Closed Principle)
abstract class PaymentGateway {
abstract processPayment(order: Order): void;
}
@md-shah
md-shah / usb3-fix.bat
Created September 1, 2024 06:38
Fastboot devices not detecting in windows 11/10 when connecting to USB 3.0+ port. Run this as administrator. (All credit goes to this thread owner - https://xdaforums.com/t/help-press-any-key-to-shutdown-in-fastboot.3816021/post-82532385)
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f