Repair manual: http://topics-cdn.dell.com/pdf/xps-15-9560-laptop_setup%20guide_en-us.pdf
I have:
Product Name: XPS 15 9560
System BIOS: 1.0.3
Service Tag: 3862XF2
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| ''' | |
| Simply run this script in the output folder of an AlphaFold-run. For more infos on the pLDDT, refer to the original AlphaFold publication (https://www.nature.com/articles/s41586-021-03819-2) | |
| https://github.com/deepmind/alphafold/issues/8 | |
| ''' | |
| import json |
| from pathlib import Path | |
| import parmap | |
| import requests | |
| def update(gsll): | |
| return [g for g in gsll if not (output_dir / (g + ".gmt")).exists()] | |
| #!/usr/bin/env python | |
| import argparse | |
| import pyBigWig | |
| parser = argparse.ArgumentParser(description="Convert the chromosome names of a bigWig file.") | |
| parser.add_argument("conv", metavar="conversion.txt", help="Text file with two columns, the first a chromosome name and the second the converted chromosome name.") | |
| parser.add_argument("input", metavar="input.bigWig", help="Input bigWig file") | |
| parser.add_argument("output", metavar="output.bigWig", help="Output bigWig file name") | |
| args = parser.parse_args() |
| { stdenv, fetchurl }: | |
| let | |
| fetchfont = name: num: sha: | |
| fetchurl { | |
| url = "https://fontsup.com/download/${builtins.toString num}.html"; | |
| sha256 = sha; | |
| name = "${name}"; | |
| }; | |
| in stdenv.mkDerivation rec { |
| class Volcano(object): | |
| """ | |
| create a Volcano plot from log2(ratios) and corresponding -log10(p_values) | |
| ToDo: take care of infinite ratios | |
| e.g. usage | |
| import pandas as pd | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import matplotlib |
Repair manual: http://topics-cdn.dell.com/pdf/xps-15-9560-laptop_setup%20guide_en-us.pdf
I have:
Product Name: XPS 15 9560
System BIOS: 1.0.3
Service Tag: 3862XF2
| for i in $(docker-machine ls | awk '{print $1}'); do | |
| docker-machine ssh $i -- ls /swapfile || docker-machine ssh $i "fallocate -l 512M /swapfile && chmod 400 /swapfile && mkswap /swapfile" && | |
| docker-machine ssh $i "swapon /swapfile && echo '/swapfile none swap defaults 0 0' >> /etc/fstab" &>/dev/null; | |
| done |
| SPC s c remove highlight | |
| **** Files manipulations key bindings | |
| Files manipulation commands (start with ~f~): | |
| | Key Binding | Description | | |
| |-------------+----------------------------------------------------------------| | |
| | ~SPC f c~ | copy current file to a different location | | |
| | ~SPC f C d~ | convert file from unix to dos encoding | | |
| | ~SPC f C u~ | convert file from dos to unix encoding | |
| daemon off; | |
| worker_processes 4; | |
| events { | |
| use epoll; | |
| accept_mutex on; | |
| multi_accept on; | |
| worker_connections 1024; | |
| } |
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |