Skip to content

Instantly share code, notes, and snippets.

Installing PyPSA-Eur

  1. If you don’t have Anaconda installed, install it from here. This will use up to 6GB of disk space and might take some time. A less heavy alternative is Miniconda.
  2. Download PyPSA-Eur as a zip (and extract it) or using GitHub (if you are familiar with git).
  3. Launch “Anaconda Prompt (Anaconda3)” from the Start Menu if using Windows. On Linux/Mac, open a terminal (making sure conda is available, if not add its path in the PATH environment variable).
  4. If the prompt starts with (base), type
    conda deactivate

    press Enter and make sure (base) disappears.

  5. Type
var huginn = window.location.protocol + "//" +
var auth_key = document.getElementsByName("csrf-token")[0].content;
for (var a in window.agentPaths) {
var url = huginn + window.agentPaths[a].match(/\/agents\/\d+/)[0] + "/remove_events"
$.post(url,"_method=delete&authenticity_token=" + auth_key,function(data,success,xhr){
jackjackk / content-diff.html
Last active April 18, 2019 09:19
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
.AlignLeft { text-align: left; }
.AlignCenter { text-align: center; }
.AlignRight { text-align: right; }
body { font-family: sans-serif; font-size: 11pt; }
img.AutoScale { max-width: 100%; max-height: 100%; }
jackjackk /
Last active August 24, 2018 18:22
Moeaframework and WFG
org.moeaframework.core.indicator.hypervolume = wfg2 {2}
org.moeaframework.core.indicator.hypervolume_inverted = true
jackjackk /
Last active November 23, 2016 11:57 — forked from tadly/
A simple shell script to quickly / easily install "pacaur" on archlinux
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
# This scripts purpose is purly to save you a few seconds on your new installation.
# Enjoy your time on an awesome system. Arch FTW!
uname -a
Linux jackberrypi 4.1.18-3-ARCH #1 Mon Feb 29 12:57:31 MST 2016 armv6l GNU/Linux
pacaur -S tracks