Skip to content

Instantly share code, notes, and snippets.

View davidparsson's full-sized avatar

David Pärsson davidparsson

View GitHub Profile
@davidparsson
davidparsson / # pyenv - 2017-04-03_16-41-53.txt
Created May 22, 2017 16:37
pyenv on macOS 10.12.4 - Homebrew build logs
Homebrew build logs for pyenv on macOS 10.12.4
Build date: 2017-04-03 16:41:53
@davidparsson
davidparsson / editor.py
Created November 14, 2016 08:06 — forked from eugene-eeo/editor.py
editor.py prototype
#!/usr/bin/env python
"""Tools for invoking editors programmatically."""
from __future__ import print_function
import sys
import locale
import os.path
import subprocess
import tempfile
@davidparsson
davidparsson / build.gradle
Last active January 4, 2016 06:09
Gradle bug: Moving file creation from processResources to a dependency will remove the generated file
apply plugin: 'java'
task(copyInput, type: Copy) {
from 'input.txt'
into "${sourceSets.main.output.resourcesDir}"
}
processResources {
//dependsOn copyInput // Enable this line after first execution
from 'input.txt' // Disable this line after first execution