Skip to content

Instantly share code, notes, and snippets.

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

Hassan Sabbahi hassoon1986

🏠
Working from home
View GitHub Profile
@hassoon1986
hassoon1986 / embedded-file-viewer.md
Created August 27, 2021 01:19 — forked from wheelcomplex/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links

@hassoon1986
hassoon1986 / gist:5b2c30b4be8da71f3ec484d234787bb1
Created April 23, 2021 11:04 — forked from donsony/gist:e85d588a5d2335e57ecd8f7fe231ab31
# javascript:void(0) Link Alternative for Wordpress
function infuse_replace_hash($menu_item) {
if (strpos($menu_item, 'href="#"') !== false) {
$menu_item = str_replace('href="#"', 'href="javascript:void(0);"', $menu_item);
}
return $menu_item;
}
add_filter('walker_nav_menu_start_el', 'infuse_replace_hash', 999);
@hassoon1986
hassoon1986 / .. MediaCreationTool.bat .md
Created March 8, 2021 18:04 — forked from AveYo/.. MediaCreationTool.bat ..md
Universal MediaCreationTool wrapper for all MCT Windows 10 versions from 1507 to 20H2 with business (Enterprise) edition support

Preview1 Preview2

2018.10.10: reinstated 1809 [RS5]! using native xml patching for products.xml; fixed syntax bug with exit/b
2018.10.12: added data loss warning for RS5
2018.11.13: RS5 is officially back! + greatly improved choices dialog - feel free to use the small snippet in your own scripts
2019.05.22: 1903 [19H1]
2019.07.11: 1903 __release_svc_refresh__ and enable DynamicUpdate by default to grab latest CU
2019.09.29: UPDATED 19H1 build 18362.356 ; RS5 build 17763.379 and show build number
@hassoon1986
hassoon1986 / windows10activation
Created February 27, 2021 00:12
Activate Windows 10 without Any Activator
1. Open CMD as Administrator
2. Paste the following commands into the Cmd: One by one, follow the order.
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE"
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type.
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
#include <windows.h>
#include <stdio.h>
HANDLE hStdin;
DWORD fdwSaveOldMode;
VOID ErrorExit(LPSTR);
VOID KeyEventProc(KEY_EVENT_RECORD);
VOID MouseEventProc(MOUSE_EVENT_RECORD);
VOID ResizeEventProc(WINDOW_BUFFER_SIZE_RECORD);
@hassoon1986
hassoon1986 / YEPO_737A.md
Created June 25, 2020 05:29 — forked from clopez/YEPO_737A.md
Linux On Yepo 737A

Yepo 737A + Linux

  • Boot Menu F2 or Del

  • Boot Device Menu F7

  • WARNING: Dont change the OS from Windows to "Intel Linux" on the BIOS. Doing that causes the screen to not startup at BIOS time making impossible to enter into it again (requires to drain the battery and press power button several times to reset the settings)

Observation of functional distributions:

  • Debian 10
@hassoon1986
hassoon1986 / errorcodes.m
Created March 21, 2020 13:03 — forked from samirahmed/errorcodes.m
NSURLErrorDomain codes
kCFURLErrorUnknown = -998,
kCFURLErrorCancelled = -999,
kCFURLErrorBadURL = -1000,
kCFURLErrorTimedOut = -1001,
kCFURLErrorUnsupportedURL = -1002,
kCFURLErrorCannotFindHost = -1003,
kCFURLErrorCannotConnectToHost = -1004,
kCFURLErrorNetworkConnectionLost = -1005,
kCFURLErrorDNSLookupFailed = -1006,
kCFURLErrorHTTPTooManyRedirects = -1007,
1f8b 0800 0000 0000 0400 ec7c 055c 54db
da3e dddd 8ac0 d0dd dddd 292d 3dc0 d0cc
c0cc 8048 4848 0822 2020 25a0 200d 82b4
5282 94b4 a484 9292 2282 4809 e27f 06f5
1c4f 5ecf f77d e7de ffbd bf3b fe58 7bef
d5eb 7dd6 7ade f75d 6b6f 5150 5150 503e
237e c82b f247 8086 088c 54fd e050 0898
4f19 0276 7275 f681 02e1 ae88 2715 a8ab
2f08 0ae3 0198 2242 4484 ac20 9f00 f21f
0f40 d9c7 03ee 0305 c982 413e 7028 d083
@hassoon1986
hassoon1986 / Roms para nds gratis.md
Created January 23, 2020 21:19 — forked from anonymous/Roms para nds gratis.md
Roms para nds gratis

File: Download Roms para nds gratisnintendo 3ds roms nds4ios roms nds emulator for android pokemon ds rom hacks best nds games nds roms pokemon black 2 nds rom top nds roms free download   Roms Isos PSX, PS1, PS2, PSP, Arcade, NDS, 3DS, Wii, Gamecube, Snes, Mega drive, Nintendo 64, GBA, Dreamcast download via torrent. Top 100 Nintendo dsROMs @ Dope Roms . com. nintendo ds. 2. Assasin's Creed Altair's Chronicles.zip · nintendo ds. 3. Ben 10 - Protector of Earth.zip Download section for Nintendo DS (NDS) ROMs of Rom Hustler. Browse ROMs by download count and ratings. 100% Fast Downloads! Now listing roms for nintendo ds. Showing 50 roms at index 0 of 516 @ Dope Roms . com. Download Nintendo DS ROMs. Step 1 » NDS ROM Recommendations:. To browse NDS ROMs, scroll up and choose a l