View settings_iterm2_material_design.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"background": "#263238", | |
"black": "#546E7A", | |
"blue": "#40C4FF", | |
"brightBlack": "#B0BEC5", | |
"brightBlue": "#80D8FF", | |
"brightCyan": "#A7FDEB", | |
"brightGreen": "#B9F6CA", | |
"brightPurple": "#FF80AB", | |
"brightRed": "#FF8A80", |
View gitb.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" |
View scsnowman-zrchristmas.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; 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. |
View w32-ime-mode.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; 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: |
View ivy--regex-migemo.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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) |
View xwwp-examples.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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) | |
"ぐるぐるページ" |
View jsonrpc-process-raw-connection.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 |
View textview_sample.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/TextUILayer/Tasks/CreateTextViewProg.html | |
// To execute it, run: | |
// `$ clang textview_sample.m -framework Cocoa && ./a.out` | |
#import <Cocoa/Cocoa.h> | |
int main() { | |
@autoreleasepool { | |
NSApplication* app = [NSApplication sharedApplication]; |
View install-tex.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Comment out to avoid an error on macOS | |
# set -e | |
DIRNAME=tl-`date +%Y_%m_%d_%H_%M_%S` | |
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then | |
export PATH=$PATH:$HOME/texlive/bin/x86_64-darwin | |
else |
View scsnowman-scratch.el
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'svg) | |
(defun svg-path (svg d &rest args) | |
"Create a path D in SVG." | |
(svg--append | |
svg | |
(dom-node 'path | |
`((d . ,d) | |
,@(svg--arguments svg args))))) |
NewerOlder