Tümü Yeni

user:thomas kullanıcı tarafından oluşturulan gistler

title:mygist belirtilen isme sahip gistler

filename:myfile.txt belirtilen isimde dosyaları olan gistler

extension:yml belirtilen uzantıya sahip dosyalara sahip gistler

language:go belirtilen dilde dosyaları olan gistler

topic:homelab Verilen konuyla ilgili gist'ler

Kaydol

Giriş


Tümü Yeni Kaydol Giriş

Konuyla eşleşen tüm gist'ler github

Yakın zamanda oluşturuldu
En eski oluşturuldu
Yakın zamanda güncellendi
En eski güncellendi
LiuShen's Avatar

LiuShen / Action实现刷新EO缓存

0 beğeniler
0 çatallar
2 dosyalar
Son aktivite 3 months ago
通过Python,在Github Action中实现EO站点缓存刷新
action auto cache edgeone eo github python tencent
1 import os
2 import json
3 from tencentcloud.common import credential
4 from tencentcloud.teo.v20220901 import teo_client, models
5 from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
6
7 try:
8 cred = credential.Credential(
9 os.getenv("TENCENTCLOUD_SECRET_ID"),
10 os.getenv("TENCENTCLOUD_SECRET_KEY")
LiuShen's Avatar

LiuShen / Webhook实现仓库自动备份

0 beğeniler
0 çatallar
1 dosyalar
Son aktivite 5 months ago
宝塔面板,使用Webhook,自动同步更新后的仓库,拉取静态源码部署博客
cmd github shell sync webhook
1 #!/bin/bash
2 echo ""
3 #输出当前时间
4 date --date='0 days ago' "+%Y-%m-%d %H:%M:%S"
5 echo "Start"
6 #判断宝塔WebHook参数是否存在
7 if [ ! -n "$1" ];
8 then
9 echo "param参数错误"
10 echo "End"
LiuShen's Avatar

LiuShen / github action构建hexo源码

0 beğeniler
0 çatallar
1 dosyalar
Son aktivite 6 months ago
github action构建hexo源码,yml文件分享
action github hexo npm
1 name: 自动部署
2
3 on:
4 push:
5 branches:
6 - main
7
8 release:
9 types:
10 - published
Daha yeni Daha eski

Opengist tarafından desteklenmektedir ⋅ Load: 54ms⋅

Türkçe
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ 个人主页 ⋅ 站长博客