Skip to content

Instantly share code, notes, and snippets.

View vitali2y's full-sized avatar
🏠
/me @ ~/

Vitaliy Yermolenko vitali2y

🏠
/me @ ~/
  • $HOME @ Ukraine @ Earth
View GitHub Profile
@vitali2y
vitali2y / orange pi rv2 ubuntu 25.04 clean install instructions.md
Created August 3, 2025 20:46 — forked from peterdk/orange pi rv2 ubuntu 25.04 clean install instructions.md
Install clean Ubuntu Server 25.04 from official Ubuntu sources on the OrangePi RV2

Install clean Ubuntu Server 25.04 from official Ubuntu sources on the OrangePi RV2

Introduction

I got a Orange Pi RV2 recently, and it only was supplied with a pre-build Ubuntu Server image from a Chinese website. I did not like that too much. It also used Chinese mirrors, and I prefer to have full control over my install. This guide shows you how to build / install Ubuntu Server 25.04 from the official RISCV Ubuntu install media and the provided kernel sources for the RV2.

Approach

  • Build kernel .deb files (using a Ubuntu 22.04 x86 VM)
  • Install Ubuntu 25.04 RISCV using a RISCV VM and a NVME drive that we will use with the RV2.
  • Install kernel deb files, manage the DTB properly, configure some needed stuff
@vitali2y
vitali2y / ChatGPT Canvas HTML Renderer from Clipboard.url
Created October 7, 2024 14:55 — forked from rmtbb/ChatGPT Canvas HTML Renderer from Clipboard.url
Chrome Bookmarklet the lets you render a full HTML page with any included css and javascript that is currently copied to your clipboard. Also works for SVG code. Useful with ChatGPT Canvas
javascript:(function(){try{navigator.clipboard.readText().then(function(clipboardText){if(clipboardText){var newWindow=window.open("","_blank","width=800,height=600");newWindow.document.open();newWindow.document.write(clipboardText);newWindow.document.close();}else{alert('Clipboard is empty. Please copy some text to the clipboard first.');}}).catch(function(err){console.error('Failed to read clipboard contents: ',err);alert('An error occurred while trying to access the clipboard. Please ensure your browser allows clipboard access.');});}catch(e){console.error('An error occurred:',e);alert('An error occurred while trying to open the new window with the clipboard content.');}})();