This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.display import Audio | |
import numpy as np | |
from numpy.fft import fft, ifft | |
from scipy.fftpack import dct, idct | |
from scipy.signal import stft | |
import soundfile as sf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<!-- Just a dummy html to redirect to my subdirectory --> | |
<meta http-equiv="refresh" content="0; url=[INSERT URL HERE]"> | |
</head> | |
<body> | |
</body> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from urllib.request import urlopen | |
import ssl | |
import re, os, sys | |
# ignore ssl certificate errors | |
ctx = ssl.create_default_context() | |
ctx.check_hostname = False | |
ctx.verify_mode = ssl.CERT_NONE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from PIL import Image | |
# Replace pixels of an input color in the image with a new color | |
fname = input('Enter image name: ') | |
oldc = input('Enter color (R, G, B) to be replaced: ') | |
newc = input('Enter color (R, G, B) for replacement: ') | |
if len(fname) < 1: fname = 'identicon.png' | |
if len(oldc) < 1: |
NewerOlder