add this to /etc/wpa_supplicant/wpa_supplicant.conf
network = {
ssid="eduroam"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="#####@ucl.ac.uk"
anonymous_identity="[email protected]"
url | name | user | type | |
---|---|---|---|---|
https://bioconductor.org/packages/regioneR | regioneR | NA | Bioconductor | |
https://bioconductor.org/packages/karyoploteR | karyoploteR | NA | Bioconductor | |
https://bioconductor.org/packages/metavizr | metavizr | NA | Bioconductor | |
https://bioconductor.org/packages/IsoformSwitchAnalyzeR | IsoformSwitchAnalyzeR | NA | Bioconductor | |
https://cran.rstudio.com/packages/UpSetR | UpSetR | NA | CRAN | |
https://github.com/pachterlab/sleuth | sleuth | pachterlab | github | |
https://github.com/nekrut/lab_site | lab_site | nekrut | github | |
https://github.com/bernatgel/karyoploter_tutorial | karyoploter_tutorial | bernatgel | github | |
https://bitbucket.org/biobakery/metaphlan2 | metaphlan2 | biobakery | github |
add this to /etc/wpa_supplicant/wpa_supplicant.conf
network = {
ssid="eduroam"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="#####@ucl.ac.uk"
anonymous_identity="[email protected]"
// points = number of points (minimum 3) | |
// outer = radius to outer points | |
// inner = radius to inner points | |
module Star(points, outer, inner) { | |
// polar to cartesian: radius/angle to x/y | |
function x(r, a) = r * cos(a); | |
function y(r, a) = r * sin(a); | |
// angular width of each pie slice of the star |
You can use IGV to automatically & programmatically load genomic datasets and take snapshots of regions of interest. This is very handy and helps you avoid taking many screenshots manually.
Manual page here:
http://software.broadinstitute.org/software/igv/batch
These commands are also available:
http://software.broadinstitute.org/software/igv/PortCommands
#!/usr/bin/env python | |
import io | |
import os | |
import pandas as pd | |
def read_vcf(path): | |
with open(path, 'r') as f: | |
lines = [l for l in f if not l.startswith('##')] |
A couple months ago, a friend ask me to repair a failing macintosh.
It appears the hard drive has multiple failures from SMART anlysis.
Next reboot... Oh crap, the operating system does not start anymore. The drive contains 10 years of pictures to recover. A heart pinch :'(
Important thing to know, if (certainely) the disk is crypted and you don't know the principal user login password,
#!/bin/sh | |
set -ue | |
[ "$#" -lt 2 ] && { echo "Syntax: $0 <filename> <key>"; exit 1; } | |
filename="$1" | |
key="$2" | |
# Compose the key by repeating the user input until we have 32 characters (64 hex digits) |
import os | |
os.environ['OPENAI_API_KEY'] = '<Your OpenAI API Key>' | |
# See here on how to find your Zotero info: https://github.com/urschrei/pyzotero#quickstart | |
ZOTERO_USER_ID = '<Your Zotero User ID>' | |
ZOTERO_API_KEY = '<Your Zotero API Key>' | |
ZOTERO_COLLECTION_ID = '<Your Zotero Collection ID>' | |
question = 'What predictive models are used in materials discovery?' | |
# The following prompt instruction is injected to limit the number of keywords per query |
# Why? | |
# To paste text into windows that normally don't allow it or have access to the clipboard. | |
# Examples: Virtual machines that do not yet have tools installed, websites that hijack paste | |
# | |
# Extended vs Simple? | |
# * Includes an initial delay to allow you to change active windows | |
# * Adds small delay between keypresses for slower responding windows like SSH sessions | |
# * Better handling of numbers | |
# * VMWare bug fix | |
# |