Skip to content

Instantly share code, notes, and snippets.

View alx-xlx's full-sized avatar
🍑
Peach

alx-xlx alx-xlx

🍑
Peach
View GitHub Profile
@alx-xlx
alx-xlx / Microsoft Office 2021 Professional Plus - (Clean Download & Activation).md
Last active April 5, 2023 07:11
Microsoft Office 2021 Professional Plus - (Clean Download & Activation)

Download

Office 2021 Professional Plus : ProPlus2021Retail.img [Official Microsoft]

Activate

cd /d %ProgramFiles%/Microsoft Office/Office16
cd /d %ProgramFiles(x86)%/Microsoft Office/Office16
## Install Packages
pkg upgrade -y
pkg install python -y
pkg install libxml2 libxslt -y
pkg install -y python ndk-sysroot clang make libjpeg-turbo -y
pkg install clang -y
## Install Libraries
pip install cython
pip install lxml
@alx-xlx
alx-xlx / Free Blynk Server
Last active March 20, 2022 18:09
Blynk Server
Here is a list of Blynk Servers that you can use for testing
## ---------- Server Details -----------
Blynk Server : blynkserver.learngence.org
Forum : openiot.learngence.org
Port (App) : 9443
Port (nodeMCU) : 8080
Status : Alive
Energy : 1000000
Email : al****xtemp@gmail.com
@alx-xlx
alx-xlx / app.py
Created August 9, 2021 07:23
test python
import uiautomator2 as u2
def main():
u = u2.connect('0.0.0.0')
print(u.info)
u.app_start('com.android.chrome')
if __name__ == '__main__':
main()
@alx-xlx
alx-xlx / uiautomator2-termux-setup.sh
Last active May 19, 2022 11:04
uiautomator2-termux-setup
pkg upgrade -y
pkg install git -y
pkg install python -y
pip install cython
pkg install libxml2 libxslt -y
pkg install -y python ndk-sysroot clang make libjpeg-turbo -y
pkg install clang -y
pip install lxml
pip install --pre uiautomator2
@alx-xlx
alx-xlx / office.bat
Last active February 5, 2023 08:08
Microsoft Office 2016 Activation Script
@echo off
title Activate Microsoft Office 2016 ALL versions for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Microsoft Office Standard 2016&echo - Microsoft Office Professional Plus 2016&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&ech
@alx-xlx
alx-xlx / linux_on_windows_server.md
Last active February 25, 2020 23:33
Install Linux on Windows Server (WSL) Windows Subsystem for Linux

Install Linux on Windows Server (WSL) Windows Subsystem for Linux

On you Windows Server

1. Open PowerShell as Administrator and run:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

2. Restart your computer when prompted. This reboot is required.

3. Open Command Prompt and download Linux Distro

(in this case we download ubuntu 16.04)

@alx-xlx
alx-xlx / download_progress_bar.py
Last active February 18, 2020 22:21
Progress bar for Python Downloads
import os, sys, tqdm, requests
URL = "https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_700KB.mp3"
r = requests.get(URL, stream=True)
# tqdm Progress Bar Magic
total_size = int(r.headers.get('content-length',0))
block_size = 1024
t=tqdm(total=total_size, unit='iB', unit_scale=True)
@alx-xlx
alx-xlx / README-Template.md
Created January 22, 2020 18:17
Beautify Your Readme.md file

GitHub commit activity GitHub last commit GitHub Pipenv locked Python version GitHub repo size