- VERSIONINFO resource https://msdn.microsoft.com/en-us/library/aa381058.aspx
- VS_FIXEDFILEINFO structure https://msdn.microsoft.com/ja-jp/library/windows/desktop/ms646997(v=vs.85).aspx
- StringFileInfo BLOCK statement https://msdn.microsoft.com/en-us/library/windows/desktop/aa381049%28v=vs.85%29.aspx
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
;FFMETADATA1 | |
title=上野さんは不器用 | |
[CHAPTER] | |
TIMEBASE=1/1000 | |
START=0 | |
END=686200 | |
title=第1話 実験その1「ロッカくん」/実験その2「クマタンダー2号」 | |
[CHAPTER] |
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
#!/usr/bin/env newlisp | |
;; Wake-on-LAN | |
(define (usage) | |
(println "Usage: wol.lsp <IP address> <MAC address>")) | |
;; Convert MAC address to List format. | |
;; e.g."EE:EE:EE:00:00:01" to (0xEE 0xEE 0xEE 0x00 0x00 0x01) | |
(define (mac2list mac) | |
;; XX-XX-XX-XX-XX-XX |
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
# Build Emacs Recipe | |
usage = Usage: make -f $(notdir $(MAKEFILE_LIST)) [EMACS=${EMACS}] [PREFIX=${PREFIX}] | |
PREFIX?=${HOME}/.local | |
EMACS?=emacs-26.3 | |
EMACS_ARCHIVE=${EMACS}.tar.xz | |
EMACS_ARCHIVE_URL=http://ftpmirror.gnu.org/emacs/${EMACS_ARCHIVE} |
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
cookie.txt |
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/sh | |
set -eu | |
usage="usage: $0 [execute|compile] FILENAME" | |
url=https://play.rust-lang.org/${1?${usage}} | |
code=$(cat ${2?${usage}}) | |
send() { | |
curl -s -X POST -H "Content-Type: application/json" -d @- ${1} | |
} |
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
@echo off | |
setlocal | |
set LLVM_ROOT=C:\opt\LLVM | |
set PATH=%PATH%;C:\MinGW64\bin | |
set PATH=%PATH%;%LLVM_ROOT%\bin | |
set PATH=%PATH%;C:\opt\cmake\bin | |
set PATH=%PATH%;%HOME%\.emacs.d\bin |
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/sh | |
set -eu | |
# 指定したディレクトリ以下の elisp 行数を数えるスクリプト | |
usage="Usage: $0 DIRECTORY [IGNORE_PATTERN]" | |
DIR=${1?$usage} | |
IGNORE_PATTERN=${2-} | |
if [ -n "$IGNORE_PATTERN" ]; then |
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
;;; dotassoc.lsp | |
;; 連想リストの Key-Value 参照をドット記法で | |
;;; Example: | |
;; (let ((student '((id 1332412) | |
;; (name ((first "Student") | |
;; (last "Example")))))) | |
;; (with-dotassoc |
NewerOlder