「燒錢計畫( Burn Rate)」遊戲為2002年由Rich Koehler所設計,為一趣味十足的策略遊戲。 遊戲中玩家們扮演著網路公司的執行長,募集了龐大的資金,希望能讓公司在產業界繼續生存下去。 網路公司包含人力資源、研發、財務及業務四個部門,玩家們除了要網羅具有專業技能的人才努力 經營外,還要想盡辦法拖垮其他競爭對手,包括挖角對手部門主管、強迫對手雇用員工及 提供對手爛點子方案等。遊戲在玩家間的明爭暗鬥中進行,若過程中有玩家的資金燒光,則將宣告倒閉 退出市場。當最後只剩下一家網路公司時,遊戲即告結束,這家網路泡沫下的倖存公司則成為遊戲贏家。
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
| # Type about:restartrequired in the address bar and press Enter. This may prompt a restart while preserving tabs, especially after updates. | |
| about:restartrequired |
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
| exec 3<>/dev/tcp/redis-stack-service.tenant-redis-stack-service.svc.cluster.local/6379 && echo -e "PING\r\n" >&3 && head -c 12 <&3 | |
| # +PONG |
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
| vault kv put kv/destination/path @<(vault kv get -format=json kv/origin/path | jq .data.data) | |
| # via https://gist.github.com/elasticdog/e82f0b8e63407cbb6af69341cb9d0336?permalink_comment_id=3278492#gistcomment-3278492 |
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
| apiVersion: monitoring.coreos.com/v1 | |
| kind: Probe | |
| metadata: | |
| name: tls-probe | |
| namespace: monitoring | |
| spec: | |
| interval: 60s | |
| module: http_2xx | |
| prober: | |
| path: /probe |
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
| # Origin: https://colocatedeventsna2023.sched.com/event/1Rj2e | |
| kubectl -n preview-apps get secret db-secret -o yaml | \ | |
| yq 'del(.metadata.creationTimestamp, .metadata.uid, .metadata.resourceVersion, .metadata.namespace, | |
| .metadata.annotations, .metadata.ownerReferences)' | \ | |
| kubectl apply --namespace $PR_NUMBER -f - |
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
| # A viable hack is to let Helm render the template as a raw string. | |
| # Note the opening and closing curly bracket with a backtick: | |
| # | |
| # Origin: https://github.com/helm/helm/issues/2798#issuecomment-470435015 | |
| # | |
| # Excerpt from a Prometheus Alertmanager yaml | |
| receivers: | |
| - name: slack-receiver | |
| slack_configs: | |
| - text: |- |
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
| # https://kwok.sigs.k8s.io/docs/user/kwokctl-platform-specific-binaries/#use-unofficial-binaries | |
| KUBE_VERSION="v1.29.0" | |
| cat <<EOF >> ~/.kwok/kwok.yaml | |
| --- | |
| kind: KwokctlConfiguration | |
| apiVersion: config.kwok.x-k8s.io/v1alpha1 | |
| options: | |
| kubeBinaryPrefix: https://github.com/kwok-ci/k8s/releases/download/${KUBE_VERSION}-kwok.0-darwin-arm64 | |
| --- | |
| EOF |
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
| import os | |
| import posixpath | |
| from urllib.parse import quote as urlquote | |
| # Hugo rule https://gohugo.io/functions/urls/urlize/ | |
| # | |
| # We use a small subset | |
| HTML_TEMPLATE = """ |
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
| #!/bin/bash | |
| ############################################################################### | |
| # Copyright (c) 2018 Red Hat Inc | |
| # | |
| # See the NOTICE file(s) distributed with this work for additional | |
| # information regarding copyright ownership. | |
| # | |
| # This program and the accompanying materials are made available under the | |
| # terms of the Eclipse Public License 2.0 which is available at |
NewerOlder