Skip to content

Instantly share code, notes, and snippets.

@sharapeco
sharapeco / markdown-misc.l
Last active December 27, 2015 23:29
xyzzy で Markdown を書くための設定
;;; -*- 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")
@youz
youz / markdown-mode.l
Created November 4, 2011 12:53
改変 markdown-mode for #xyzzy (色付け & メジャーモード化)
;; -*- mode:lisp; package:markdown-mode -*-
;; markdown.l ( http://www.geocities.jp/kiaswebsite/xyzzy/markdown.html )
;; Rev: 227 を元に改変
;;
;; License
;; =======
;;
;; Copyright (c) 2011 Yousuke Ushiki <citrus.yubeshi@gmail.com>
;; Copyright (c) 2005,2006 kia
@alexey-bass
alexey-bass / compare.js
Created July 30, 2011 14:03
JavaScript version compare
/**
* Simply compares two string version values.
*
* Example:
* versionCompare('1.1', '1.2') => -1
* versionCompare('1.1', '1.1') => 0
* versionCompare('1.2', '1.1') => 1
* versionCompare('2.23.3', '2.22.3') => 1
*
* Returns: