Skip to content

Instantly share code, notes, and snippets.

@awayings
awayings / docker-registry-mirrors.md
Created October 27, 2023 05:30 — forked from y0ngb1n/docker-registry-mirrors.md
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized

Docker Hub 镜像加速器

国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。

Dockerized 实践 https://github.com/y0ngb1n/dockerized

配置加速地址

Ubuntu 16.04+、Debian 8+、CentOS 7+

@awayings
awayings / freeze.p
Created September 25, 2014 08:43
Freeze database schema
// After schema change is done, we should freeze the schema
for each _file where not _file._hidden:
assign _file._frozen = yes.
end.
@awayings
awayings / dosample
Created September 5, 2014 10:18
Base Data Object Sample
''=======================
''Name: clsBaseDataObject
''Type: Class
''Author: jvz
''Date: 9/5/2014
''Description:
'' This class provides the structure of all useful information to be
'' used for base module menus
@awayings
awayings / sample
Last active August 29, 2015 14:06
Test Complete Fill Data Sample
'set BrowseKeyFields
'set Fields on UI
Dim masterKeyFields, arrMaterKeyFields, arrMasterKeyFieldsType, fieldDataObject
arrMaterKeyFields = Array("DaybookGroupCode", "Description", "IsActive")
arrMasterKeyFieldsType = Array(Project.Variables.g_TYPE_TEXTBOX, Project.Variables.g_TYPE_TEXTBOX, Project.Variables.g_TYPE_CHECKBOX)
Set masterKeyFields = CreateObject("Scripting.Dictionary")
dim i