Skip to content

Instantly share code, notes, and snippets.

View tsuu32's full-sized avatar
👾

Masahiro Nakamura tsuu32

👾
View GitHub Profile
(require 'jsonrpc)
(defclass jsonrpc-process-raw-connection (jsonrpc-connection)
((-process
:initarg :process :accessor jsonrpc--process
:documentation "Process object wrapped by the this connection.")
(-on-shutdown
:accessor jsonrpc--on-shutdown
:initform #'ignore
:initarg :on-shutdown
(require 'xwwp)
(defun my/xwwp-clear-page (&optional xwidget)
"ページまっさら"
(interactive)
(let ((xwidget (or xwidget (xwidget-webkit-current-session))))
(xwwp-html-inject-style xwidget "__my_xwwp_clear_page_style" "body { display: none; }\\n")))
(defun my/xwwp-rotate-page (&optional xwidget)
"ぐるぐるページ"
(require 'ivy)
(require 'migemo)
(defun my/migemo-get-pattern-shyly (word)
(replace-regexp-in-string
"\\\\("
"\\\\(?:"
(migemo-get-pattern word)))
(defun my/ivy--regex-migemo-pattern (word)
;;; w32-ime-mode.el --- Yes another initializer for W32-IME
;;; Commentary:
;; Add following code to your init file instead of (w32-ime-initialize):
;;
;; (require 'w32-ime-mode)
;; (w32-ime-mode)
;;; Code:
;;; scsnowman-zrchristmas.el --- zrchristmas shape for scsnowman.el -*- lexical-binding: t -*-
;; Copyright (C) 2020 by Masahiro Nakamura
;; Author: Masahiro Nakamura <tsuucat@icloud.com>
;; Version: 0.0.1
;;; Commentary:
;; A `zrchristmas' shape definition for scsnowman.el.
@tsuu32
tsuu32 / gitb.json
Created August 6, 2021 15:34
Scoop App Manifest for gitb
{
"version": "2.4.0",
"description": "A command line tool for using Backlog’s git comfortably.",
"homepage": "https://gitb.vvatanabe.com/",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/vvatanabe/gitb/releases/download/2.4.0/gitb_2.4.0_windows_amd64.zip",
"hash": "ff21d5b7c2d7d38bf6067b63a2e6cde1dbe38dbdf0302f220f5354196a59c3c8",
"extract_dir": "gitb_2.4.0_windows_amd64"
@tsuu32
tsuu32 / settings_iterm2_material_design.json
Created August 6, 2021 15:40
Windows Terminal color scheme ported from iTerm2 Material Design
{
"background": "#263238",
"black": "#546E7A",
"blue": "#40C4FF",
"brightBlack": "#B0BEC5",
"brightBlue": "#80D8FF",
"brightCyan": "#A7FDEB",
"brightGreen": "#B9F6CA",
"brightPurple": "#FF80AB",
"brightRed": "#FF8A80",