Skip to content

Instantly share code, notes, and snippets.

View Pinjontall94's full-sized avatar
🌱
Doing

Sam Johnson Pinjontall94

🌱
Doing
View GitHub Profile
@Pinjontall94
Pinjontall94 / guix.fish
Created June 17, 2024 20:51
Guix profile configuration for fish (i.e. fish-equivalent of ~/.guix-profile/etc/profile)
# Source this file to define all the relevant environment variables in Fish
# for this profile. An easy way to do this is to place this file in
# $XDG_CONFIG_HOME/fish/conf.d/
#
# You may want to define the 'GUIX_PROFILE' environment
# variable to point to the "visible" name of the profile, like this:
#
#
# When GUIX_PROFILE is undefined, the various environment variables refer
# to this specific profile generation.
@Pinjontall94
Pinjontall94 / discord_update.sh
Created May 3, 2024 23:19
update generic linux discord tarball in /opt/Discord
#!/bin/bash
set -e
#NOTE: all that really has to happen is the following:
# $ sudo rm -rf /opt/Discord && sudo tar -xf ~/Downloads/discord-*.tar.gz -C /opt/
# Globals
old_cwd="$(pwd)"
#!/usr/bin/python3
"""
Description: Will write the barcodes at the beginning of the output file.
Usage:
python merge_bcs_reads.py X Y Z
X: barcodes fastq file
Y: reads fastq file
Z: merged output file
"""