Skip to content

Instantly share code, notes, and snippets.

View ken-ty's full-sized avatar

kenty (ケンティー) ken-ty

View GitHub Profile
@ken-ty
ken-ty / install_cursor_to_ubuntu2404.sh
Created June 6, 2025 04:40 — forked from ka2kama/install_cursor_to_ubuntu2404.sh
Install the latest Cursor to Ubuntu 24.04
#!/bin/bash
set -euo pipefail
# Step 1: Declare installation paths and variables
CURSOR_DIR="$HOME/Applications/cursor"
APPIMAGE_DIR="$CURSOR_DIR/images"
EXTRACTED_DIR="$CURSOR_DIR/squashfs-root"
BIN_PATH="$EXTRACTED_DIR/cursor"
DESKTOP_DIR="$HOME/.local/share/applications"
@ken-ty
ken-ty / markdown-details-collapsible.md
Created May 16, 2023 22:38 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

How to add a collapsible section in markdown.

Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@ken-ty
ken-ty / Upload an image to Gist.md
Created May 20, 2020 04:38
Gistにウエブで画像をアップロードする方法

Gistにウエブで画像をアップロードする方法

  1. Gistにファイルを作る
  2. コメント欄が出来るので、コメント欄にPCから画像をドラッグする。
  3. コードがコメント欄に出るので、それをコピーする。
  4. ファイルにコードを貼り付ける。
  5. 右下のアップデートボタンを押す