Skip to content

Instantly share code, notes, and snippets.

View tmxdyf's full-sized avatar
💭
I may be slow to respond.

tmxdyf tmxdyf

💭
I may be slow to respond.
View GitHub Profile
@tmxdyf
tmxdyf / gist:e9dee721d54978cd2685da1eee64ba1a
Created December 26, 2024 03:49
自定义带接收者的Lazy
import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KProperty
private val UNINITIALIZED_VALUE = Any()
/**
*
* @author CY 2024-12-25
@tmxdyf
tmxdyf / gist:ec238caff9337c2c43dae3d72689f420
Created December 18, 2024 06:31 — forked from erikrs92/gist:2f310e7604afbf97d6fa640e68c98fc5
Jfrog OSS - Linux Install - ubuntu 24
Login sudo or user sudo permisions, and add user artifactory.
# Step 1: Import repository GPG Key
$ sudo apt update
$ wget -qO - https://api.bintray.com/orgs/jfrog/keys/gpg/public.key | sudo apt-key add -
# Step 2: Add JFrog Artifactory to Ubuntu 20.04
$ echo "deb https://jfrog.bintray.com/artifactory-debs bionic main" | sudo tee /etc/apt/sources.list.d/jfrog.list
$ sudo apt update
@tmxdyf
tmxdyf / gist:3a0be590873cb2fa83660f7d0f87340b
Created October 1, 2022 14:22 — forked from tayvano/gist:6e2d456a9897f55025e25035478a3a50
complete list of ffmpeg flags / commands
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full.
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…
Getting help:
-h — print basic options
-h long — print more options
-h full — print all options (including all format and codec specific options, very long)
@tmxdyf
tmxdyf / api.md
Created September 22, 2016 06:03 — forked from jerrylau91/api.md
12306 API

12306数据接口API(草稿)

简化12306接口,规范属性名称,用于数据库设计,数据接口定义

数据定义

命名规则