(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
MOSDNS v5 配置 |
import gdal | |
from osgeo import gdal_array | |
import osr | |
import numpy | |
def get_dst_dataset(dst_img, cols, rows, layers, dtype, proj, gt): | |
""" | |
Create a GDAL data set in Cloud Optimized GeoTIFF (COG) format | |
:param dst_img: Output filenane full path |
#define _USE_MATH_DEFINES | |
#include <stdio.h> | |
#include <cmath> | |
#include <vector> | |
#include <random> | |
static bool is_running = true; | |
#if _WIN32 | |
#define WIN32_LEAN_AND_MEAN |
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
#! /usr/bin/env python3 | |
""" | |
List all Firefox tabs with title and URL | |
Supported input: json or jsonlz4 recovery files | |
Default output: title (URL) | |
Output format can be specified as argument | |
""" |
import os | |
import requests | |
import csv | |
import time | |
def fetch_all_users(api_key): | |
url = "https://api.clerk.dev/v1/users" | |
headers = { | |
"Authorization": f"Bearer {api_key}", |