Need to setup gpg-agent first, on OSX I use keychain (it also does ssh-agent)
$ brew info keychain
keychain: stable 2.8.5
User-friendly front-end to ssh-agent(1)
https://www.funtoo.org/Keychain
/usr/local/Cellar/keychain/2.8.5 (7 files, 108.5KB) *
# vim:fileencoding=utf-8:ft=conf | |
# Fully featured | |
font_family FuraCode Nerd Font Mono | |
italic_font auto | |
bold_font auto | |
bold_italic_font auto | |
# Font size (in pts) | |
font_size 11.0 |
from __future__ import print_function | |
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
from torch.autograd import Variable | |
def sample_gumbel(shape, eps=1e-20): | |
U = torch.rand(shape).cuda() | |
return -Variable(torch.log(-torch.log(U + eps) + eps)) |
Directions for getting windows 10 to work with virtualbox 6.0.12.
I'm writing this gist for my own records but it might help someone else too.
Support for Catalina has improved a lot since the update was first rolled out.
Note: See the NixOS manual for discussion of the --darwin-use-unencrypted-nix-store-volume
option.
;; Note: put `rga' in your PATH. -*- lexical-binding: t; -*- | |
(require 'consult) | |
(defcustom consult-ripgrep-all-args | |
"rga --null --line-buffered --color=never --max-columns=1000 --path-separator /\ --smart-case --no-heading --with-filename --line-number" | |
"Command line arguments for ripgrep, see `consult-ripgrep-all'. | |
The dynamically computed arguments are appended. | |
Can be either a string, or a list of strings or expressions." | |
:type '(choice string (repeat (choice string expression)))) |