This file contains hidden or 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/env python | |
| # Find the raw bitstring from a captured Flipper RAW .sub file. | |
| # Must provide the bitlength in ms, and the allowable error which can be tolerated. | |
| import re | |
| import sys | |
| import math | |
| filename = sys.argv[1] |
This file contains hidden or 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
| import plotly.express as px | |
| import pandas as pd | |
| import re | |
| filename = 'Gar.sub' | |
| points = [(0, 0)] | |
| t = 0 | |
| with open(filename, 'r') as f: | |
| for line in f: |
This file contains hidden or 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/env python3 | |
| # -*- coding: utf-8 -*- | |
| import numpy as np | |
| description = """Script to preprocess IQ-signals in-place: Remove noise and combine nearby signal parts into one.""" | |
| def list_strong_signal_indices(signal, threshold: int): | |
| """ | |
| Return a list of all indices where the magnitude of the I-part is not smaller than the threshold. |
This file contains hidden or 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
| function FindProxyForURL(url, host) { | |
| var useSocks = ["imgur.com"]; | |
| for (var i= 0; i < useSocks.length; i++) { | |
| if (shExpMatch(host, useSocks[i])) { | |
| return "SOCKS localhost:9999"; | |
| } | |
| } | |
| return "DIRECT"; |