This has been moved to https://github.com/hlissner/doom-emacs/blob/develop/docs/api.org#center-emacs-initial-frame-with-a-fixed-size
(defvar +org-babel-mode-alist | |
'((cpp . C) | |
(C++ . C) | |
(D . C) | |
(sh . shell) | |
(bash . shell) | |
(matlab . octave) | |
(amm . ammonite)) | |
"An alist mapping languages to babel libraries. This is necessary for babel | |
libraries (ob-*.el) that don't match the name of the language. |
(defmacro custom-theme-set-faces! (theme &rest specs) | |
"Apply a list of face specs as user customizations for THEME. | |
THEME can be a single symbol or list thereof. If nil, apply these settings to | |
all themes. It will apply to all themes once they are loaded. | |
(custom-theme-set-faces! '(doom-one doom-one-light) | |
`(mode-line :foreground ,(doom-color 'blue)) | |
`(mode-line-buffer-id :foreground ,(doom-color 'fg) :background \"#000000\") | |
'(mode-line-success-highlight :background \"#00FF00\") |
-
https://www.assetstore.unity3d.com/en/#!/content/3253 A unity asset that provides foliage with displacement shaders (among other things). If you have $20 to spare, this is the simplest way.
Here's a unity demo of the displacement shader at work: https://dl.dropboxusercontent.com/u/2322017/afs_v2/afs_v2_touchbending/afs_v2_touchbending_202.html
-
https://codea.io/talk/discussion/2465/my-grass-simulation-with-vertex-shaders An example of using vertex shaders to make thick grass "look" like it is swaying in wind/has something moving inside it, which could be useful for creating the illusion
if ! command -v yay >/dev/null; then | |
tmp=$(mktemp -d) | |
function finish { rm -rf "$tmp"; } # clean up after yourself... | |
trap finish EXIT # ...no matter how you exist | |
git clone https://aur.archlinux.org/yay.git "$tmp" | |
pushd "$tmp" | |
makepkg -sri --noconfirm --needed | |
popd |
(defun +data-hideshow-forward-sexp (arg) | |
(let ((start (current-indentation))) | |
(forward-line) | |
(unless (= start (current-indentation)) | |
(require 'evil-indent-plus) | |
(let ((range (evil-indent-plus--same-indent-range))) | |
(goto-char (cadr range)) | |
(end-of-line))))) | |
(map-put hs-special-modes-alist | |
'yaml-mode |
if ! command -v pacaur >/dev/null; then | |
tmp=$(mktemp -d) | |
function finish { | |
rm -rf "$tmp" | |
} | |
trap finish EXIT | |
pushd $tmp | |
for pkg in cower pacaur; do | |
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=$pkg && \ |
(defconst doom-fringe-size '3 "Default fringe width") | |
;;; Setting up the fringe | |
;; switches order of fringe and margin | |
(setq-default fringes-outside-margins t) | |
;; standardize fringe width | |
(fringe-mode doom-fringe-size) | |
(push `(left-fringe . ,doom-fringe-size) default-frame-alist) | |
(push `(right-fringe . ,doom-fringe-size) default-frame-alist) |
Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program: