This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| traefik: | |
| image: traefik:latest | |
| volumes: | |
| - /etc/localtime:/etc/localtime:ro | |
| - /var/run/docker.sock:/var/run/docker.sock:ro | |
| - /home/user/traefik/traefik.yml:/traefik.yml:ro | |
| - /home/user/traefik/acme.json:/acme.json | |
| - /home/user/traefik/config.yml:/config.yml:ro | |
| environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Pi Temperature Monitor</title> | |
| <script src="/socket.io/socket.io.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub InsertRed() | |
| Dim rev As Revision | |
| Dim rng As Range | |
| Dim i As Integer | |
| Dim revCount As Integer | |
| ' 先停止追蹤修訂 | |
| ActiveDocument.TrackRevisions = False | |
| ' 看追蹤修訂的數目 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| address=/hi.my.domain/192.168.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <section class="article-content"> | |
| {{ partial "article/components/toc-inline" . }} <!--我放在這裡--> | |
| {{ $wrappedTable := printf "<div class=\"table-wrapper\">${1}</div>" }} | |
| <!--以下省略--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{ $title := .Get 0 }} | |
| <!-- 格式: gist-title "title" user ID (檔名) --> | |
| <div> | |
| <p class="gist-title"> <a href="https://gist.github.com/{{ index .Params 1 }}/{{ index .Params 2 }}" target="_blank"> {{ $title }} </a> </p> | |
| <script src="https://gist.github.com/{{ index .Params 1 }}/{{ index .Params 2 }}.js{{if len .Params | eq 4 }}?file={{ index .Params 3 }}{{end}}"></script> | |
| </div> | |
| <style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ><((((º> ><((((º> ><((((º> | |
| ><((((º> ><((((º> ><((((º> | |
| ><((((º> ><((((º> ><((((º> | |
| ><((((º> ><((((º> ☾☽ ><((((º> | |
| ><((((º> ><((((º> ><((((º> | |
| ><((((º> ><((((º> ><((((º> | |
| ><((((º> ><((((º> ><((((º> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.8' | |
| services: | |
| server: | |
| image: klakegg/hugo:0.101.0-ext-ubuntu | |
| container_name: hugo | |
| command: server --baseURL https://my.domain.com --appendPort=false # important baseURL setting | |
| volumes: | |
| - "/home/ubuntu/docker/hugo/Web:/src" | |
| networks: | |
| proxy: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker ps --format="\nNAME 【{{.Names}}】\n - STATUS {{.Status}}\n - IMAGE {{.Image}}\n - 容器ID {{.ID}}\n - COMMAND {{.Command}}\n - CREATED {{.CreatedAt}}\n - PORTS {{.Ports}}" |