Skip to content

Instantly share code, notes, and snippets.

View fluentmoheshwar's full-sized avatar

Moheshwar Amarnath Biswas fluentmoheshwar

View GitHub Profile
@fluentmoheshwar
fluentmoheshwar / pacmanongitbash.sh
Last active January 3, 2023 08:23
Pacman on Git Bash
if [[ "$HOSTTYPE" == "i686" ]]; then
pacman="
pacman-6.0.0-4-i686.pkg.tar.zst
pacman-mirrors-20210703-1-any.pkg.tar.zst
msys2-keyring-1~20210213-2-any.pkg.tar.zst
"
zstd=zstd-1.5.0-1-i686.pkg.tar.xz
else
pacman="
pacman-6.0.1-18-x86_64.pkg.tar.zst
@fluentmoheshwar
fluentmoheshwar / arch.sh
Created April 18, 2023 02:13
hyper-v tools
#!/bin/bash
#
# This script is for Arch Linux to configure XRDP for enhanced session mode
#
# The configuration is adapted from the Ubuntu 16.04 script.
#
if [ "$(id -u)" -ne 0 ]; then
echo 'This script must be run with root privileges' >&2
@fluentmoheshwar
fluentmoheshwar / libreofficeremove.sh
Created June 12, 2023 08:39
Remove LibreOffice from Ubuntu
sudo apt autoremove libreoffice libreoffice-core libreoffice-writer libreoffice-calc libreoffice-base libreoffice-common libreoffice-help-common libreoffice-help-en-us libreoffice-style-breeze libreoffice-style-colibre libreoffice-style-elementary libreoffice-style-yaru
@fluentmoheshwar
fluentmoheshwar / newspaper_list.xml
Last active November 18, 2024 12:36
RSS News Lists
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.1" xmlns:feeder="https://nononsenseapps.com/feeder">
<head>
<title>
Feeder
</title>
</head>
<body>
<outline feeder:notify="false" feeder:imageUrl="https://vanilla.futurecdn.net/techradar/1110705/apple-touch-icon.png" feeder:fullTextByDefault="true" feeder:openArticlesWith="" feeder:alternateId="false" title="TechRadar - All the latest technology news" text="TechRadar - All the latest technology news" type="rss" xmlUrl="http://www.techradar.com/rss"/>
<outline feeder:notify="false" feeder:imageUrl="https://www.aljazeera.com/images/logo_aje.png" feeder:fullTextByDefault="true" feeder:openArticlesWith="" feeder:alternateId="false" title="Al Jazeera" text="Al Jazeera" type="rss" xmlUrl="https://www.aljazeera.com/xml/rss/all.xml"/>
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\SCSI\Disk&Ven_Samsung&Prod_Samsung_970_EVO\5&1ec51bf7&0&000000]
"FriendlyName"="Samsung 970 EVO 512GB"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\SCSI\CdRom&Ven_NECVMWar&Prod_VMware_SATA_CD01\5&260e6d66&0&010000]
"FriendlyName"="Samsung DVD Drive SATA"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\ACPI\VMW0003\4&1bd7f811&0]
"DeviceDesc"="@msmouse.inf,%*pnp0f13.devicedesc%;Apple Mighty Mouse"
# Take-DriveOwnership.ps1
# Script to take ownership of all files on a specified drive for the current user
# IMPORTANT: This script requires administrative privileges to run
param (
[Parameter(Mandatory=$true)]
[string]$DriveLetter
)
# Validate drive letter format