This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| This script can bypass User Access Control (UAC) via fodhelper.exe | |
| It creates a new registry structure in: "HKCU:\Software\Classes\ms-settings\" to perform UAC bypass and starts | |
| an elevated command prompt. | |
| .NOTES | |
| Function : FodhelperUACBypass | |
| File Name : FodhelperUACBypass.ps1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Source https://stackoverflow.com/a/51436631 | |
| Source https://stackoverflow.com/a/51436631 | |
| TL;DR | |
| Create a git alias "sweep" that accepts an optional -f flag: | |
| ``` | |
| git config --global alias.sweep '!git branch --merged $([[ $1 != "-f" ]] \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * It better skips the Ads than you block the Ads | |
| * Always respect for the creator's content | |
| */ | |
| console.log("auto skip ads is starting..."); | |
| const intervalSkipAdv = setInterval(skipAdv, 3000); | |
| function skipAdv() { | |
| if (document.location.hostname != "www.youtube.com") { | |
| stopSkipAdv(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Clock</title> | |
| <script type="text/javascript"> | |
| <!-- | |
| window.onload = function() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SET autocommit=0; | |
| SET unique_checks=0; | |
| SET foreign_key_checks=0; | |
| -- Your SQL -- | |
| COMMIT; | |
| SET unique_checks=1; | |
| SET foreign_key_checks=1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* (320x480) iPhone (Original, 3G, 3GS) */ | |
| @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { | |
| /* insert styles here */ | |
| } | |
| /* (320x480) Smartphone, Portrait */ | |
| @media only screen and (device-width: 320px) and (orientation: portrait) { | |
| /* insert styles here */ | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| if (!Event.prototype.preventDefault) { | |
| Event.prototype.preventDefault=function() { | |
| this.returnValue=false; | |
| }; | |
| } | |
| if (!Event.prototype.stopPropagation) { | |
| Event.prototype.stopPropagation=function() { | |
| this.cancelBubble=true; | |
| }; |