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
<?xml version = "1.0" standalone = "no"?> | |
<manifest identifier = "LMSTestPackage_CO-03" version = "1.1.1" | |
xmlns = "http://www.imsglobal.org/xsd/imscp_v1p1" | |
xmlns:adlcp = "http://www.adlnet.org/xsd/adlcp_v1p3" | |
xmlns:adlseq = "http://www.adlnet.org/xsd/adlseq_v1p3" | |
xmlns:adlnav = "http://www.adlnet.org/xsd/adlnav_v1p3" | |
xmlns:imsss = "http://www.imsglobal.org/xsd/imsss" | |
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation = "http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd | |
http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd |
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
;;; sense-region.el --- minor mode to toggle region and rectangle. | |
;;; $Id: sense-region.el,v 1.9 2002/10/16 13:47:14 komatsu Exp $ | |
;;; | |
;;; AUTHOR: Hiroyuki KOMATSU <[email protected]> | |
;;; LICENSE: GPL2 | |
;;; ORIGINAL-SOURCE: http://www.taiyaki.org/elisp/sense-region/ (in Japanese) | |
;;; Version: 1.9.0 | |
;;; | |
;;; ------------------------------------------------------------ |
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 'formula' | |
class Cmigemo < Formula | |
url 'http://cmigemo.googlecode.com/files/cmigemo-default-src-20110227.zip' | |
homepage 'http://www.kaoriya.net/software/cmigemo' | |
sha1 '25e279c56d3a8f1e82cbfb3526d1b38742d1d66c' | |
depends_on 'nkf' | |
def patches |
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
<?xml version = "1.0" standalone = "no"?> | |
<manifest identifier = "LMSTestPackage_T-01b" version = "1.0" | |
xmlns = "http://www.imsglobal.org/xsd/imscp_v1p1" | |
xmlns:adlcp = "http://www.adlnet.org/xsd/adlcp_v1p3" | |
xmlns:adlseq = "http://www.adlnet.org/xsd/adlseq_v1p3" | |
xmlns:adlnav = "http://www.adlnet.org/xsd/adlnav_v1p3" | |
xmlns:imsss = "http://www.imsglobal.org/xsd/imsss" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation = "http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd | |
http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd |
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
<?xml version = "1.0" standalone = "no"?> | |
<manifest identifier = "LMSTestPackage_T-01b" version = "1.0" | |
xmlns = "http://www.imsglobal.org/xsd/imscp_v1p1" | |
xmlns:adlcp = "http://www.adlnet.org/xsd/adlcp_v1p3" | |
xmlns:adlseq = "http://www.adlnet.org/xsd/adlseq_v1p3" | |
xmlns:adlnav = "http://www.adlnet.org/xsd/adlnav_v1p3" | |
xmlns:imsss = "http://www.imsglobal.org/xsd/imsss" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation = "http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd | |
http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd |
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
<?xml version = "1.0" standalone = "no"?> | |
<manifest identifier = "LMSTestPackage_RU-12b" version = "1.0" | |
xmlns = "http://www.imsglobal.org/xsd/imscp_v1p1" | |
xmlns:adlcp = "http://www.adlnet.org/xsd/adlcp_v1p3" | |
xmlns:adlseq = "http://www.adlnet.org/xsd/adlseq_v1p3" | |
xmlns:adlnav = "http://www.adlnet.org/xsd/adlnav_v1p3" | |
xmlns:imsss = "http://www.imsglobal.org/xsd/imsss" | |
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation = "http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd | |
http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd |
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
;;; cljdoc.el --- eldoc mode for clojure | |
;; Copyright (C) 2011 tomykaira | |
;; Version 0.1.0 | |
;; Keywords: eldoc clojure | |
;; Author: tomykaira <[email protected]> | |
;; URL: https://gist.github.com/1386472 | |
;; This file is not part of GNU Emacs. |
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
;; Question: Inverse FizzBuzz (Clojure version) - Given a collection | |
;; whose elements are one of :fizz, :buzz, and :fizzbuzz, what's the | |
;; shortest contiguous sequence of numbers that produces that list when | |
;; you run fizzbuzz ? | |
;; | |
;; Originally introduced at: | |
;; http://www.jasq.org/2/post/2012/05/inverse-fizzbuzz.html | |
(ns tnoda.inverse-fizzbuzz.core | |
(:use [clojure.test :only [deftest are]])) |
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
(ns learn-you-a-haskell.geometry.core | |
(:require (learn-you-a-haskell.geometry [sphere :as sphere] | |
[cuboid :as cuboid] | |
[cube :as cube]))) | |
(defn -main | |
"I don't do a whole lot." | |
[& args] | |
(print (sphere/volume 10))) |
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
(defn prime? [n] | |
(every? #(pos? (rem n %)) (range 2 (Math/sqrt (inc n))))) | |
(defn naive-primes [n] | |
(filter prime? (range 2 (inc n)))) |
OlderNewer