- [ ] here’s a checkbox
- [X] here’s a checked one
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Welcome to IELM *** Type (describe-mode) for help. | |
ELISP> use-package-inject-hooks | |
t | |
ELISP> (macroexpand '(use-package derp)) | |
(let | |
((now | |
(current-time))) | |
(message "%s..." "Loading package derp") | |
(prog1 | |
(if |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
evil-inner-text-objects-map | |
--------------------------- | |
For more information check the manuals. | |
Keymap for inner text objects. | |
key binding | |
--- ------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies: #s(hash-table size 512 test eql rehash-size 1.5 rehash-threshold | |
0.8 data (emacs (aggressive-indent anzu async avy define-word evil-escape | |
fancy-battery helm helm-core helm-swoop highlight-numbers paradox quelpa | |
vi-tilde-fringe which-key) bind-key (use-package) diminish (use-package) cl-lib | |
(aggressive-indent anzu async avy epl evil-escape evil-exchange evil-jumper flx | |
flx-ido helm helm-ag helm-core helm-projectile hydra package-build paradox | |
pcre2el popup powerline smartparens) dash (helm-projectile projectile | |
smartparens) package-build (quelpa) pkg-info (projectile) epl (pkg-info) seq | |
(paradox) json (paradox) let-alist (paradox) spinner (paradox) hydra (paradox) | |
parent-mode (highlight-numbers) helm-core (helm helm-themes) helm (helm-ag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun dotspacemacs/layers () | |
(setq-default | |
dotspacemacs-configuration-layer-path '("~/.spacemacs.d/") | |
dotspacemacs-delete-orphan-packages t | |
dotspacemacs-distribution 'spacemacs | |
dotspacemacs-configuration-layers | |
`((auto-completion | |
:variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = np.zeros(nr*nu*2, dtype=mesh.Mesh.dtype) | |
iel = 0 | |
for i in range(nr): | |
for j in range(nu): | |
iis = [i,i+1,i,i+1,i+1,i] | |
jjs = [j,j,j+1,j,j+1,j+1] | |
data['vectors'].flat[iel+0:iel+18:3] = xpts[iis,jjs] | |
data['vectors'].flat[iel+1:iel+18:3] = ypts[iis,jjs] | |
data['vectors'].flat[iel+2:iel+18:3] = elevation[iis,jjs] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iis = np.zeros(6*nr*nu, dtype=np.int32) | |
jjs = np.zeros(6*nr*nu, dtype=np.int32) | |
iel = 0 | |
for i in range(nr): | |
for j in range(nu): | |
iis[iel:iel+6] = [i, i+1, i, i+1, i+1, i] | |
jjs[iel:iel+6] = [j, j, j+1, j, j+1, j+1] | |
iel += 1 | |
indexes = np.ravel_multi_index((iis, jjs), (nr+1, nu+1)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun gist-region (begin end &optional private callback) | |
"Post the current region as a new paste at gist.github.com | |
Copies the URL into the kill ring. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[include] | |
path = ~/.gitconfig-local | |
[user] | |
email = evfonn@gmail.com | |
name = Eivind Fonn | |
[push] | |
default = simple | |
[credential] | |
helper = cache --timeout=3600 | |
[core] |