Skip to content

Instantly share code, notes, and snippets.

View rasa's full-sized avatar

Ross Smith II rasa

View GitHub Profile
@rasa
rasa / expand.sh
Created March 14, 2024 17:11
Expand lvm to use entire disk
#!/usr/bin/env bash
# Per https://networklessons.com/uncategorized/extend-lvm-partition :
lvextend -l +100%FREE /dev/vgkubuntu/root
e2fsck -y /dev/vgkubuntu/root
resize2fs /dev/vgkubuntu/root
@rasa
rasa / reinstall-grub.sh
Last active March 15, 2024 01:50
Reinstall grub menu with UEFI, lvm, and separate boot partition
#!/use/bin/env bash
# burn Ubuntu Live CD nearest to the installed system
# undock, connect network cable, Live CD, and boot off it
# sudo -i
set -e
apt update
apt install lvm2 # this is already installed in Ubuntu 23.10 Live CD
fdisk -l
lvscan
mount /dev/vg0/lv-0 /mnt
{
"homepage": "http://kitty.9bis.net",
"license": "MIT",
"version": "0.71.0.5",
"url": [
"https://github.com/cyd01/KiTTY/releases/download/v0.71.0.5/genpass.exe",
"https://github.com/cyd01/KiTTY/releases/download/v0.71.0.5/kittygen.exe",
"https://github.com/cyd01/KiTTY/releases/download/v0.71.0.5/kageant.exe",
"https://github.com/cyd01/KiTTY/releases/download/v0.71.0.5/kitty.exe",
"https://github.com/cyd01/KiTTY/releases/download/v0.71.0.5/klink.exe",
13673f67164c1d0431ffdb8da93c97e64e18f0458eb7d30ebd52ee18f72ef94e genpass.exe
4cbe17fd75ec628d7f0ce3b530b227b24878d9ccd971fa13835028bd9bf4b84d kageant.exe
ed54f0f696a2e89f7166e5406e5494fb9ae1f77f41f4312c8156b22b69863342 kitty.exe
b0ca1406693c061c76c06580c08fcc58ff985b8cefbe4d68df8394548f1fc3a2 klink.exe
c4bdcfcd25de2ba522d8e492dc0212e586e552963361833e9f2c3bbd2b088e7f kscp.exe
1ac80fe575467d02ea195076e2390d5e728fbfd0ca663492c8b51e0469cd0300 ksftp.exe

Code of Conduct

Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

@rasa
rasa / README-Template.md
Last active December 3, 2018 16:06 — forked from PurpleBooth/README-Template.md
A template to make good README.md

rasa/go-template

One paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@echo off
@echo This file does nothing but provide scoop a URL to download, as the URL parameter is currently required.
@echo See https://github.com/lukesampson/scoop/blob/master/schema.json#L468
{
"version": "1.0",
"url": "https://gist.githubusercontent.com/rasa/76456d5d4e71676f21883f3bcc7a9e01/raw/noop.cmd",
"depends": [
"extras/eclipse-sdk",
"maven",
"java/oraclejdk"
]
}
@echo off