国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
FROM wordpress:latest | |
# Setup SMTP by running apache2-config.sh | |
COPY ["apache2-config.sh", "/usr/local/bin/"] | |
CMD ["apache2-config.sh"] |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Updated Jan 14, 2025
roku.com
, rokutime.com
, and therokuchannel.roku.com
: for obvious reasons.api.roku.com
and api.rokutime.com
: System functionality.retail.rpay.roku.com
and api.rpay.roku.com
: Payment api.image.roku.com
: Checking internet connectivity by the app.Inspired by Shiki Magic Move
This code uses Google's diff-match-patch library to animate code transformations in Manim.
CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
#version 300 es | |
#ifdef GL_FRAGMENT_PRECISION_HIGH | |
precision highp float; | |
#else | |
precision mediump float; | |
#endif | |
out vec4 fragColor; | |
uniform vec2 resolution; | |
uniform vec3 orientation; |
// Python comprehension proc macro that handles multiple nested for-if-clauses, flattening nested structure. | |
// Example: | |
// | |
// let vec_of_vecs = vec![vec![1, 2, 3], vec![4, 5, 6]]; | |
// | |
// let result = comp![x for vec in vec_of_vecs for x in vec].collect::<Vec<_>>(); | |
// assert_eq!(result, [1, 2, 3, 4, 5, 6]); | |
// | |
use proc_macro2::TokenStream as TokenStream2; |
#!/bin/bash | |
# concatenate videos given start and end filenames | |
# https://trac.ffmpeg.org/wiki/Concatenate | |
# expect naming convention from achesco's split-to-scenes.sh: | |
# https://gist.github.com/achesco/4dc2ebf13378a0a61fc26c7fe01f539e | |
# leading 4 digits from $1 and $2 | |
begin=${1:0:4} | |
end=${2:0:4} |