Skip to content

Instantly share code, notes, and snippets.

View azhe403's full-sized avatar
😐
On Error Resume Next

Azhe Kun azhe403

😐
On Error Resume Next
View GitHub Profile
@azhe403
azhe403 / Restore the GRUB Bootloader.md
Created December 9, 2019 18:56 — forked from dianjuar/Restore the GRUB Bootloader.md
Restore the GRUB Bootloader on Manjaro Linux. Usefull when your fresh windows install eats your grub and can not boot into your linux installation, or for some how your grub is missing

Restore the GRUB Bootloader on Manjaro

  1. Chroot into your linux instalation
    1. The easiest way is with mhwd-chroot
      1. Install it yaourt -S mhwd-chroot
      2. Run it sudo mhwd-chroot
      3. DONE, you have chrooted into your linux installation (open a root console of your installed linux OS, is like just open a console with root access)
  2. Restore your GRUB
    1. Install a new GRUB bootloader with grub-install /dev/sda
  3. Recheck to ensure the that installation has completed without any errors grub-install --recheck /dev/sda
@azhe403
azhe403 / location.cs
Last active July 17, 2022 23:12
Windows Get Location
private async void Button_Click(object sender, RoutedEventArgs e)
{
    var locator = new Windows.Devices.Geolocation.Geolocator();
    var location = await locator.GetGeopositionAsync();
    var position = location.Coordinate.Point.Position;
    var latlong = string.Format("lat:{0}, long:{1}", position.Latitude, position.Longitude);
    var result = MessageBox.Show(latlong);
}
@azhe403
azhe403 / Sublime Text Licence Key Build 3156
Created March 24, 2018 04:31 — forked from whour/Sublime Text Licence Key Build 3156
Sublime Text Dev Build 3156 Serial Key
----- BEGIN LICENSE -----
eldon
Single User License
EA7E-1122628
C0360740 20724B8A 30420C09 6D7E046F
3F5D5FBB 17EF95DA 2BA7BB27 CCB14947
27A316BE 8BCF4BC0 252FB8FF FD97DF71
B11A1DA9 F7119CA0 31984BB9 7D71700C
2C728BF8 B952E5F5 B941FF64 6D7979DA
B8EB32F8 8D415F8E F16FE657 A35381CC
@azhe403
azhe403 / ESD Windows 10 All Language (OS Build 16299.64)
Last active October 14, 2023 11:22
ESD Windows 10 All Language (OS Build 16299.64)
📢ESD -> Windows 10, Version 1709, Refresh November 2017, #Redstone_3 aka #FallCreatorsUpdate or #FCU are now available via WSUS/WU!
📌what is it Refresh? #RTM Refresh #FCU build 16299.15.rs3_release.170928-1534 + #CumulativeUpdate #KB4048955 = OS Refresh RTM-GDR Build 10.0.16299.64.rs3_release_svc.171024-1647
📌URL source-> https://download.microsoft.com/download/1/8/4/1842B01F-2F6F-481C-A86F-0B62E14B259E/ProductsRS311202017.xml
📌DownLoad ESD decrypt-multi-release (v171022): https://rg-adguard.net/dl-decrypt
by @rgadguard/WZT/Azhe403
http://fg.ds.b1.download.windowsupdate.com/d/Upgr/2017/11/16299.0.171109-1522.rs3_release_svc_refresh_clientconsumer_ret_x64fre_ar-sa_5fb06ecc3bb7015893799db672e64f05909de114.esd
http://fg.ds.b1.download.windowsupdate.com/d/Upgr/2017/11/16299.0.171109-1522.rs3_release_svc_refresh_clientconsumer_ret_x86fre_ar-sa_85d00eda8b717d0fff5f5332919f3853c82056bd.esd
@azhe403
azhe403 / kmskeys10.txt
Created November 25, 2017 16:49 — forked from CHEF-KOCH/kmskeys10.txt
Windows 10 KMS Keys
Windows.10.and.Office.2016.gVLK
#####################################################################
# Install/Uninstall keys #
#####################################################################
1.) Uninstall the current product by entering the “uninstall product key” extension:
slmgr.vbs /upk
2.) Install the key that you obtained above for “Windows Srv 2012R2 DataCtr/Std KMS for Windows 10”
@azhe403
azhe403 / sublimetext3.key
Created November 24, 2017 02:20
SublimeText 3.0 Build 3143 Key
SublimeText 3.0 Build 3143
—– BEGIN LICENSE —–
TwitterInc
200 User License
EA7E-890007
1D77F72E 390CDD93 4DCBA022 FAF60790
61AA12C0 A37081C5 D0316412 4584D136
94D7F7D4 95BC8C1C 527DA828 560BB037
D1EDDD8C AE7B379F 50C9D69D B35179EF
2FE898C4 8E4277A8 555CE714 E1FB0E43