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
;; Working hunspell configuration for emacs for windows. It is using hunspell under Cygwin. | |
;; | |
;; It will require cygwin-mount.el downloaded to your emacs library path from | |
;; https://www.emacswiki.org/emacs/cygwin-mount.el | |
;; | |
;; Setup cygwin-mount first | |
(setq cygwin-directory "c:/cygwin") | |
(require `cygwin-mount) | |
(setq cygwin-mount-cygwin-bin-directory (concat cygwin-directory "/bin")) | |
(cygwin-mount-activate) |
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
# Following path conversion functions assume that cygrdives are mounted at root. | |
# Your fstab entry should look like this: | |
# | |
# none / cygdrive binary,posix=0,noacl,user 0 0 | |
# | |
declare -A _CYGDRIVEMAP=([C]="/c" [P]="/p") | |
# Convert mixed path to unix path. Mixed path is using windows drive at the beginning, | |
# but with forward slashes already | |
to_unix_path () { |
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
// Simple Q benchmark | |
// | |
// example call: | |
// | |
// q bench.q -s 8 | |
STDOUT: -1 | |
COUNT: 5000 | |
EXAMPLES:(enlist ".Q.btoa[\"Hello World!\"]") |
OlderNewer