Skip to content

Instantly share code, notes, and snippets.

@kobataiwan
kobataiwan / install-cursor-ubuntu.md
Created March 4, 2025 12:35 — forked from tenneseecox/install-cursor-ubuntu.md
Step-by-Step Beginner Guide To Easily Install Cursor On Ubuntu Bash

Step 1: Save the Script From Below

First, you need to save this script to a file on your Ubuntu system:

  • Open a text editor like nano or gedit: nano install_cursor.sh
  • Copy and paste the script below
  • Save the file and exit the editor (in nano: Ctrl+O, Enter, then Ctrl+X)

Step 2: Make the Script Executable

@kobataiwan
kobataiwan / harvester_clout_init.md
Created February 10, 2025 16:19 — forked from clemenko/harvester_clout_init.md
A cloud_init example for Harvester and Rocky/Ubuntu
@kobataiwan
kobataiwan / system-sleep-xhci.sh
Last active August 26, 2024 07:08 — forked from timrs2998/system-sleep-xhci.sh
Disable broken xhci device before suspend and avoid freeze.
#!/bin/sh
#
# This script should prevent the following suspend errors
# which freezes the Dell Inspiron laptop.
#
# Put it in /usr/lib/systemd/system-sleep/xhci.sh
#
# The PCI 00:14.0 device is the usb xhci controller.
#
# kernel: [67445.560610] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16