Skip to content

Instantly share code, notes, and snippets.

View petarkozic's full-sized avatar
🎣

Petar Kozic petarkozic

🎣
View GitHub Profile
@tschwaerzl
tschwaerzl / package_updates_check.py
Last active February 8, 2024 19:40 — forked from yumminhuang/package_updates_check.py
Python script to check apt-get updates and send result to Slack channel
#!/usr/bin/env python
#coding=utf-8
import apt
import apt_pkg
from time import strftime
import json
import os
import requests
import subprocess