Skip to content

Instantly share code, notes, and snippets.

@c0psrul3
c0psrul3 / Corne.crkbd_c0psrul3.default.json
Last active March 11, 2024 07:49
Corne keyboard layout
[
{
"name": "Corne, default layer",
"author": "https://github.com/c0psrul3",
"plate": false,
"keyboard-layout-editor": "http://www.keyboard-layout-editor.com/#/gists/adfa7c3cd8f0c6d3a7b9155c6eab1748#file-corne-crkbd_c0psrul3-default-json",
"qmk-config": "https://config.qmk.fm/#/crkbd/rev1/LAYOUT"
},
[
{
@jmarshall
jmarshall / Dockerfile
Created September 21, 2018 14:23
Basic Dockerfile for fully-featured HTSlib/SAMtools/BCFtools
ARG ubuntu_version=latest
FROM ubuntu:${ubuntu_version}
USER root
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
libbz2-dev \
@samnang
samnang / gist:1759336
Created February 7, 2012 11:52
Install Bash version 4 on MacOS X
# Install Bash 4 using homebrew
brew install bash
# Or build it from source...
curl -O http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz
tar xzf bash-4.2.tar.gz
cd bash-4.2
./configure --prefix=/usr/local/bin && make && sudo make install
# Add the new shell to the list of legit shells
@chrishamant
chrishamant / s3_multipart_upload.py
Created January 3, 2012 19:29
Example of Parallelized Multipart upload using boto
#!/usr/bin/env python
"""Split large file into multiple pieces for upload to S3.
S3 only supports 5Gb files for uploading directly, so for larger CloudBioLinux
box images we need to use boto's multipart file support.
This parallelizes the task over available cores using multiprocessing.
Usage:
s3_multipart_upload.py <file_to_transfer> <bucket_name> [<s3_key_name>]