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
cask 'font-juisee' do | |
version 'v0.0.2' | |
sha256 'bf13b729d96eb4821aceda82189a67ee4584b37655e610b6b5e21b0fb9669288' | |
url 'https://github.com/yuru7/juisee/releases/download/v0.0.2/Juisee_v0.0.2.zip' | |
name 'Juisee' | |
desc 'Juisee は、欧文フォント JuliaMono と日本語フォント LINE Seed JP を合成したプログラミング向けフォントです。' | |
homepage 'https://github.com/yuru7/juisee' | |
font 'Juisee_v0.0.2/Juisee-Bold.ttf' |
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
# frozen_string_literal: true | |
sbbp = 'サカバンバスピス' | |
words = sbbp.each_char.each_slice(2).map(&:join) | |
loop do | |
result = Array.new(words.size) { words.sample }.join | |
puts result | |
sleep 0.02 | |
break if result == sbbp |
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
cask 'font-0xproto' do | |
version '1.000' | |
sha256 'f841469706c249a55f1425c4cd2da97fc8c272fda6e7a0d52ecf17a405c4b717' | |
url 'https://github.com/0xType/0xProto/releases/download/1.000/0xProto_1_000.zip' | |
name '0xProto' | |
desc 'Free and Open-source font for programming.' | |
homepage 'https://github.com/0xType/0xProto' | |
font 'fonts/0xProto-Regular.otf' |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"incremental": true, | |
"target": "es5", | |
"module": "esnext", | |
"lib": ["dom", "dom.iterable", "esnext"], | |
"allowJs": false, | |
"jsx": "react-jsx", | |
"noEmit": true, | |
"isolatedModules": true, |
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
declare module '@rails/activestorage' { | |
export function start(): void | |
export class DirectUpload { | |
id: number | |
file: File | |
url: string | |
constructor(file: File, url: string, serviceName: string, attachmentName: string, delegate?: DirectUploadDelegate) |
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
# $ cargo install cross | |
# $ rustup target add aarch64-apple-darwin | |
# $ rustup target add x86_64-apple-darwin | |
# $ rustup target add aarch64-unknown-linux-gnu | |
# $ rustup target add x86_64-unknown-linux-gnu | |
# $ brew tap messense/homebrew-macos-cross-toolchains | |
# $ brew install aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu | |
export CC_aarch64_unknown_linux_gnu=aarch64-unknown-linux-gnu-gcc |
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
(defun my/indent-and-save-all-buffers () | |
(interactive) | |
(dolist (buffer (buffer-list)) | |
(unless (string-match-p "*" (buffer-name buffer)) | |
(save-excursion | |
(switch-to-buffer buffer) | |
(indent-region (point-min) (point-max)) | |
(save-some-buffers t))))) |
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
;; ← 押した時 | |
;; | |
;; ファイルだったら: 前の行に移動 | |
;; 開いたディレクトリだったら: 閉じる | |
;; 閉じたディレクトリだったら: 上の階層に移動 | |
(defun neotree-left (arg) | |
(interactive "P") | |
(let* ((path (neo-buffer--get-filename-current-line)) | |
(file-p (and path (not (file-directory-p path))))) | |
(cond (file-p |
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 'rainbow-delimiters) | |
(defun rainbow-delimiters-mode-maybe () | |
(unless (or (minibufferp) (eq major-mode 'helm-major-mode)) | |
(rainbow-delimiters-mode-enable))) | |
(define-globalized-minor-mode global-rainbow-delimiters-mode | |
rainbow-delimiters-mode rainbow-delimiters-mode-maybe) | |
(global-rainbow-delimiters-mode) |
NewerOlder