# display available drives
Get-PSDrive
# create local driver directory
mkdir c:\drivers
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
| ### bashrc/bash_profile for SunOS 5.10 | |
| # Solaris 10 lacks support for xterm-color (although it is provided in OpenCSW) | |
| if [ "$TERM" == "xterm-color" ]; then | |
| export TERM=xterm | |
| fi | |
| alias ssh='ssh -X' | |
| alias ls='ls -p' | |
| alias md5='digest -a md5 -v' |
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 | |
| Reusable script for staging many device driver packages to the Drivers Store. | |
| .DESCRIPTION | |
| Intended Use | |
| This script was produced to stage device drivers for an App-V package. Because device drivers | |
| or drivers in general can't be virtualised, a method is required to stage the drivers to the | |
| operating system, what we call in App-V colloquial terms, outside of the bubble. |
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
| // ==UserScript== | |
| // @name Aliexpress | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://trade.aliexpress.com/orderList.htm* | |
| // @grant unsafeWindow | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_setClipboard |
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
| rem KILL WINDOWS UPDATE REBOOT WITH FIRE!!! | |
| SET mwuo=Microsoft\Windows\UpdateOrchestrator | |
| schtasks /End /TN "\%mwuo%\Reboot" | |
| schtasks /End /TN "\%mwuo%\USO_UxBroker_Display" | |
| schtasks /End /TN "\%mwuo%\USO_UxBroker_ReadyToReboot" | |
| schtasks /Change /TN "\%mwuo%\Reboot" /DISABLE | |
| schtasks /Change /TN "\%mwuo%\USO_UxBroker_Display" /DISABLE | |
| schtasks /Change /TN "\%mwuo%\USO_UxBroker_ReadyToReboot" /DISABLE | |
| icacls "%WINDIR%\System32\Tasks\%mwuo%\Reboot" /deny "*S-1-1-0:F" | |
| icacls "%WINDIR%\System32\Tasks\%mwuo%\USO_UxBroker_Display" /deny "*S-1-1-0: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
| ForegroundColour=204,204,204 | |
| BackgroundColour=0,0,0 | |
| CursorColour=242,242,242 | |
| Black=12,12,12 | |
| BoldBlack=118,118,118 | |
| Red=197,15,31 | |
| BoldRed=231,72,86 | |
| Green=19,161,14 | |
| BoldGreen=22,198,12 | |
| Yellow=193,156,0 |
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
| #!/usr/bin/env python3 | |
| # Recursively generate index.html files for | |
| # all subdirectories in a directory tree | |
| ########################################################################## | |
| ## ❗️❗️❗️ WARNING: This version is outdated and unmaintained! | |
| ## For an up-to-date version with cleaner CSS styling see: | |
| ## https://gist.github.com/glowinthedark/625eb4caeca12c5aa52778a3b4b0adb4 | |
| ########################################################################## |
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 Get-ScoopRoot { | |
| $scoopdir = & { | |
| $env:SCOOP, (scoop config 'rootPath'), "$env:USERPROFILE\scoop" | Where-Object { -not [String]::IsNullOrEmpty($_) } | Select-Object -First 1 | |
| } 6>$null | |
| $scoopdir | |
| } | |
| function Get-ScoopPackageVersions { | |
| param ( | |
| [Parameter(Position = 1, Mandatory = $true)] |
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
| // ==UserScript== | |
| // @name Aliexpress_Billy_edit | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://trade.aliexpress.com/orderList.htm* | |
| // @grant unsafeWindow | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_setClipboard |
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
| # ------------------------------------------------------------------------ | |
| # Image-Builder Procedure for OpenWRT - LEDE (In this case using Debian x64 NetInstall virtual machine) | |
| # ------------------------------------------------------------------------ | |
| su | |
| apt-get update # Optional, make and upgrade too in case it has too many old pakackes. | |
| apt-get install make aria2 screen ncftp -y | |
| screen - | |
| cd ~ |
OlderNewer