Skip to content

Instantly share code, notes, and snippets.

View JFWenisch's full-sized avatar
:shipit:
Working from home

Jean-Fabian Wenisch JFWenisch

:shipit:
Working from home
View GitHub Profile
@JFWenisch
JFWenisch / seafile-recover-data.md
Last active September 10, 2024 05:53
Recover seafile data from filesystem

First of, you need to download seafile to be able to use the seaf-fsck tool. If you are on a windows computer you can also use ubuntu via wsl.

Download & extract seafile

sudo apt -y install wget
export VER="7.1.3"
wget https://download.seadrive.org/seafile-server_${VER}_x86-64.tar.gz
sudo tar -xvf  seafile-server_${VER}_x86-64.tar.gz -C /srv
sudo mv /srv/seafile-server-${VER} /srv/seafile
@JFWenisch
JFWenisch / gist:76978d17b83eca56c2d473c26cc2ad38
Created June 28, 2017 11:35
Install / build parrot SDK on Linux
Mkdir parrot
Cd parrot
Mkdir repo_bin
Curl https://storgage.googleapis.com/git-repo-downloads/repo > ~/parrot/repo_bin/repo
Cd repo_bin
Chmod a+x repo
PATH=~/parrot/repo_bin:$PATH
Cd ..
Mkdir SDK
Cd SDK
@nickpettican
nickpettican / stats04
Last active April 29, 2019 09:32
Session04
# CHAPTER 6:
# TWO SAMPLES
# The classical tests:
# - Comparing two variances: Fisher's F test
var.test
# - Comparing two sample means with normal errors: Student's t test
t.test
# - Comparing two means with non-normal errors: Wilcoxon's test
@dwilliamson
dwilliamson / gist:e9b1ba3c684162c5a931
Last active December 20, 2021 19:38
Workflow for using git subtree on Windows
To include a library as a subtree, follow these steps:
1. Add the project as a remote
git remote add <remote-name> <source-repo>
2. Fetch the remote
git fetch <remote-name>
3. Add the project
git subtree add --prefix "path/to/project" <remote-name> <remote-branch-name> --squash