command line with pass-through variable or alias
$ ENV='local' vagrant up
Kinesis Freestyle (Terrible key switches. Mushy and un-lovable)
Kinesis Freestyle Edge (Traditional layout with too many keys, mech switches, proably too big to be tented easily/properly)
Matias Ergo Pro (Looks pretty great. Have not tried.)
ErgoDox Kit (Currently, my everyday keyboard. Can buy pre-assembled on eBay.)
ErgoDox EZ (Prolly the best option for most people.)
| #!/bin/sh | |
| jrunscript -e 'print(java.lang.System.getProperty("java.home").replaceAll("\\"+java.io.File.separator+"jre$",""))' |
| ;; Adapted from https://emacs.stackexchange.com/questions/8045/org-refile-to-a-known-fixed-location | |
| (defun my/refile (file headline &optional arg) | |
| "Refile to a specific location. | |
| With a 'C-u' ARG argument, we jump to that location (see | |
| `org-refile'). | |
| Use `org-agenda-refile' in `org-agenda' mode." | |
| (let* ((pos (with-current-buffer (or (get-buffer file) ;Is the file open in a buffer already? | |
| (find-file-noselect file)) ;Otherwise, try to find the file by name (Note, default-directory matters here if it isn't absolute) |
| [core] | |
| excludesfile = ~/.gitignore_global | |
| pager = diff-so-fancy | less --tabs=4 -RFX | |
| [difftool "sourcetree"] | |
| cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
| path = | |
| [alias] | |
| aa = add --all |
| package demo.plain; | |
| import org.keycloak.OAuth2Constants; | |
| import org.keycloak.admin.client.CreatedResponseUtil; | |
| import org.keycloak.admin.client.Keycloak; | |
| import org.keycloak.admin.client.KeycloakBuilder; | |
| import org.keycloak.admin.client.resource.RealmResource; | |
| import org.keycloak.admin.client.resource.UserResource; | |
| import org.keycloak.admin.client.resource.UsersResource; | |
| import org.keycloak.representations.idm.ClientRepresentation; |
| ;; see https://github.com/lolownia/org-pomodoro | |
| ;; and use case from http://headhole.org/organisation/2012/08/22/org-mode-gtd-and-the-pomodoro-technique/ | |
| (use-package org-pomodoro | |
| :config | |
| (global-set-key (kbd "M-<f11>") 'org-pomodoro) | |
| (global-set-key (kbd "s-<f11>") 'org-pomodoro) | |
| ;; (global-set-key (kbd "C-c C-x C-i") 'org-pomodoro) | |
| ;; (global-set-key (kbd "C-c C-x C-o") 'org-pomodoro) |
| package ...configuration; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.annotation.Profile; | |
| import org.springframework.scheduling.annotation.EnableAsync; | |
| @Configuration | |
| @EnableAsync | |
| @Profile("!test") | |
| public class AsyncConfiguration { |