Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

description:sync gists with given description

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

all:systemctl search all fields

Registrarse

Iniciar sesión

Todos Nuevo Registrarse Iniciar sesión

All gists matching topic curl

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
anthony's Avatar

anthony / Рекурсивная выгрузка статей из Confluence

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago
Скачивает html-контент указанной страницы и всех вложенных
api bash curl
1 #!/bin/bash
2
3 # 1. Указать реквизиты доступа к confluence
4 USERNAME=""
5 PASSWORD=""
6 CONFLUENCE_URL=""
7 OUTPUT_PATH="./confluence/"
8
9 # 2. Вызвать: ./confluence_get_article.sh <page_id>
anthony's Avatar

anthony / Get latest release from GitHub

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago
Taken from https://gist.github.com/shakahl/d629dbe9d41f57699dba597929582c9f
curl github shell
1 #!/bin/bash
2 get_latest_release() {
3 curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api
4 grep '"tag_name":' | # Get tag line
5 sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value
6 }
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 172ms⋅

Español
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 简体中文 繁體中文