Binding | Action |
---|---|
<localleader>cd | Disconnect from the current nREPL server. |
<localleader>cf | Connect to a server using the port found in any of the files specified by clojure.nrepl/connection.port-files . |
<localleader>sc | Clone the current nREPL session. |
<localleader>sf | Create a fresh session from scratch. |
<localleader>sq | Close the current session. |
<localleader>sQ | Close all sessions. |
\sl | List all sessions. |
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
(use ./build/jaylib) | |
(set-config-flags | |
:msaa-4x-hint) | |
(init-window 800 600 "Chart") | |
(init-audio-device) | |
(set-target-fps 60) | |
(def current-animations @{}) |
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
#!/usr/bin/env bash | |
#_" -*- mode: clojure; -*-" | |
#_( | |
"exec" "clojure" "-Sdeps" "{:deps {borkdude/grasp {:git/url \"https://github.com/borkdude/grasp\" :sha \"6315cea8c0b6dafc7b1eef9ccd03d6d5590d2045\"}}}" "-M" "$0" "$@" | |
) | |
(require '[clojure.java.io :as io] | |
'[clojure.spec.alpha :as s] | |
'[clojure.string :as str] | |
'[grasp.api :as g]) |
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
;; see https://github.com/borkdude/grasp for a more elaborate implementation | |
(ns script | |
(:require [clojure.java.io :as io] | |
[clojure.pprint :refer [pprint]] | |
[edamame.core :as e])) | |
(def clojure-core (slurp (io/resource "clojure/core.clj"))) | |
(def parsed (e/parse-string-all clojure-core | |
{:all true :auto-resolve '{:current clojure.core}})) |
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
# Make ibus-mozc remember the last used mode (e.g. hiragana) and not switch back to Alphabet on restart | |
# See https://github.com/google/mozc/issues/381 | |
cd $(mktemp -d) | |
apt source ibus-mozc | |
cd mozc-*/ | |
patch src/unix/ibus/property_handler.cc << 'EOF' | |
--- src/unix/ibus/property_handler.cc.orig 2020-10-28 17:21:18.000849932 +0900 | |
+++ src/unix/ibus/property_handler.cc 2020-10-28 17:21:34.172696046 +0900 | |
@@ -80,7 +80,7 @@ |
Issues that welcome community contributions are labeled with PR welcome
. That doesn't mean I don't welcome contributions for other issues. Feel free to reach out and discuss on Clojurians Slack or Github if you need assistance. Please note that I do not have the time or resources to give free and unlimited Clojure mentoring.
See issues
See issues
- High level overview https://yogthos.github.io/ClojureDistilled.html
- An Animated Introduction to Clojure https://markm208.github.io/cljbook/
- Interactive tutorial in a browser https://tryclojure.org/
- Interactive exercises http://clojurescriptkoans.com/
- Clerk notebooks with introductory examples https://github.clerk.garden/anthonygalea/notes-on-clojure
- More interactive exercises https://4clojure.oxal.org/
- Lambda Island tutorials https://lambdaisland.com/
- Functional Programming with Clojure resources https://practicalli.github.io/
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
### | |
### utf8.janet | |
### | |
### Pure janet utf8 utils. You should probably just use C. | |
### | |
(defn utf8-encode | |
"Convert a sequence of codepoints to a string." | |
[x] | |
(def buf @"") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder