Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
- Install Xcode from App Store or install Command Line Tools on your Mac
{-# LANGUAGE TypeSynonymInstances #-} | |
data Dual d = D Float d deriving Show | |
type Float' = Float | |
diff :: (Dual Float' -> Dual Float') -> Float -> Float' | |
diff f x = y' | |
where D y y' = f (D x 1) | |
class VectorSpace v where | |
zero :: v |
Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
I'm a user of mwan3 and contribute to its development in a small way by mainly providing feedback with my multi WAN setup and maintaining the beast of it's documentation on the OpenWrt wiki (feedback and contributors welcome).
This setup ultimately requires the use of a NAT6 firewall script. NAT6 is currently broke with fw3 and LuCI, so this is an important helper script to workaround this current limitation.
The NAT6 configuration requirements are explained in more detail on the OpenWrt wiki.
This gist is aims to document my configuration for others.
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
# -1. 感谢tongyifan,本脚本由他的qBittorrent版本修改而来,项目地址 https://gist.github.com/tongyifan/83220b417cffdd23528860ee0c518d15 | |
# 0. 免责:仅在本人的Transmission v2.94上测试通过,本人不承担任何责任 | |
# 1. 安装依赖: pip3 install requests transmissionrpc | |
# 2. 修改代码开头的apikey和transmission_config | |
# 3. 运行: python3 u2_update.py | |
# 4. 中间有报错就再运行,直到显示找到0个未被更新的种子为止 | |
# 5. 请勿手动中断脚本运行! |
<html> | |
<pre id='log'></pre> | |
<script src="mojo_bindings.js"></script> | |
<script src="third_party/blink/public/mojom/blob/blob_registry.mojom.js"></script> | |
<script src="being_creator_interface.mojom.js"></script> | |
<script src="food_interface.mojom.js"></script> | |
<script src="dog_interface.mojom.js"></script> | |
<script src="person_interface.mojom.js"></script> | |
<script src="cat_interface.mojom.js"></script> | |
<script> |
library(limma) | |
library(tidyverse) | |
dge <- DGEList(counts(sce_de)) | |
dge <- calcNormFactors(dge) | |
design <- model.matrix(~ (dbz_cluster_str == "Unknown"), colData(sce_de)) # Your design matrix here | |
v <- voom(dge, design, plot = TRUE) |
# Tested on GCE Debian 8 | |
git clone --depth=1 --branch=v4.9 https://github.com/torvalds/linux.git | |
cd linux | |
curl https://raw.githubusercontent.com/google/bbr/master/Documentation/config.gce > .config | |
# Edit .config by yourself, set CONFIG_TCP_CONG_CDG=y | |
vi .config | |
git apply tcp_cdg.patch | |
# or git apply tcp_bugs.patch | |
make deb-pkg |
FROM alpine:3.3 | |
MAINTAINER Didiet Noor <[email protected]> (@lynxluna) | |
# Patch APK Mirror to YKode | |
RUN echo "http://dl-4.alpinelinux.org/alpine/v3.3/main" > /etc/apk/repositories | |
ENV TIMEZONE Asia/Shanghai | |
ENV PHP_MEMORY_LIMIT 512M | |
ENV MAX_UPLOAD 50M |
翻译信息 原文:https://www.nginx.com/resources/wiki/extending/converting/ 时间:2016年02月17日 译者:@Undirectlookable
NGINX 从 1.9.11 版本起,引入了一个新的模块加载方式:动态加载。这意味着模块可以根据配置文件,在 NGINX 运行时动态的加载。同样,也可以通过修改配置文件然后 Reload NGINX 来卸载模块。
模块API对于静态模块和动态模块是一致的,但是 config
文件和编译方法略微不同。这篇文章将解释这些变化。
# Download Kallisto and sratools (the latter to be able to download from SRA) | |
wget https://github.com/pachterlab/kallisto/releases/download/v0.42.3/kallisto_mac-v0.42.3.tar.gz | |
tar zvxf kallisto_mac-v0.42.3.tar.gz | |
wget http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.5.2/sratoolkit.2.5.2-mac64.tar.gz | |
tar zxvf sratoolkit.2.5.2-mac64.tar.gz | |
# Download and merge human cDNA and ncDNA files from Ensembl for the index. | |
wget ftp://ftp.ensembl.org/pub/current_fasta/homo_sapiens/cdna/Homo_sapiens.GRCh38.cdna.all.fa.gz | |
wget ftp://ftp.ensembl.org/pub/current_fasta/homo_sapiens/ncrna/Homo_sapiens.GRCh38.ncrna.fa.gz | |
cat Homo_sapiens.GRCh38.cdna.all.fa.gz Homo_sapiens.GRCh38.ncrna.fa.gz > Homo_sapiens.GRCh38.rna.fa.gz |