国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| const folder = DriveApp.getFolderById('xxxxxx') //change | |
| const ss = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('xxx') //change | |
| const data = ss.getDataRange().getDisplayValues() | |
| function doGet() { | |
| return HtmlService.createTemplateFromFile('index').evaluate() | |
| .addMetaTag('viewport', 'width=device-width, initial-scale=1') | |
| .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL) | |
| } |
| --- | |
| services: | |
| bitwarden: | |
| container_name: vault | |
| hostname: vault | |
| image: vaultwarden/server:1.30.5-alpine | |
| restart: always | |
| volumes: | |
| - /etc/localtime:/etc/localtime:ro | |
| - $PWD/log:/var/log/vaultwarden |
| (let ((orig (default-value 'repeat-echo-function)) | |
| rcol ccol in-repeat) | |
| (setq | |
| repeat-echo-function | |
| (lambda (map) | |
| (if orig (funcall orig map)) | |
| (unless rcol (setq rcol (face-foreground 'error))) | |
| (if map | |
| (unless in-repeat ; new repeat sequence | |
| (setq in-repeat t |
| open System | |
| open System.IO | |
| let sin = new FileStream(@"foo", FileMode.Open) | |
| let sout = new FileStream(@"foo.deflate", FileMode.Create) | |
| let t1 = DateTime.Now | |
| let w = new Deflate.Writer(sin) | |
| w.Compress sout | |
| sout.Close() | |
| sin.Close() |
| // Code taken from GLFW documentation: https://www.glfw.org/documentation.html | |
| #include <GLFW/glfw3.h> | |
| int main(void) | |
| { | |
| GLFWwindow* window; | |
| /* Initialize the library */ | |
| if (!glfwInit()) | |
| return -1; |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
*.apache.org, *.github.com, *.github.io, *.githubusercontent.com, *.gitlab.com, *.google.com, *.gradle.org, *.jetbrains.space, *.maven.org, *.micronaut.io, *.quarkus.io, *.scala-sbt.org, *.schemastore.org, *.spring.io, cache-redirector.jetbrains.com, cloudconfig.jetbrains.com, download-cdn.jetbrains.com, download.jetbrains.com, downloads.marketplace.jetbrains.com, ea-report.jetbrains.com, github.com, gitlab.com, google.com, gradle.org, jcenter.bintray.com, jitpack.io, micronaut.io, plugins.jetbrains.com, quarkus.io, repo.papermc.io, resources.jetbrains.com, spring.io, www.jetbrains.com
Activation Key:
UX394X3HLT-eyJsaWNlbnNlSWQiOiJVWDM5NFgzSExUIiwibGljZW5zZWVOYW1lIjoiSG9uZ2lrIFVuaXZlcnNpdHntmY3snbXrjIDtlZnqtZAiLCJsaWNlbnNlZVR5cGUiOiJDTEFTU1JPT00iLCJhc3NpZ25lZU5hbWUiOiLkvJfliJvkupEg5bel5L2c5a6kIiwiYXNzaWduZWVFbWFpbCI6ImhhbmF6YXdhbWl0b0BnbWFpbC5jb20iLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJG
| # Disallow all crawlers access to certain pages. | |
| # Block Yandex from crawling site | |
| User-agent: Yandex | |
| Disallow: / | |
| # Block Yeti | |
| User-agent: Yeti | |
| Disallow: / |
| // | |
| // cc glfw-metal-example.m `pkg-config --cflags --libs glfw3` -framework AppKit -framework Metal -framework QuartzCore | |
| // | |
| #define GLFW_INCLUDE_NONE | |
| #define GLFW_EXPOSE_NATIVE_COCOA | |
| #include <GLFW/glfw3.h> | |
| #include <GLFW/glfw3native.h> | |
| #import <Metal/Metal.h> | |
| #import <QuartzCore/CAMetalLayer.h> |
dmlc/gluon-cvgit clone git@github.com:YimianDai/gluon-cv.gitdmlc/gluon-cv 作为 upstream 源,git remote add upstream https://github.com/dmlc/gluon-cv.gitupstream 源 push,因为我们不是 dmlc 的人,没有 push 的权限,要提交代码必须通过 Pull Request,git remote set-url --push upstream no_pushfixMixSoftmaxCrossEntropyLoss,git checkout -b fixMixSoftmaxCrossEntropyLoss