Skip to content

Instantly share code, notes, and snippets.

View robertocarlosmedina's full-sized avatar
:octocat:
Developing

Roberto Carlos Medina robertocarlosmedina

:octocat:
Developing
View GitHub Profile
@rickyhaswifi
rickyhaswifi / netlify.toml
Last active August 10, 2023 00:48
React Router Netlify - Fix for not found page
#https://stackoverflow.com/questions/58065603/netlify-renders-404-on-page-refresh-using-react-and-react-router
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
@tecoholic
tecoholic / wireshark_http_extractor.py
Created February 6, 2019 07:56
Extract the flow of requests and responses from a Wireshark dump JSON exported file
import sys
import json
from urllib.parse import urlparse, parse_qs
def parse_multimap(ordered_pairs):
"""JSON loads object_pairs_hook, which creates a list of values when
duplicate keys are found in the JSON file being parsed
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 17, 2025 20:35
Conventional Commits Cheatsheet
@Arunprakash-A
Arunprakash-A / IIR_analog_Butter.m
Last active May 26, 2021 17:10
IIR Butterworth filter design in Matlab
% ************IIR Analog Butterworth Filter Design ******************%
%************* Author : Arun Prakash A ******************************%
clc;
clear all;
close all;
% Specifications
Wp=2*pi*100; % Passband cutoff in rad/s
Ws=2*pi*200; % stopband cutoff in rad/s
Fs=8000; % Sampling Frequency
@litchfield
litchfield / doubledecode.py
Created October 12, 2011 21:53
Double decode utf8 and cp1252
#!/usr/bin/env python
"""
Ever had a mysqldump of utf8 data stored in latin1 tables, dumped in utf8 and
munged with windows cp1252?
If so this is your friend. Just pipe it through this little baby and spare
yourself hours of unicode hell- it'll take your dirt and spit out clean utf8.
You can also import it and use it in your python code.