Skip to content

Instantly share code, notes, and snippets.

View devseunggwan's full-sized avatar

Seunggwan Song devseunggwan

View GitHub Profile
@jarmos-san
jarmos-san / main.py
Last active June 5, 2026 06:32
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):
@krisek
krisek / alert.rules.yml
Last active August 19, 2026 00:57
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
@corrieriluca
corrieriluca / App-Store-Connect-API-Python.md
Last active March 29, 2026 00:06
Connection to the App Store Connect API using Python3
@W4ngatang
W4ngatang / download_glue_data.py
Last active October 21, 2025 02:22
Script for downloading data of the GLUE benchmark (gluebenchmark.com)
''' Script for downloading all GLUE data.
Note: for legal reasons, we are unable to host MRPC.
You can either use the version hosted by the SentEval team, which is already tokenized,
or you can download the original data from (https://download.microsoft.com/download/D/4/6/D46FF87A-F6B9-4252-AA8B-3604ED519838/MSRParaphraseCorpus.msi) and extract the data from it manually.
For Windows users, you can run the .msi file. For Mac and Linux users, consider an external library such as 'cabextract' (see below for an example).
You should then rename and place specific files in a folder (see below for an example).
mkdir MRPC
cabextract MSRParaphraseCorpus.msi -d MRPC
@480
480 / gist:4681b67d2a906db8c6c1321cc678f05f
Last active July 4, 2026 12:42
github 리모트 리포지토리 변경하기

깃 리모트 변경 하기

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

git pull
git add .
git commit -m "clean push"
git push
@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':

Master Report Specification

Campaign Master (Campaign)

No Field Name Value Max.Length Description
1 Customer ID int Customer ID
2 Campaign ID string 31 Campaign ID
3 Campaign Name string 256 The maximum number of characters allowed (regardless of character types) is 30 Korean Hangul, alphanumeric characters can be used.
4 Campaign Type int The type for the campaign.
- 1: WEB SITE
- 2: NAVER Shopping Ad
- 3: POWER CONTENTS
- 4: Brand/New Product
- 6: Local SMB Ad
5 Delivery Method int - 1: Accelerated - 2: Standard