Skip to content

Instantly share code, notes, and snippets.

@nhrade
nhrade / signals.py
Last active January 9, 2025 19:02
Signal processing
import numpy as np
from scipy.io.wavfile import write, read
from scipy import signal, interpolate
from scipy.fft import fft, fftfreq
from scipy import interpolate
import matplotlib.pyplot as plt
from pydub import AudioSegment, playback
AUDIO_RATE = 44100
"""
#include <stdio.h>
int main() {
for(int i = 1; i < 101; i++);
printf("1");
printf("2");
printf("3");
printf("4");
printf("5");
printf("6");
printf("7");
#include <stdio.h>
int main() {
printf("1");
printf("2");
printf("3");
printf("4");
printf("5");
printf("6");
printf("7");
printf("8");
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
# This config file uses keycodes (bindsym) and was written for the QWERTY
# layout.
#
# To get a config file with the same key positions, but for your current
# layout, use the i3-config-wizard
#
for(i in xrange(c)):
# Do stuff with i
//============================================================================
// Name : MarkupHTML.cpp
// Author :
// Version :
// Description : Html paragraph example
//============================================================================
#include <iostream>
#include <string>
#include <sstream>