# ssh-keyscan -p 8000 -t rsa rostam.cct.lsu.edu 2>/dev/null | awk '{ print $3 }' | base64 -d | md5sum | awk '{ print $1 }' | fold -w2 | paste -sd':' -
71:5a:1d:bb:1f:1e:fa:e6:34:98:3d:48:f5:ce:9d:68
# ssh-keygen -l -E md5 -f <(ssh-keyscan -p 8000 -t rsa rostam.cct.lsu.edu 2>/dev/null)
2048 MD5:71:5a:1d:bb:1f:1e:fa:e6:34:98:3d:48:f5:ce:9d:68 [rostam.cct.lsu.edu]:8000 (RSA)| #### | |
| # SET-INTERNETPROXY | |
| # | |
| # DESCRIPTION | |
| # This function will set the proxy server and (optional) Automatic configuration script. | |
| # | |
| # SYNTAX | |
| # Set-InternetProxy [-Proxy] <string[]> [[-acs] <string[]>] [<CommonParameters>] | |
| # | |
| # EXAMPLES |
| # Source: https://stackoverflow.com/a/43317244 | |
| $path = ".\aws-ec2-key.pem" | |
| # Reset to remove explict permissions | |
| icacls.exe $path /reset | |
| # Give current user explicit read-permission | |
| icacls.exe $path /GRANT:R "$($env:USERNAME):(R)" | |
| # Disable inheritance and remove inherited permissions | |
| icacls.exe $path /inheritance:r |
| #Requires -Version 3 | |
| <# | |
| .SYNOPSIS | |
| <Overview of script> | |
| .DESCRIPTION | |
| <Brief description of script> | |
| .PARAMETER <Parameter_Name> | |
| <Brief description of parameter input required. Repeat this attribute if required> | |
| .INPUTS | |
| <Inputs if any, otherwise state None> |
Replacing Netflix and Amazon keys of the webOS LG TV LG Magic Remote with other apps
This procedure allows substituting one or both Netflix and Amazon keys of the Magic Remote Control Unit with other apps or TV control menus of the webOS LG TV.
Netflix and Amazon keys can be found just over the Red-Green-Yellow-Blue color buttons of such remote.
Assumption for this procedure is that you accept to uninstall the apps related to the keys to be substituted. Example: if you want to replace the Netflix key, you need to uninstall Netflix (possibly, you are not using Netflix if you do not need such key).
To uninstall Netflix or Amazon Prime, press the Home key of the Magic Remote, select the "LG Content Store" app, press "APP" at the top of the screen, press "My Apps", press the "Rem
| sudo apt update && sudo apt upgrade -y | |
| sudo apt install ubuntu-mate-desktop --no-install-recommends -y | |
| sudo apt-get install mate-desktop-environment-extras | |
| sudo dpkg-reconfigure dbus && sudo service dbus restart | |
| # install missing icons | |
| sudo apt install ubuntu-mate-icon-themes | |
| # install fira code font | |
| sudo apt install fonts-firacode |
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| ; #Warn ; Enable warnings to assist with detecting common errors. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| #!Left::Send {Media_Prev} ; Win + Alt + Left | |
| #!Down::Send {Media_Play_Pause} ; Win + Alt + Down | |
| #!Right::Send {Media_Next} ; Win + Alt + Right | |
| #!Up::Send {Volume_Mute} ; Win + Alt + Up | |
| #!PgUp::Send {Volume_Up} ; Win + Alt + PageUp |
| @echo off | |
| pushd "%~dp0" | |
| dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt | |
| for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" | |
| del hyper-v.txt | |
| Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL |
| ProductName;LicensePartNumber;LicenseSKUID | |
| APP CONNECT IW;SPZA_IW;8f0c5670-4e56-4892-b06d-91c085d7004f | |
| Microsoft 365 Audio Conferencing;MCOMEETADV;0c266dff-15dd-4b49-8397-2bb16070ed52 | |
| AZURE ACTIVE DIRECTORY BASIC;AAD_BASIC;2b9c8e7c-319c-43a2-a2a0-48c5c6161de7 | |
| AZURE ACTIVE DIRECTORY PREMIUM P1;AAD_PREMIUM;078d2b04-f1bd-4111-bbd4-b4b1b354cef4 | |
| AZURE ACTIVE DIRECTORY PREMIUM P2;AAD_PREMIUM_P2;84a661c4-e949-4bd2-a560-ed7766fcaf2b | |
| AZURE INFORMATION PROTECTION PLAN 1;RIGHTSMANAGEMENT;c52ea49f-fe5d-4e95-93ba-1de91d380f89 | |
| DYNAMICS 365 CUSTOMER ENGAGEMENT PLAN ENTERPRISE EDITION;DYN365_ENTERPRISE_PLAN1;ea126fc5-a19e-42e2-a731-da9d437bffcf | |
| DYNAMICS 365 FOR CUSTOMER SERVICE ENTERPRISE EDITION;DYN365_ENTERPRISE_CUSTOMER_SERVICE;749742bf-0d37-4158-a120-33567104deeb | |
| DYNAMICS 365 FOR FINANCIALS BUSINESS EDITION;DYN365_FINANCIALS_BUSINESS_SKU;cc13a803-544e-4464-b4e4-6d6169a138fa |
| // Version 2.0.1 | |
| // This script will remove all videos from watch later list | |
| // | |
| // Usage | |
| // | |
| // #1 go to https://www.youtube.com/playlist?list=WL | |
| // #2 run following script in your browser console | |
| (async function() { | |
| const playlistName = document.querySelector('.metadata-wrapper #container #text')?.textContent || document.querySelector('#text')?.textContent |