Skip to content

Instantly share code, notes, and snippets.

Avatar
🖨️
git pull upstream master

Wan Muhammad Azims AzimsTech

🖨️
git pull upstream master
View GitHub Profile
@AzimsTech
AzimsTech / xiaomi.eu-redmi-4a.md
Last active Sep 19, 2020
Xiaomi.EU Firmwares for Redmi 4A (rolex) | The last version of every releases
View xiaomi.eu-redmi-4a.md
@AzimsTech
AzimsTech / AdGuard-DNS-Server.sh
Last active Sep 26, 2020
Set AdGuard DNS Server ipv4 (Android)
View AdGuard-DNS-Server.sh
#!/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 / gist:c468b873e406ad512f51244014e3612c
Last active Aug 4, 2020
Remove shit except Store, Calculator, ScreenSketch, Photos, Music & Videos
View gist:c468b873e406ad512f51244014e3612c
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
View PowerShell_Commands.md

Disable ipv6 on all Network Adapters

Disable-NetAdapterBinding -Name * -ComponentID ms_tcpip6 -PassThru

@AzimsTech
AzimsTech / Set-KnownFolderPath.ps1
Created Jan 5, 2020
Sets a known folder's path using SHSetKnownFolderPath.
View Set-KnownFolderPath.ps1
<#
.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 / Set-QuickAccessShortcut.ps1
Last active Jan 14, 2020
Pin Quick Access shortcuts
View Set-QuickAccessShortcut.ps1
<#
.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-GoogleDns.ps1
Last active Jan 14, 2020
Set DNS with PowerShell
View Set-GoogleDns.ps1
<#
.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 / vpn-hotspot.sh
Last active Oct 8, 2019 — forked from ShapeShifter499/vpn-hotspot.sh
VPN over Hotspot on Android
View vpn-hotspot.sh
#!/system/bin/sh
# Use Script Runner 2 Link: https://play.google.com/store/apps/details?id=com.ajay.ssr2&hl=en_US
# This script should help forward VPN over any tethered connection on a Android device.
# Turn on tethering, then enable VPN, then run this script.
# Inital variable setup
tethering=0
# Setup iptables before forwarding VPN
You can’t perform that action at this time.