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 "ni/setup") | |
(ni-autoload) | |
;; diff | |
(setq ed::*diff-command-name* | |
(map-slash-to-backslash (merge-pathnames "~xyzzy/bin/diff.exe" (user-homedir-pathname)))) | |
(defun diff-selected-buffers () | |
(interactive) | |
(let (file1 file2) |
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
# Web API として使うためのファイル (1) | |
# Web サーバ上の適当なディレクトリに置いて使う。 | |
# mod_rewrite が必要 | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ index.rb?url=$1 [QSA,L] |
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
#facebox { | |
position: absolute; | |
top: 0; | |
left: 0; | |
z-index: 100; | |
text-align: left; | |
background: #878787; | |
background: rgba(82, 82, 82, 0.7); | |
border-radius: 8px; | |
-webkit-border-radius: 8px; |
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
Private Function NormalizeString(ByVal source As Variant) As Variant | |
Dim i As Integer | |
Dim c As Variant | |
Dim result As Variant | |
result = "" | |
For i = 1 To Len(source) | |
c = StrConv(source, vbWide) | |
If Mid(c, i, 1) Like "[A-z]" Or Mid(c, i, 1) Like "[0-9]" Or Mid(c, i, 1) Like "-" 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
////////////////////////////////////////////////////////////////// | |
// Components | |
@keyframes fade-in { | |
0% { opacity: 0; } | |
100% { opacity: 1; } | |
} | |
@-webkit-keyframes fade-in { | |
0% { opacity: 0; } | |
100% { opacity: 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
; 逸見さんご提供 | |
ABORT | |
action | |
admin | |
after | |
aggregate | |
alias | |
all | |
allocate | |
alter |
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
var d = document | |
, container = d.body | |
, div = d.createElement("div") | |
, divStyle = div.style | |
, img = d.createElement("img") | |
, styles = { | |
position: "fixed" | |
, left: "20px" | |
, top: "20px" | |
, zIndex: "9999" |
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 | |
FFMPEG="/usr/local/bin/ffmpeg" | |
if [ $# -ne 1 ]; then | |
echo "From AIFF to MP3 and Ogg" 1>&2 | |
echo "usage: ./conv.sh <aiff>" 1>&2 | |
exit 1 | |
fi |
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
div[jsselect="scale:scalecontrol.scales"] | |
{ text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff; } | |
div[jsselect="scale:scalecontrol.scales"][jsinstance^="*"], | |
div[jsselect="bar:scalecontrol.bars"][jsinstance^="*"] | |
{ display: none; } |
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
;;; -*- Mode: Lisp; Package: EDITOR -*- | |
;;; | |
;;; This file is not part of xyzzy. | |
;;; | |
;;; Markdown を HTML に変換したりする | |
;;; | |
;;; 改変 markdown-mode for #xyzzy (色付け & メジャーモード化) が必要 | |
;;; https://gist.github.com/youz/1339252 | |
(provide "markdown-mode") |