Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"""
Audio File Filter Application
Author: 0xPinole
Date: May 23, 2024
Version: 1.0
Description:
This Python script implements a graphical user interface (GUI) for audio file filtering using PyQt5 and Matplotlib.
The application allows users to load an audio file, apply various digital filters (low-pass, high-pass, band-pass,
@0xPinole
0xPinole / calibrate_camera_cv2.py
Created April 24, 2024 03:41
autocalibrate a camera with open-cv py3
from glob import glob
import argparse
import cv2
import numpy as np
import os
import json
import datetime
"""
This code calibrates a camera using cv2.
import cv2
# Get a handle to the camera
cam = cv2.VideoCapture(2)
# Print various camera properties
print("CV_CAP_PROP_FRAME_WIDTH: " + str(cam.get(cv2.CAP_PROP_FRAME_WIDTH)))
print("CV_CAP_PROP_FRAME_HEIGHT: " + str(int(cam.get(cv2.CAP_PROP_FRAME_HEIGHT))))
print("CV_CAP_PROP_FPS: " + str(cam.get(cv2.CAP_PROP_FPS)))
@0xPinole
0xPinole / python_cheatsheet
Last active April 16, 2024 10:35
A useful compilation of uncommon and remarkable Python code snippets :]
[Python.md] Functions, Imports, and Variables
A useful compilation of uncommon and
remarkable Python code snippets :]
@0xPinole
0xPinole / qubit-control.ipynb
Created August 28, 2023 08:00
Qubit Control.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@0xPinole
0xPinole / random_qc.ipynb
Created August 16, 2023 19:08
Random_QC
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# System Configuration Files
/etc/issue # A message to be printed before the login prompt.
/etc/motd # Message of the day banner content.
/etc/passwd # User account information.
/etc/group # Group information.
/etc/resolv.conf # DNS resolver configuration (for triggering IDS signatures).
/etc/shadow # Encrypted user passwords.
/etc/mtab # Mounted filesystems information.
/etc/inetd.conf # Configuration file for the internet services.
/var/log/dmesg # Kernel ring buffer log.