Skip to content

Instantly share code, notes, and snippets.

View Ph0non's full-sized avatar

Ph0non

  • Entsorgungswerk für Nuklearanlagen EWN GmbH
  • Greifswald
View GitHub Profile
@Ph0non
Ph0non / openpgp.txt
Created October 29, 2017 04:34
Verknüpfte OpenKeychain-Identität
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:e9f238674c299657c9cd099239733daea8fee4d1]
@Ph0non
Ph0non / openpgp.txt
Created October 29, 2017 04:33
Verknüpfte OpenKeychain-Identität
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:e9f238674c299657c9cd099239733daea8fee4d1]
@Ph0non
Ph0non / openpgp.txt
Created October 29, 2017 04:32
Verknüpfte OpenKeychain-Identität
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:e9f238674c299657c9cd099239733daea8fee4d1]
@Ph0non
Ph0non / openpgp.txt
Created October 29, 2017 04:31
Verknüpfte OpenKeychain-Identität
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:e9f238674c299657c9cd099239733daea8fee4d1]
@Ph0non
Ph0non / openpgp.txt
Created October 29, 2017 04:31
Verknüpfte OpenKeychain-Identität
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:e9f238674c299657c9cd099239733daea8fee4d1]
#######################################################
# load modules
using SQLite: query, SQLiteDB
using NamedArrays
using JuMP
using Cbc
using YAML
using ProgressMeter
#######################################################
using JuMP
using Cbc
m=Model(solver = CbcSolver());
@defVar(m, 0 <= x[1:7] <= 10000, Int);
@setObjective(m, :Min, -x[1] -x[2] );
@addConstraint(m, sum(x) == 10000); # <-- so looks the macro normally used
i = "Ni63 >= 60"
y = parse(i)
y.args[1] = :(x[[3]])
@Ph0non
Ph0non / LE.jl
Created September 27, 2015 10:36
using StatsBase
# zufällige Datenpunkte
data = rand(10000);
# betrachteter Abstand zwischen Datenpunkten
dr = 1;
# Transformation auf Rangzahlen
rx = ordinalrank(data) - 1;