Skip to content

Instantly share code, notes, and snippets.

View hwalinga's full-sized avatar

Hielke Walinga hwalinga

View GitHub Profile
@hwalinga
hwalinga / django_utils.py
Last active April 28, 2020 21:08
Include replacing of ES6 imports for ManifestStaticiFilesStorage
from django.contrib.staticfiles import storage
class IncludeJavascriptImportsStaticFilesStorage(storage.ManifestStaticFilesStorage):
"""
Include patterns that deal with the javascript import files.
It is important to note that the pattern only matches if the file path
starts with / or ./ or ../
I.e. it only matches if the file path is explicitly absolute or relative.
@hwalinga
hwalinga / # perl - 2020-05-23_22-21-28.txt
Created May 23, 2020 22:47
perl on Ubuntu 20.04 LTS - Homebrew build logs
Homebrew build logs for perl on Ubuntu 20.04 LTS
Build date: 2020-05-23 22:21:28
[tool.poetry]
name = "demap"
version = "0.1.0"
description = "Measure and plot"
authors = ["Hielke Walinga"]
[tool.poetry.dependencies]
python = "^3.7"
django = "^2.2.13"
django-filter = "^2.2.0"
Using virtualenv: /home/hielke/.cache/pypoetry/virtualenvs/demap-kqoNszLJ-py3.8
PyPI: 31 packages found for pint *
Using version ^0.16 for Pint
Updating dependencies
Resolving dependencies...
1: fact: demap is 0.1.0
1: derived: demap
0: Duplicate dependencies for pint
1: fact: demap depends on django (^2.2.13)
@hwalinga
hwalinga / data_mRNA100.txt
Created February 24, 2021 22:58
Cytoscape import bug
GeneID SJAMLM7001_D SJAMLM7002_D SJAMLM7003_D SJAMLM7005_D SJAMLM7006_D SJAMLM7007_D SJAMLM7008_D SJAMLM7009_D SJAMLM7010_D SJAMLM7010475_D1 SJAMLM7010479_D1 SJAMLM7010948_R1 SJAMLM7010949_D1 SJAMLM7010949_R2 SJAMLM7010950_D1 SJAMLM7010951_D1 SJAMLM7010952_D1 SJAMLM7010953_D1 SJAMLM7010954_D1 SJAMLM7010955_D1 SJAMLM7010955_R1 SJAMLM7010959_D1 SJAMLM7010961_D1 SJAMLM7010963_D1 SJAMLM7011_D SJAMLM7011108_D2 SJAMLM7011109_D2 SJAMLM7011234_D1 SJAMLM7011236_D1 SJAMLM7011238_D1 SJAMLM7011242_D1 SJAMLM7011246_D1 SJAMLM7011247_D1 SJAMLM7011248_D1 SJAMLM7011249_D1 SJAMLM7011321_D1 SJAMLM7012_D SJAMLM7013_D SJAMLM7014_D SJAMLM7015_D SJAMLM7015533_D1 SJAMLM7028_D SJAMLM7029_D SJAMLM7030_D SJAMLM7031_D SJAMLM7033_D SJAMLM7058_D SJAMLM7060_D
HOXA5 -1.514573173 -1.514573173 2.554966972 -1.514573173 -1.514573173 1.710556299 -1.514573173 -1.514573173 -1.514573173 -1.514573173 8.379928479 -1.514573173 7.361970084 8.179774764 2.09747933 7.151757364 6.653260696 -1.514573173 -1.500609726 7.975183058 7.984139292 3.990165245 1.966