-
To provide Nix repositories with an easy and standard way to reference other Nix repositories.
-
To allow such references to be queried and updated automatically.
-
To provide a replacement for
nix-channel,NIX_PATHand Hydra
Modified from flymake--mode-line-format.
I only used diags-by-type, you can do stuff with known, running, disabled, etc.
I use unicode for each type of diagnose, flymake-error/warning/note-bitmap would be intersting to use, too.
Don’t read source of flymake--mode-line-format, your sanity will drop.
还可以用汉字代替unicode符号,比如“死”,“警”,“意”对应“error”,“warning”和“note”。
用汉字的话建议在汉字和数字之间加半个空格: M-x insert-char RET thin space RET 。
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
| ;;; -*- lexical-binding: t; -*- | |
| ;; doom-mode-line > mood-line > mode-line+ | |
| ;; * Deps | |
| (defvar anzu--state nil) | |
| (defvar multiple-cursors-mode nil) | |
| (declare-function flycheck-count-errors "ext:flycheck" (errors)) | |
| (declare-function anzu--update-mode-line "ext:anzu" ()) | |
| (declare-function mc/num-cursors "ext:multiple-cursors" ()) |
| // What is the Google Document ID for your email template? | |
| var googleDocId = "abcd0000abcd0000abcd0000abcd0000"; | |
| // Which column has the email address? Enter the column row header exactly. | |
| var emailField = 'Email'; | |
| // What is the subject line? | |
| var emailSubject = 'You\'re bringing {Type}!'; | |
| // Which column is the indicator for email drafted? Enter the column row header exactly. | |
| var emailStatus = 'Date drafted'; | |
| /* ----------------------------------- */ |
| % RISC-V Assembler syntax and style for latex lstlisting package | |
| % | |
| % These are risc-v commands as per our university (University Augsburg, Germany) guidelines. | |
| % | |
| % Author: Anton Lydike | |
| % | |
| % This code is in the public domain and free of licensing | |
| % language definition | |
| \lstdefinelanguage[RISC-V]{Assembler} |
| #!/bin/bash | |
| wget http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86/apk-tools-static-2.10.5-r1.apk | |
| tar xf apk-tools-static-2.10.5-r1.apk sbin/apk.static | |
| ./sbin/apk.static add apk-tools | |
| # Thanks to https://github.com/ish-app/ish/wiki/Installing-apk-on-the-App-Store-Version |
The nixos.org website suggests to use:
sh <(curl -L https://nixos.org/nix/install)For macOS on Intel (x86_64) or Apple Silicon (arm64) based macs, we need to use
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume| LaunchPyright = function() | |
| local client_id = vim.lsp.start_client({cmd = {"pyright-langserver", "--stdio"};}) | |
| vim.lsp.buf_attach_client(0, client_id) | |
| end | |
| vim.cmd([[ | |
| command! -range LaunchPyright execute 'lua LaunchPyright()' | |
| ]]) |
These resources (articles, books, and videos) are useful when you're starting to learn the language, or when you're learning a specific part of the language. This an opinionated list, no doubt. I've compiled this list from writing and teaching Clojure over the last 10 years.
- 🔴 Mandatory (for both beginners and intermediates)
- 🟩 For beginners
- 🟨 For intermediates