I hereby claim:
- I am swiesend on github.
- I am swiesend (https://keybase.io/swiesend) on keybase.
- I have a public key ASDy0SODfRblXuJk-wEgBPNZ0V72-VRmMkG2OV5HtUo7sQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
cd(@__DIR__) | |
using OnlineStats | |
using Dates | |
using Plots | |
gr() | |
function test() | |
data = Plots.fakedata(250,2) .+ [2 1] | |
n,m= size(data) | |
ewmas = zeros(0,2) |
<?xml version="1.0"?> <!--*-nxml-*--> | |
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | |
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | |
<!-- | |
SPDX-License-Identifier: LGPL-2.1+ | |
This file is part of systemd. | |
systemd is free software; you can redistribute it and/or modify it |
using Flux | |
using Flux: treelike, Recur, _truncate, prefor | |
function average(mapped) | |
D = mapped[1] | |
for m in 2:length(mapped) | |
D = D .+ mapped[m] | |
end | |
D = D ./ length(mapped) | |
D |
#!/bin/sh | |
[ "$#" -lt 1 ] && echo "Usage: $0 program options" && exit 1 | |
program="$1" | |
shift | |
user=$(whoami) | |
env_reference_process=$( pgrep -u "$user" xfce4-session || pgrep -u "$user" ciannamon-session || pgrep -u "$user" gnome-session || pgrep -u "$user" gnome-shell || pgrep -u "$user" kdeinit ) |
#!/bin/sh | |
SUMMARY=$1 | |
BODY=$2 | |
ICONS=$3 | |
NEXT_ICON=`find $ICONS -type f | shuf -n1` | |
echo "$SUMMARY" | |
echo "$BODY" |
def combinations(ll, j=0, cll=None): | |
'''Returns a list of word combinations. | |
Generates recursively a cartesian product for given possibilities. | |
Note: This function consumes a lot of memory for large words with many possibilities. | |
Example: | |
>>> ll = [[u'h'], [u'e', u'a'], [u'l', u'll'], [u'o']] |