Skip to content

Instantly share code, notes, and snippets.

View GiulioCentorame's full-sized avatar

Giulio Centorame GiulioCentorame

View GitHub Profile
@byronaltice
byronaltice / nopromotedtweets.js
Last active July 23, 2021 17:23 — forked from gaulinmp/nopromotedtweets.js
Tampermonkey script to remove promoted tweets
// ==UserScript==
// @name Twitter Promoted
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Get rid of stupid promoted tweets
// @author Mac Gaulin
// @match http*://twitter.com/*
// @grant none
// ==/UserScript==
@explodecomputer
explodecomputer / tidyverse.md
Last active December 18, 2020 10:09
Tidyverse notes
@ndefrancesco
ndefrancesco / Clean_Pubmed_Search_Links.user.js
Last active June 30, 2020 00:34
Clean Pubmed Search Links
@Azeirah
Azeirah / setup-gitlab-for-magit-in-doom-emacs.md
Last active September 5, 2024 21:16
Setting up magit forge for gitlab in Doom Emacs

Magit forge for Gitlab in Doom Emacs

This guide assumes you're working on a Unix-like environment. I'm using Linux Mint (Ubuntu). It should work on Macs, and might on Windows.

These are the four steps you can use as a checklist, see the headings below for the details on each step.

  • Enable forge support
  • Create a Gitlab API key
  • Add your gitlab credentials to ~/.authinfo.gpg
  • Set-up forge in emacs
@elowy01
elowy01 / BCFtools cheat sheet
Last active November 11, 2024 12:50
BCFtools cheat sheet
*bcftools filter
*Filter variants per region (in this example, print out only variants mapped to chr1 and chr2)
qbcftools filter -r1,2 ALL.chip.omni_broad_sanger_combined.20140818.snps.genotypes.hg38.vcf.gz
*printing out info for only 2 samples:
bcftools view -s NA20818,NA20819 filename.vcf.gz
*printing stats only for variants passing the filter:
bcftools view -f PASS filename.vcf.gz