Skip to content

Instantly share code, notes, and snippets.

View vimaexd's full-sized avatar
🏳️‍🌈

vimae vimaexd

🏳️‍🌈
View GitHub Profile
@Ravarcheon
Ravarcheon / spectralRotation.py
Last active June 7, 2024 14:48
rotates an audio file by 90 degrees in the spectrum while being a reversible process with minimal loss (only floating point errors which are like -150 dB but thats literally silence ahaha~)
import numpy as np
import soundfile as sf
from scipy.fftpack import fft, ifft
def rotateSignal(signal,flip):
if flip:
signal = signal[::-1]
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft
rotSig = ifft(x)
@0xdevalias
0xdevalias / reverse-engineering-webpack-apps.md
Last active July 17, 2024 11:29
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps
@xameeramir
xameeramir / default nginx configuration file
Last active July 12, 2024 07:24
The default nginx configuration file inside /etc/nginx/sites-available/default
# Author: Zameer Ansari
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#