Skip to content

Instantly share code, notes, and snippets.

Avatar

Simeon Miteff simeonmiteff

View GitHub Profile
@simeonmiteff
simeonmiteff / rtl-sdr-add-compro-videomate.diff
Created Apr 11, 2012
rtl-sdr: Add USB id for Compro Videomate U620F
View rtl-sdr-add-compro-videomate.diff
--- rtl-sdr-orig/src/rtl-sdr.c 2012-04-11 23:26:05.755451224 +0200
+++ rtl-sdr/src/rtl-sdr.c 2012-04-11 23:36:32.075459494 +0200
@@ -123,6 +123,7 @@
{ 0x0ccd, 0x00a9, "Terratec Cinergy T Stick Black (rev 1)" },
{ 0x0ccd, 0x00b3, "Terratec NOXON DAB/DAB+ USB dongle (rev 1)" },
{ 0x0ccd, 0x00e0, "Terratec NOXON DAB/DAB+ USB dongle (rev 2)" },
+ { 0x185b, 0x0620, "Compro Videomate U620F"},
{ 0x1f4d, 0xb803, "GTek T803" },
{ 0x1f4d, 0xc803, "Lifeview LV5TDeluxe" },
{ 0x1b80, 0xd3a4, "Twintech UT-40" },
View keybase.md

Keybase proof

I hereby claim:

  • I am simeonmiteff on github.
  • I am simeonmiteff (https://keybase.io/simeonmiteff) on keybase.
  • I have a public key ASBVSI1xtVo5hp4g202boWbgBd3qhehL-R_y0-Y23-B6mAo

To claim this, I am signing this object:

View scrape_za_nicd_covid19.py
#!/usr/bin/env python3
from bs4 import BeautifulSoup
import urllib.request
def scrape_update(url):
with urllib.request.urlopen(url) as response:
html_doc = response.read()
soup = BeautifulSoup(html_doc, 'html.parser')
# Not sure how stable indexing into the divs will be
div = soup.find_all(class_="elementor-widget-container")[9]
@simeonmiteff
simeonmiteff / tunetest.py
Created Sep 27, 2012
Simple rtl_tcp client to test rapid tuning
View tunetest.py
#! /usr/bin/env python2
# Small test client for rtl_tcp
# Simeon Miteff <simeon.miteff@gmail.com>
# Thu Sep 27 09:28:55 SAST 2012
import socket
import struct
import time
SET_FREQUENCY = 0x01
SET_SAMPLERATE = 0x02