Skip to content

Instantly share code, notes, and snippets.

View b3n4kh's full-sized avatar
🤖
🚀 Automate Everything

b3n b3n4kh

🤖
🚀 Automate Everything
View GitHub Profile
@b3n4kh
b3n4kh / d3_heatmap.csv
Last active October 12, 2023 14:01
d3_heatmap
group value
Mon 3
Tue 4
Wed 4
Thu 6
Fri 12
Sat 3
Sun 2
@b3n4kh
b3n4kh / test_rss_urls.py
Created June 30, 2023 12:07
Test URLs for if they are RSS Feeds
import requests
def read_urls_from_file(file_name):
with open(file_name, "r") as file:
lines = file.readlines()
urls = [line.strip() for line in lines if line.strip()]
return urls
@b3n4kh
b3n4kh / primel.py
Created January 22, 2022 10:12
primel.py
#!/usr/bin/env python3
import pprint
def filter_numbers(numbers, filters=None):
if filters is None:
return numbers
for num, pos in filters.items():
numbers = filter_func(numbers, num, pos)
from PyQt5.QtWidgets import *
app = QApplication([])
window = QWidget()
layout = QVBoxLayout()
button = QPushButton('Click')
checkbox = QCheckBox("Check It")

Keybase proof

I hereby claim:

  • I am b3n4kh on github.
  • I am b3n4kh (https://keybase.io/b3n4kh) on keybase.
  • I have a public key whose fingerprint is 9D3B 0407 590A AD31 7D13 1AAD FA15 37DC E43B F30A

To claim this, I am signing this object: