I hereby claim:
- I am verma on github.
- I am verma (https://keybase.io/verma) on keybase.
- I have a public key ASCHCwQdOiQ8uFIv87JUC8GqdHWapqedmLRiGhpu4QWM_Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ;; main.fnl | |
| (fn love.draw [] | |
| (love.graphics.print "Hello World" 200 200)) | |
| $ fennel --compile main.fnl > .\main.lua | |
| ;; main.lua | |
| love.draw = function() | |
| return love.graphics.print("Hello World", 200, 200) | |
| end |
| (ns ramlpg.core | |
| (:import [org.raml.v2.api RamlModelBuilder] | |
| [org.raml.v2.internal.impl.commons.model.type | |
| TypeDeclaration | |
| FileTypeDeclaration | |
| ArrayTypeDeclaration ObjectTypeDeclaration])) | |
| (defn parse-raml [raml-resource] | |
| (let [api (.buildApi (RamlModelBuilder.) raml-resource)] | |
| (println (.isVersion10 api)) |
| Performing task 'deps' with profile(s): '' | |
| [buddy "1.3.0"] | |
| [buddy/buddy-auth "1.4.0" :exclusions [[org.clojure/clojure]]] | |
| [buddy/buddy-core "1.2.0" :exclusions [[org.clojure/clojure]]] | |
| [commons-codec "1.10"] | |
| [org.bouncycastle/bcpkix-jdk15on "1.56"] | |
| [org.bouncycastle/bcprov-jdk15on "1.56"] | |
| [buddy/buddy-hashers "1.2.0" :exclusions [[org.clojure/clojure]]] | |
| [clojurewerkz/scrypt "1.2.0"] | |
| [com.lambdaworks/scrypt "1.4.0"] |
| Section "Monitor" | |
| Identifier "Monitor0" | |
| VendorName "Shimian" | |
| ModelName "QHD270" | |
| HorizSync 88.8 | |
| VertRefresh 59.5 | |
| Option "DPMS" | |
| Modeline "2560x1440" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync | |
| DisplaySize 597 336 | |
| EndSection |
| // gencarol.c | |
| // generate carol set | |
| // | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <sys/stat.h> | |
| #include <errno.h> | |
| #include <time.h> |
| ;; iterate over a single collection | |
| (for [x (range 5)] | |
| (* x 2)) | |
| ;; iterate over multiple collections | |
| (for [x (range 5) | |
| y (range 5)] | |
| [x y]) | |
| ;; conditional skip certain values |
| (ns dt.core | |
| (:require [datascript.core :as d])) | |
| ;; schema so nice | |
| (def schema {:maker/email {:db/unique :db.unique/identity} | |
| :car/model {:db/unique :db.unique/identity} | |
| :car/maker {:db/type :db.type/ref} | |
| :car/colors {:db/cardinality :db.cardinality/many}}) |
| (ns dt.core | |
| (:require [datascript.core :as d])) | |
| ;; schema so nice | |
| (def schema {:car/maker {:db/type :db.type/ref} | |
| :car/colors {:db/cardinality :db.cardinality/many}}) | |
| ;; create the connection | |
| (def conn (d/create-conn schema)) |
| ;; such emacs init | |
| ;; | |
| (require 'package) | |
| (add-to-list 'package-archives | |
| '("melpa" . "https://melpa.org/packages/") t) | |
| (when (< emacs-major-version 24) | |
| ;; For important compatibility libraries like cl-lib |