string: hello mapping: more-mapping: even-more-mapping: hello empty: {} array: - one - two
- three: 3
string: hello mapping: more-mapping: even-more-mapping: hello empty: {} array: - one - two
# I thought this might allow running Adobe Digital Editions 2.0.1 but it didn't work. | |
# Leaving a gist so that I don't need to look up the commit when I need it again. | |
self: super: | |
let | |
pkgsPath = builtins.fetchTarball { | |
url = "https://github.com/NixOS/nixpkgs/archive/8a83fb70d01a953ef72293e0034474a5a93ef3c0.tar.gz"; | |
sha256 = "0f2blhwpy5vbxzrbyykn0jk0da9srgnfv4yaxi3yhmlpinlx84m9"; | |
}; | |
in { | |
wine_4 = (import pkgsPath { }).wineUnstable; |
#!/usr/bin/env python3 | |
import sys | |
import math | |
from pathlib import Path | |
import glob | |
from collections import namedtuple | |
from subprocess import run, check_output, PIPE | |
import csv | |
default.nix | |
node-env.nix | |
node-packages.nix |
.bundle/ | |
.overcommit.yml | |
vendor/ |
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
if [ "$#" -ne 2 ]; then | |
echo 'print CloudTrail event counts by username in all regions for the given time range.' | |
echo 'usage:' | |
echo " $0" 'start-time end-time' | |
echo 'example:' |
""" | |
Replace all NEEDEDs of all ELF files in /nix/store with absolute paths. | |
Requires python-magic. | |
""" | |
from __future__ import print_function | |
import os.path | |
import subprocess | |
from collections import namedtuple | |
import functools |
Ad hoc research for deciding how to implement file inclusion/exclusion logic in elm-doc.
Notes:
((elm-mode | |
(eval . (progn | |
(require 'projectile) | |
(setq elm-format-elm-version "0.18") | |
(setq elm-format-command "elm-format-0.18"))))) |
# Patch to make nltk.parse.bllip.py work in Python 3 | |
def _ensure_ascii(words): | |
try: | |
for i, word in enumerate(words): | |
if isinstance(word, bytes): | |
word.decode('ascii') | |
else: | |
word.encode('ascii') | |
except UnicodeDecodeError: |