Skip to content

Instantly share code, notes, and snippets.

View Kyure-A's full-sized avatar

Kyure_A Kyure-A

View GitHub Profile
@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
@MasWag
MasWag / config-satysfi-ts-mode.el
Created February 28, 2024 06:18
A small configuration of satysfi-ts-mode + lsp-mode
(require 'package)
;;;; Add package-archives
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
;; Initialize
(package-initialize)
(require 'leaf)
(leaf satysfi-ts-mode
[
{
"word": "Asshole",
"kana": "アスホール",
"meaning": "いやな奴(Ass=お尻、Hole=穴)",
"notice": "「うざい野郎」「ろくでなし」"
},
{
"word": "あばずれ",
"kana": "あばずれ",
@hitode909
hitode909 / desktop.1h.rb
Created January 19, 2024 15:44
Automatic Desktop Image Generator via OpenAI
#! /usr/bin/ruby
require 'net/http'
require 'json'
require 'uri'
require 'fileutils'
# Replace with your actual API key
API_KEY = ENV['OPENAPI_KEY']
def generate_theme
@sheepla
sheepla / LinuxユーザーのためのWindowsカスタマイズガイド.md
Last active May 10, 2024 13:25
LinuxユーザーのためのWindowsカスタマイズガイド

LinuxユーザーのためのWindowsのおすすめツール・アプリケーション+個人的なカスタマイズガイド

これはなに?

普段はLinux(Arch Linux + i3)を使っているsheeplaが、Windowsでいい感じの環境を作るためにもがいた記録です。 「キーボード操作ですべてを完結させたい」「お気に入りのフォント・キーバインドを設定して生活したい」といったこだわりを捨てられない人におすすめです。 逆に、「安定した環境を使いたい」「Windowsのデフォルトの設定を壊したくない」「細々としたカスタマイズに時間を掛けたくない」人や商用のリッチなソフトウェアを多用する人にはあまり役に立たないかもしれません。

ターミナル

@minop1205
minop1205 / conventional-commits.md
Last active February 7, 2024 04:56
コミットメッセージ規約
@AlexxNB
AlexxNB / widget.md
Last active April 13, 2024 20:50
Howto make no-depends widget on Svelte and load it on the page

We should have at least three files: 'Widget.svelte', 'rollup.config.js' and 'package.json':

  1. Our widget Widget.svelte:
<script>
	export let name;
</script>

<h1>Hello {name}!</h1>
@y2q-actionman
y2q-actionman / a_road_to_common_lisp_jp.md
Last active May 22, 2024 20:48
A Road to Common Lisp 翻訳

この文章は、 Steve Losh 氏の記事 "A Road to Common Lisp" の翻訳です。

原文はこちらです: http://stevelosh.com/blog/2018/08/a-road-to-common-lisp/


A Road to Common Lisp (Common Lisp への道)

これまで、「最近のCommon Lispをどう学ぶとよいでしょう?」と助言を求めるメールをたくさん受け取ってきました。そこで私は、これまでメールやソーシャルメディアに投稿した全てのアドバイスを書き下すことにしました。これが誰かに有益ならば幸いです。

@markbevins
markbevins / new_gist_file
Created October 28, 2013 00:39
sdfsdfsdfsdfsdfsdf
sdfsdfsdfsdfsdf