Skip to content

Instantly share code, notes, and snippets.

View thekosmix's full-sized avatar
💭
Jekylling

Siddharth Kumar thekosmix

💭
Jekylling
View GitHub Profile
@thekosmix
thekosmix / UT_Install_ReadMe.md
Last active June 16, 2025 17:25
How to install Ubuntu Touch in Lenovo Tab M10 HD (2nd Gen) - X306X (Wi-Fi+LTE)

If your device is X306F (Wi-Fi Only), follow the standard process on UT's website: https://devices.ubuntu-touch.io/device/amar-row-wifi/

Steps for Installing UT in Lenovo Tab M10 HD (2nd Gen) - X306X (Wi-Fi+LTE) using Linux

  1. Install adb and fastboot version 30.0
  2. Unlock Bootloader and Enable USB debugging
  3. Download the latest firmware of Android 11 and extract the zip.
  4. Boot your device in fastboot mode by holding volume down and power keys together.
  5. Run fastboot devices to confirm if the device is being detected or not.
  6. Open a terminal in unzipped directory and run the following commands
@thekosmix
thekosmix / Code.gs
Last active November 17, 2024 13:50
Retrospective tool using Google Sheets
// Sheet link: tinyurl.com/sid-retro-tool
// Below code is to be pasted in AppScript Editor
UPVOTE_COLUMN = [2,7,12]
DOWNVOTE_COLUMN = [3,8,13]
function onSelectionChange(evt) {
const activeSheet = SpreadsheetApp.getActiveSheet();
const selectionRange = evt.range;
const userSelectedARange = selectionRange.getNumRows() > 1 || selectionRange.getNumColumns() > 1;