Skip to content

Instantly share code, notes, and snippets.

Nicolas CARPi NicolasCARPi

Block or report user

Report or block NicolasCARPi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@NicolasCARPi
NicolasCARPi / eLabFTW_CLA
Last active Jan 4, 2019 — forked from CLAassistant/SAP_CLA
eLabFTW Individual Contributor License Agreement
View eLabFTW_CLA
### 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 Oct 24, 2018
~/.pystartup file
View pystartup
# 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.
View keybase.md

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 Feb 11, 2016
Backup an elabftw installation
View backup.sh
#!/bin/sh
# backup.sh - Backup eLabFTW installation
# ------
# CONFIG
# ------
BACKUP_DIR='~/.backups/elabftw'
ELAB_ROOT='/var/www/html/elabftw'
DB_HOST='localhost'
You can’t perform that action at this time.