Skip to content

Instantly share code, notes, and snippets.

View Guillawme's full-sized avatar
💭
I might be slow to respond (days).

Guillaume Gaullier Guillawme

💭
I might be slow to respond (days).
View GitHub Profile
@Guillawme
Guillawme / atom2svg.py
Created November 12, 2024 09:04 — forked from biochem-fan/atom2svg.py
atom2svg
# atom2svg.py by @biochem_fan
# VERSION: 210224
# License: GPLv2 or later (ask me if this is inconvenient for you)
#
# LIMITATIONS:
# - This supports only a single chain. If you have more chains, shift residue IDs and merge chains.
#
# TODO:
# - Residue numbers (how to pack??)
#
@Guillawme
Guillawme / fedora-autorestic.md
Created October 29, 2024 16:01 — forked from marcan/fedora-autorestic.md
Setting up autorestic on Fedora (Asahi) for automated backups with btrfs
  • Install restic and autorestic
  • sudo mkdir -p /var/cache/restic
  • Set up /etc/autorestic.yml roughly as follows:
backends:
    mybackend:
        # Your backend options here, see the documentation
global:
    all:
        cache-dir: /var/cache/restic
@Guillawme
Guillawme / script-template.sh
Created December 16, 2020 10:12 — forked from m-radzikowski/script-template.sh
Minimal safe Bash script template - see the article with full description: https://betterdev.blog/minimal-safe-bash-script-template/
#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
@Guillawme
Guillawme / get_all_phenixbb.sh
Last active September 18, 2022 08:53
get_all_phenixbb.sh
#!/usr/bin/env bash
if [[ ! -d phenixbb ]]
then
mkdir phenixbb
fi
cd phenixbb
curl -s https://phenix-online.org/pipermail/phenixbb/ |\
@Guillawme
Guillawme / get_all_chimerax-users.sh
Last active September 23, 2022 11:08 — forked from DustinMorado/get_all_3dem.sh
Download all chimerax-users mailing list archives
#!/usr/bin/env bash
if [[ ! -d chimerax-users ]]
then
mkdir chimerax-users
fi
cd chimerax-users
curl -s https://www.rbvi.ucsf.edu/pipermail/chimerax-users/ |\
@Guillawme
Guillawme / keybase.md
Created March 27, 2019 00:00
Keybase proof

Keybase proof

I hereby claim:

  • I am guillawme on github.
  • I am guillawme (https://keybase.io/guillawme) on keybase.
  • I have a public key ASAuMUZ1v2L27FLCeMSeiiJUjya8umv2Ej1bYB_oI9K4Zgo

To claim this, I am signing this object: