Skip to content

Instantly share code, notes, and snippets.

David Pärsson davidparsson

  • AMRA AB
  • Linköping, Sweden
View GitHub Profile
@davidparsson
davidparsson / # pyenv - 2017-04-03_16-41-53.txt
Created May 22, 2017
pyenv on macOS 10.12.4 - Homebrew build logs
View # pyenv - 2017-04-03_16-41-53.txt
Homebrew build logs for pyenv on macOS 10.12.4
Build date: 2017-04-03 16:41:53
@davidparsson
davidparsson / editor.py
Created Nov 14, 2016 — forked from eugene-eeo/editor.py
editor.py prototype
View editor.py
#!/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 Jan 4, 2016
Gradle bug: Moving file creation from processResources to a dependency will remove the generated file
View build.gradle
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
You can’t perform that action at this time.