Skip to content

Instantly share code, notes, and snippets.

View weralwolf's full-sized avatar

Anatolii Koval weralwolf

View GitHub Profile
@weralwolf
weralwolf / Dockerfile
Last active April 28, 2018 13:38
Dynamics Explorer 2 data. Docker image weralwolf/de2-data
FROM alpine:latest
# Download datafiles
ENV FTP_NASA_SERVER="spdf.gsfc.nasa.gov" \
PATH_NACS="/pub/data/de/de2/neutral_gas_nacs/n_T_1s_ascii/data" \
PATH_WATS="/pub/data/de/de2/neutral_gas_wats/n_T_v_2s_ascii"
RUN apk update && \
apk add wget && \
mkdir -p /data/nacs /data/wats

Keybase proof

I hereby claim:

  • I am weralwolf on github.
  • I am weralwolf (https://keybase.io/weralwolf) on keybase.
  • I have a public key whose fingerprint is FE29 BA38 7BC9 0945 8A06 9B46 08CF B136 74E2 1E49

To claim this, I am signing this object:

@weralwolf
weralwolf / Gruntfile.js
Created September 16, 2015 08:14
Simple example of server with live reload for Grunt.
module.exports = function(grunt) {
require("load-grunt-tasks")(grunt); // npm install --save-dev load-grunt-tasks
grunt.initConfig({
watch: {
statics: {
files: ['index.html'],
options: {
livereload: true,
},
@weralwolf
weralwolf / bad_defaults.py
Last active August 29, 2015 14:07
Help to find in big project functions with potential problems because of dict/list default params. Colorize its output respect to bpython coloring way.
import sys
import json
import types
import collections
from os import walk
"""
Help to find in big project functions with potential problems
because of dict/list default params. Colorize its output
respect to bpython coloring way.