Skip to content

Instantly share code, notes, and snippets.

@shanky061
shanky061 / WinRE.md
Last active January 8, 2025 21:12
Create WinRE USB manually

#Create WinRE USB manually from windows files

This is a Gist to creating a bootable Recovery Drive - USB disk that boots right into Windows Recovery Environment.

You just have to format the USB disk in FAT32, make it active. And copy files in following hierarchy.

###WinRE Files

  • boot/
    • fonts/
@duzun
duzun / enableSelect-bookmarklet.html
Last active November 16, 2025 17:04
Enable Right Click and Text Selection Bookmarklet
<a class="btn btn-default btn-info bookmarklet" href="javascript:(function(d){var a=d.document,h=function(){},c=a.body||a.getElementsByTagName("body")[0],f=a.documentElement||a.getElementsByTagName("html")[0],k=[c,f,a],l=["webkit","khtml","moz","ms",""],g=["contextmenu","selectstart","select","mousedown","mouseup"],b=d.Selection,e=b&&b.prototype;e&&(e.removeAllRanges=h,b=a.selection)&&(b.clear=h);for(e=k.length;e--;)if(f=k[e]){for(b=g.length;b--;)f["on"+g[b]]=null;if(a=f.style)for(a.cursor="",a.webkitTouchCallout="initial",b=l.length;b--;)a[((c=l[b])?"-"+c+"-":c)+"user-select"]="initial"}(c=d.jQuery||d.Zepto)&&c(d).off(g)})(this);">
Enable Select
</a>