Skip to content

Instantly share code, notes, and snippets.

View devseunggwan's full-sized avatar

Seunggwan Song devseunggwan

View GitHub Profile
@pessom
pessom / gist:babaad22107a96cae9271cbc0bca983f
Created December 3, 2017 17:52 — forked from declaresub/gist:2cf0e6f4a08129e2a4e4
Python logging.config.dictConfig example
#! /usr/bin/python
from logging import getLogger
from logging.config import dictConfig
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters':
@480
480 / gist:4681b67d2a906db8c6c1321cc678f05f
Last active September 19, 2024 11:45
github 리모트 리포지토리 변경하기

깃 리모트 변경 하기

기존 리포지토리 깔끔하게 pull / push

git pull
git add .
git commit -m "clean push"
git push
@corrieriluca
corrieriluca / App-Store-Connect-API-Python.md
Last active October 15, 2024 04:36
Connection to the App Store Connect API using Python3
@krisek
krisek / alert.rules.yml
Last active November 10, 2024 20:09
Prometheus alert rules for node exporter
groups:
- name: node_exporter_alerts
rules:
- alert: Node down
expr: up{job="monitoring-pi"} == 0
for: 2m
labels:
severity: warning
annotations:
title: Node {{ $labels.instance }} is down
@Jarmos-san
Jarmos-san / main.py
Last active October 20, 2024 16:39
A simple FastAPI project with a health check route
"""Entrypoint to invoke the FastAPI application service with."""
from fastapi import FastAPI, status
from pydantic import BaseModel
import uvicorn
app = FastAPI()
class HealthCheck(BaseModel):