Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
local last_alert = nil | |
function displaySong(player) | |
artist, name = player.getCurrentArtist(), player.getCurrentTrack() | |
if (last_alert ~= nil) then | |
hs.alert.closeSpecific(last_alert) | |
end | |
last_alert = hs.alert.show(artist .. " - " .. name) |
;;; Fira code | |
;; This works when using emacs --daemon + emacsclient | |
(add-hook 'after-make-frame-functions (lambda (frame) (set-fontset-font t '(#Xe100 . #Xe16f) "Fira Code Symbol"))) | |
;; This works when using emacs without server/client | |
(set-fontset-font t '(#Xe100 . #Xe16f) "Fira Code Symbol") | |
;; I haven't found one statement that makes both of the above situations work, so I use both for now | |
(defconst fira-code-font-lock-keywords-alist | |
(mapcar (lambda (regex-char-pair) |
dependencies { | |
ext { | |
logbackVersion = '1.1.6' | |
slf4jApiVersion = '1.7.15' | |
logStashLogbackEncoderVersion = '4.7' | |
} | |
... | |
compile("ch.qos.logback:logback-classic:$logbackVersion") | |
compile("ch.qos.logback:logback-core:$logbackVersion") | |
compile("ch.qos.logback:logback-access:$logbackVersion") |
" VIM SETTINGS <( | |
" 搜索忽略大小写 | |
set ignorecase | |
" 高亮搜索 | |
set hlsearch | |
" 显示行号和列号 | |
set ruler | |
" 不显示状态行 | |
" set laststatus=0 |
(use-package markdown-mode | |
:defer t | |
:commands (org-table-begin org-table-end orgtbl-mode) | |
:config | |
(progn | |
(require 'org-table) | |
(eval-when-compile | |
(require 'whitespace)) | |
(defun advice:org-table-align:markdown () |
;; PRETTIFY SYMBOLS (with Pragmata Pro) | |
(defun setup-pragmata-ligatures () | |
(setq prettify-symbols-alist | |
(append prettify-symbols-alist | |
'(("!!" . ?) | |
("!=" . ?) | |
("!==" . ?) | |
("!≡" . ?) | |
("!≡≡" . ?) | |
("!>" . ?) |
;; Enable ligatures without prettify-symbols | |
(provide 'add-pragmatapro-symbol-keywords) | |
(defconst pragmatapro-fontlock-keywords-alist | |
(mapcar (lambda (regex-char-pair) | |
`(,(car regex-char-pair) | |
(0 (prog1 () | |
(compose-region (match-beginning 1) | |
(match-end 1) |
.markdown-here-wrapper { | |
font-size: 16px; | |
line-height: 1.8em; | |
letter-spacing: 0.1em; | |
} | |
pre, code { | |
font-size: 14px; | |
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace; |
nsqlookupd: | |
image: nsqio/nsq | |
ports: | |
- "4160:4160" | |
- "4161:4161" | |
command: /nsqlookupd | |
nsqd: | |
image: nsqio/nsq | |
ports: |