➜ uname -r
# get installed kernel version
➜ pacman -S linux-headers
# select kernel version
➜ uname -r
# get installed kernel version
➜ pacman -S linux-headers
# select kernel version
Often, when writing an XSLT file, you’ll want to test it quickly, without contacting a FileMaker Server or otherwise accessing the rest of the world. On Linux and OS X, you can use the command-line utility, ‘xsltproc’, to run XSLT programs quickly:
xsltproc transform.xsl input.xml
This applies the stylesheet in the file transform.xml to the XML in input.xml, and writes the output to your terminal. You can instead write the output to a file:
xsltproc transform.xsl input.xml > output.xml
Install Android App Termux from APKPure or AppStore. If the app exists, just delete and re-install it to get the latest version, The APK can be downloaded from https://apkpure.com/termux/com.termux/ Install the APK using by running
adb install ~/Downloads/Termux_v0.73_apkpure.com.apk
| (defn curl->clj* | |
| "Given a (single) curl string from Chrome's copy-as-curl, convert it either | |
| into a clj-http call, a task-based http entry, or a shortened | |
| task-based entry" | |
| ([curl-str] | |
| (curl->clj* curl-str {})) | |
| ([curl-str conv-opts] | |
| (let [clean-opts (:clean conv-opts) | |
| merge-opts (:merge conv-opts) | |
| headers (-> |
These methods in this gist worked for me on my U.S.-based keyboard layouts. I am unsure about other layouts. If you have problems, revert your changes; delete the registry key you created (and reboot).
Update: you should probably scroll down to approach 4 where I suggest using Microsoft PowerToys Keyboard Manager.
Navigate to and create a new binary value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout named Scancode Map.
A list of commonly asked questions, design decisions, reasons why Clojure is the way it is as they were answered directly by Rich (even when from many years ago, those answers are pretty much valid today!). Feel free to point friends and colleagues here next time they ask (again). Answers are pasted verbatim (I've made small adjustments for readibility, but never changed a sentence) from mailing lists, articles, chats.
How to use:
Integrating third party JavaScript libraries not written with Google Closure Compiler in mind continues to both be a source of error for users when going to production, and significant vigilance and effort for the the broader community (CLJSJS libraries must provide up-to-date and accurate externs).
In truth writing externs is far simpler than most users imagine. You only need externs for the parts of the library you actually intend to use from ClojureScript. However this isn't so easy to determine from Closure's own documentation. Still in the process of writing your code it's easy to miss a case. In production you will see the much dreaded error that some mangled name does not exist. Fortunately it's possible to enable some compiler flags :pretty-print true :pseudo-names true to generate an advanced build with human readable names. However debugging missing externs means compiling your production build for each missed case. So much time wasted for such simple mistakes damages our sen
Install HomeBrew first
brew update
brew tap caskroom/cask
brew install brew-caskIf you get the error "already installed", follow the instructions to unlink it, then install again:
| (ns nested-routing.core | |
| (:require-macros [om.core :as om] | |
| [secretary.core :refer [defroute]]) | |
| (:require [om.dom :as dom] | |
| [om.core :as om] | |
| [secretary.core :as secretary] | |
| [goog.events :as events] | |
| [goog.history.EventType :as EventType]) | |
| (:import goog.History)) |
| diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim | |
| index 6c32caa..a415bf8 100644 | |
| --- a/plugin/fireplace.vim | |
| +++ b/plugin/fireplace.vim | |
| @@ -232,7 +232,9 @@ function! s:repl.piggieback(arg, ...) abort | |
| else | |
| let arg = ' :repl-env ' . a:arg | |
| endif | |
| - let response = connection.eval('(cemerick.piggieback/cljs-repl'.arg.')') | |
| + "let response = connection.eval('(cemerick.piggieback/cljs-repl'.arg.')') |