(defun dnd-helm-characters () (interactive)
(let* ((title "Pick a character")
(file "~/life/life.org")
(olp '("D&D" "Characters"))
(sources (helm-org-file-olp-select title file olp))))
(helm :sources sources))
This file contains hidden or 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
* TODO %(ols-jira-capture-issue) [[%(ols-jira--issue-browse-url)][%(ols-jira--issue-key)]] %(ols-jira--issue-summary) :%(ols-jira--issue-priority): | |
:PROPERTIES: | |
:reporter: [[%(ols-jira--issue-reporter-link)][%(ols-jira--issue-reporter-name)]] | |
:assignee: [[%(ols-jira--issue-assignee-link)][%(ols-jira--issue-assignee-name)]] | |
:END: | |
%(ols-jira--remote-links-drawer) | |
%(ols-jira--issue-description)%(tidy-capture) |
This file contains hidden or 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
(ols-aws--make-tags '(("foo" . "bar") ("biz . "baz))) |
This file contains hidden or 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
>>> from urlparse import urlunparse | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/nix/store/836im85gwpjj7bj2clxngwhvppf4x7rq-python-2.7.14-env/lib/python2.7/urlparse.py", line 119, in <module> | |
from collections import namedtuple | |
File "/nix/store/836im85gwpjj7bj2clxngwhvppf4x7rq-python-2.7.14-env/lib/python2.7/collections.py", line 21, in <module> | |
from operator import itemgetter as _itemgetter, eq as _eq | |
ImportError: dlopen(/nix/store/836im85gwpjj7bj2clxngwhvppf4x7rq-python-2.7.14-env/lib/python2.7/lib-dynload/operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString | |
Referenced from: /nix/store/836im85gwpjj7bj2clxngwhvppf4x7rq-python-2.7.14-env/lib/python2.7/lib-dynload/operator.so | |
Expected in: flat namespace |
This file contains hidden or 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
with import <nixpkgs> {}; | |
stdenv.mkDerivation rec { | |
name = "env"; | |
env = buildEnv { name = name; paths = buildInputs; }; | |
buildInputs = [ | |
bash | |
stdenv | |
python27 | |
python27Packages.virtualenv | |
python27Packages.pip |
This file contains hidden or 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
#! /usr/bin/env nix-shell | |
#! nix-shell -i python27 shell.nix | |
print "Hello world" |
This file contains hidden or 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
config = mkIf cfg.enable { | |
home.packages = [ package ]; | |
home.file = listToAttrs configFiles; | |
home.activation.viscosity = dagEntryAfter["installPackages"] (let | |
home = config.home.homeDirectory; | |
applications = "${home}/.nix-profile/Applications"; | |
source = "${applications}/${appName}"; | |
target = "${home}/Applications/"; | |
in '' | |
if [ -e ${target}/${appName} ]; then |
This file contains hidden or 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
home.file.".ssh/personal" = { | |
text = builtins.getEnv "PERSONAL_PRIVATE_KEY"; | |
mode = "400"; | |
}; | |
home.file.".ssh/personal.pub".text = builtins.getEnv "PERSONAL_PUBLIC_KEY"; | |
home.file.".ssh/workiva" = { | |
text = builtins.getEnv "WORKIVA_PRIVATE_KEY"; |
Hera (ˈhɛrə, ˈhɪərə; Greek: Ἥρᾱ Hērā, equivalently Ἥρη Hērē, in Ionic and Homer) is the goddess of women and marriage in Greek mythology and religion. She is the daughter of the Titans Cronus and Rhea.
Slain by Hercules, Hera created the Hydra constellation.
This code allows the registration of major-mode specific hydras, and a default one. Any hydra is of course free to show the default hydra if wanted.