Skip to content

Instantly share code, notes, and snippets.

View NicolasCARPi's full-sized avatar
🐨

Nicolas CARPi NicolasCARPi

🐨
View GitHub Profile
@NicolasCARPi
NicolasCARPi / eLabFTW_CLA
Last active June 29, 2020 14:49 — forked from CLAassistant/SAP_CLA
eLabFTW Individual Contributor License Agreement
### eLabFTW Individual Contributor License Agreement
Thank you for your interest in contributing to eLabFTW made available by Nicolas CARPi and other contributors. This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to eLabFTW in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please open an issue about it.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to eLabFTW a non-exclusive, perpetual, irrevocable, worldwide, fully-paid, royalty
@NicolasCARPi
NicolasCARPi / pystartup
Created October 24, 2018 10:16
~/.pystartup file
# Add auto-completion and a stored history file of commands to your Python
# interactive interpreter. Requires Python 2.0+, readline. Autocomplete is
# bound to the Esc key by default (you can change it - see readline docs).
#
# Store the file in ~/.pystartup, and set an environment variable to point
# to it: "export PYTHONSTARTUP=/home/user/.pystartup" in bash.
#
# Note that PYTHONSTARTUP does *not* expand "~", so you have to put in the
# full path to your home directory.

Keybase proof

I hereby claim:

  • I am nicolascarpi on github.
  • I am nicolascarpi (https://keybase.io/nicolascarpi) on keybase.
  • I have a public key whose fingerprint is A7F9 F40D 3426 497A 037E 05C9 BF93 ACFF 68D6 FF08

To claim this, I am signing this object:

@NicolasCARPi
NicolasCARPi / backup.sh
Created February 11, 2016 03:36
Backup an elabftw installation
#!/bin/sh
# backup.sh - Backup eLabFTW installation
# ------
# CONFIG
# ------
BACKUP_DIR='~/.backups/elabftw'
ELAB_ROOT='/var/www/html/elabftw'
DB_HOST='localhost'