Skip to content

Instantly share code, notes, and snippets.

@Gavinok
Gavinok / eglot-codelens.el
Created March 12, 2024 22:10
Add support for code lenses in eglot for emacs
;; eglot-codelens.el --- Add support for codelenses to eglot -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
;;; Extending eglot to support lenses
;;;; Findings
;; Lenses often support the option to be used as a code action
;; some servers rely on custom code actions implemented by the client
;; - [[https://github.com/emacs-lsp/lsp-mode/issues/2250]] mentions this
@wonseokjung
wonseokjung / 0_사용법.md
Created October 2, 2026 11:26
AI로만 운영되는 1인 기업 만들기 — 프롬프트 전문 (CONNECT AI LAB · AI 멘토 제이)

AI로만 운영되는 1인 기업 만들기 — 프롬프트 전문 (무료)

영상: 「JEV 같은 AI, 내 컴퓨터에서 0원으로 돌립니다 | AI 1인 기업 만들기 (클로드 vs GPT vs 제미나이)」 만든 사람: AI 멘토 제이 · CONNECT AI LAB (https://www.youtube.com/@CONNECT-AI-LAB)

준비 (운영비 0원)

  1. 올라마 0.35 이상 설치: https://ollama.com/download
  2. 터미널: ollama pull tev1:0.8b
  3. 확인: ollama list 에 tev1:0.8b 가 보이면 성공
#EXTM3U
#EXTINF:-1,Al_Arabiya
http://p4.giffy.be:8080/live/demo/demo/27032.ts
#EXTINF:-1,AL_Emarat
http://p4.giffy.be:8080/live/demo/demo/27047.ts
#EXTINF:-1,Al_Forat_Tv
http://p4.giffy.be:8080/live/demo/demo/27092.ts
#EXTINF:-1,Al_Ghadeer
http://p4.giffy.be:8080/live/demo/demo/27093.ts
@ratulkuri
ratulkuri / PRD.md
Created November 25, 2024 16:32
Project Requirements Document (PRD) Template

Project Requirements Document (PRD) Template

1. Project Overview

  • Project Name: [Insert Project Name]
  • Project ID: [Unique Identifier]
  • Date: [Date of Document Creation]
  • Version: [Version of the Document]
  • Prepared By: [Name(s) of the Author(s)]
  • Approved By: [Name(s) of Approvers]
@SidIcarus
SidIcarus / bootstrap.sh
Last active October 2, 2026 12:47
environment bootstrap scripts
#!/bin/bash
# shellcheck disable=1090,1091,2059
# set ENV default value to 'dev''
ENV="${1:-dev}"
# import (source) utility variables and functions
. "$DIR/bootstrap/utils"
# Terminal output to illustrate progress
@xiaofeima1990
xiaofeima1990 / Bash_Command.sh
Last active October 2, 2026 12:41
[Shell cluster & Bash command] #bash
# rename the file within the directory and subdirectory to remove _dbg
# https://stackoverflow.com/questions/16541582/find-multiple-files-and-rename-them-in-linux
find . -iname "*dbg*" -exec rename _dbg.txt .txt '{}'
# remove the file with in the directory and subdirectory
find ~/work/github/slums-india/imag_processing/slum_detection/h_grid_search/output/ -maxdepth 4 -type f -name "params_*.pkl" -delete
# write the variable into a file
end_epoch=$((start_epoch+5000))
echo " the start epoch is $start_epoch and the end epoch is $end_epoch"
@tondrej
tondrej / meld-2-files.nemo_action
Last active October 2, 2026 12:39
[Linux Mint] Nemo actions (~/.local/share/nemo/actions/)
# Compare two selected files in Meld
[Nemo Action]
#############################################
#### DEBUGGING:
####
#### Run Nemo with the environment
#### variable NEMO_ACTION_VERBOSE
#### set to get useful log output