Skip to content

Instantly share code, notes, and snippets.

View Maxime-Favier's full-sized avatar
📡

Maxime Favier Maxime-Favier

📡
  • Paris, France
  • 02:39 (UTC +01:00)
View GitHub Profile
@Maxime-Favier
Maxime-Favier / cqrprop.py
Created September 28, 2021 20:05
cqrprop clone
import gi
gi.require_version('GdkPixbuf', '2.0')
from gi.repository import GdkPixbuf, GLib
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk
from PIL import Image
import requests
imggif = Image.open(requests.get("https://www.hamqsl.com/solar101pic.php", stream=True).raw)
imggif.load()
from urllib.request import urlopen
import bs4 as BeautifulSoup
import time
import re
import datetime
import psycopg2
import pickle
import sys
try:
@Maxime-Favier
Maxime-Favier / run.py
Last active September 1, 2018 17:49
met dans postgresql toutes les fic (copier le script dans le dossier parent de /Fics donné par anno59)
#!/usr/bin/python3
import psycopg2
import re
import datetime
idmax = 2462
try:
conn = psycopg2.connect("dbname='noelfic' user='postgres' host='localhost' password='root'")