snipt

Ctrl+h for KB shortcuts

Text only

WriteProtect usb

1
2
3
4
REG QUERY HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies /s
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies /v WriteProtect /t REG_DWORD /d 1
REG DELETE HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies /f 
https://snipt.net/embed/a1763542e65c3e39ca0272887b802e1f/
/raw/a1763542e65c3e39ca0272887b802e1f/
a1763542e65c3e39ca0272887b802e1f
text
Text only
4
2019-06-25T12:53:14
True
False
False
/api/public/snipt/27900/
writeprotect-usb
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>REG QUERY HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies /s </span><span id="L-2"><a name="L-2"></a>REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies </span><span id="L-3"><a name="L-3"></a>REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies /v WriteProtect /t REG_DWORD /d 1 </span><span id="L-4"><a name="L-4"></a>REG DELETE HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies /f </span></pre></div> </td></tr></table>
usb, writeprotect, writeprotectusb

Text only

xmonad set wallpaper

xloadimage -onroot -fullscreen <path.to.image>
https://snipt.net/embed/986334b56750f8dce1a912555ee15fd8/
/raw/986334b56750f8dce1a912555ee15fd8/
986334b56750f8dce1a912555ee15fd8
text
Text only
2
2019-06-25T12:53:24
True
False
False
/api/public/snipt/25593/
xmonad-set-wallpaper
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>xloadimage -onroot -fullscreen &lt;path.to.image&gt; </span></pre></div> </td></tr></table>
wallpaper, xmonad