This file has been truncated, but you can view the full file.
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 COMPILED = false; | |
var goog = goog || {}; | |
goog.global = this; | |
goog.DEBUG = true; | |
goog.LOCALE = "en"; | |
goog.evalWorksForGlobals_ = null; | |
goog.provide = function(name) { | |
if(!COMPILED) { | |
if(goog.getObjectByName(name) && !goog.implicitNamespaces_[name]) { | |
throw Error('Namespace "' + name + '" already declared.'); |
This file has been truncated, but you can view the full file.
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 COMPILED = false; | |
var goog = goog || {}; | |
goog.global = this; | |
goog.DEBUG = true; | |
goog.LOCALE = "en"; | |
goog.evalWorksForGlobals_ = null; | |
goog.provide = function(name) { | |
if(!COMPILED) { | |
if(goog.getObjectByName(name) && !goog.implicitNamespaces_[name]) { | |
throw Error('Namespace "' + name + '" already declared.'); |
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
fseq :: Integer -> Integer | |
fseq n | n == 0 = 1 | |
| n == 1 = 2 | |
| n > 2 = 3 * fseq (n - 1) | |
| otherwise = error "Unknown argument" |
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 lection02.core) | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; Namespaces | |
;; Refer | |
;;--------------- | |
(comment |
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 lection03.core) | |
;; Eval | |
(eval '(+ 1 2)) | |
(defn my-pre-macro1 [a b] | |
(eval (list '+ a b))) | |
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 laser-test.core | |
(:require [me.raynes.laser :as l] | |
[clojure.java.io :refer [file]] | |
[hickory.zip :refer [hickory-zip]])) | |
(def html (l/parse (file "test1.html"))) | |
(println | |
(l/document html) | |
) |
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
(setq show-paren-style 'expression) | |
(show-paren-mode 2) | |
(menu-bar-mode -1) | |
(tool-bar-mode -1) | |
(setq make-backup-files nil) ; Don't want any backup files | |
(setq auto-save-list-file-name nil) ; Don't want any .saves files | |
(setq auto-save-default nil) ; Don't want any auto saving |
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
* Emacs as IDE | |
** Sr Speedbar | |
http://www.emacswiki.org/emacs/SrSpeedbar | |
** Yasnippet | |
http://www.emacswiki.org/emacs/Yasnippet | |
** Projectile | |
https://github.com/bbatsov/projectile |