- Android Studio Flamingo | 2022.2.1
- Build #AI-222.4459.24.2221.9862592, built on March 31, 2023
- Gradle JDK: jbr-17 (JetBrains Runtime version 17.0.6)
- Windows 11 (version 10.0.22000.1817)
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
import dlib | |
import cv2 | |
#step1: read the image | |
image = cv2.imread("./testimages/test1.jpg") | |
#step2: converts to gray image | |
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) | |
#step3: get HOG face detector and faces |
/** | |
* GradientHDRAttribute created by Chance Millar at Two Tails Games on 2018/05/08 | |
* Use freely. That's a license, right? | |
* | |
* Attach attribute like so: | |
* | |
* [GradientHDR] | |
* public Gradient _HDRGradient; | |
* | |
* Make sure this is placed in a non-Editor folder inside Assets. |
Considering the lack of multi-threaded download support in the official huggingface-cli
, and the inadequate error handling in hf_transfer
, this command-line tool smartly utilizes wget
or aria2
for LFS files and git clone
for the rest.
--exclude
or --include
to skip or specify files, save time for models with duplicate formats (e.g., *.bin
or *.safetensors
).--hf_username
and --hf_token
to authenticate.HF_ENDPOINT
environment variable.#!/usr/bin/env bash | |
# ensure we were given two command line arguments | |
if [[ $# -ne 2 ]]; then | |
echo 'usage: vault-cp SOURCE DEST' >&2 | |
exit 1 | |
fi | |
source=$1 | |
dest=$2 |
typedef struct _STARTUPINFOW { | |
UINT32 cb; | |
LPWSTR lpReserved; | |
LPWSTR lpDesktop; | |
LPWSTR lpTitle; | |
UINT32 dwX; | |
UINT32 dwY; | |
UINT32 dwXSize; | |
UINT32 dwYSize; | |
UINT32 dwXCountChars; |
Red Hat OpenShift version | Kubernetes version |
---|---|
4.15 | 1.28 |
4.14 | 1.27 |
4.13 | 1.26 |
4.12 | 1.25 |
4.11 | 1.24 |
4.10 | 1.23 |
4.9 | 1.22 |
4.8 | 1.21 |
This gist blocks incoming traffic from
Tor exit nodes. You can also use it to
MARK
or redirect the incoming traffic, depending of your needs.
This guide is for IPv4 only, feel free to contribute IPv6 support if you have it.
image: docker:latest | |
variables: | |
REPOSITORY_URL: <AWS ACCOUNT ID>.dkr.ecr.eu-central-1.amazonaws.com/<ECS REPOSITORY NAME> | |
REGION: eu-central-1 | |
TASK_DEFINTION_NAME: <TASK DEFINITION NAME> | |
CLUSTER_NAME: <CLUSTER NAME> | |
SERVICE_NAME: <SERVICE NAME> | |
services: |