Problems:
- Layers need system programs
- Spacemacs does its own deterministic (but bad) package management
emacsWithPackagesalready exists in nixpkgs
| ;;; Patching Citar | |
| ;; Prerequisites | |
| (require 'org) | |
| (require 'ol-bibtex) | |
| (require 'citeproc-bibtex) | |
| (require 'citar) | |
| ;; Make org-bibtex work with biblatex fields, not needed for BibTeX | |
| (setq org-bibtex-export-arbitrary-fields t |
| <?php | |
| // Sort BuddyPress users by last name | |
| // | |
| // Use this Gist to sort members alphabetically by last name in the | |
| // members directory. Follow the instructions below and drop the code | |
| // in your functions.php or your functions plugin. | |
| // | |
| // Updated to work with BP 1.7. See earlier revisions of this gist for | |
| // earlier versions of BP. |
| <?php | |
| // Sort BuddyPress users by last name | |
| // | |
| // Use this Gist to sort members alphabetically by last name in the | |
| // members directory. Follow the instructions below and drop the code | |
| // in your functions.php or your functions plugin. | |
| // | |
| // Updated to work with BP 1.7. See earlier revisions of this gist for | |
| // earlier versions of BP. |
I'm using HXT to transform a XML into another XML document. Selecting some nodes using XPath.
Here I want to collect all the authors in a new authors node.
<?xml version="1.0" encoding="UTF-8"?>
<bookstore>
<book category="COOKING">
<title lang="en">Everyday Italian</title>Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh