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 flipper_raw_rfid.rifl import Rifl | |
from flipper_raw_rfid.utils import batched, pad_to_signal, signal_to_pad, autocorrelate, smooth, binarize, find_first_transition_index, find_peaks, histogram, smooth, binarize | |
from flipper_raw_rfid.bits import decode_lengths, decode_manchester, decode_em_4100, to_str | |
from matplotlib import pyplot as plt | |
from scipy import signal as scipy_signal | |
import numpy as np | |
import numpy | |
import sys | |
rifl = Rifl.load('Red354b.ask.raw') |
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
package main | |
import ( | |
"log" | |
"net/http" | |
"strconv" | |
"time" | |
"gopkg.in/antage/eventsource.v1" | |
) |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"reflect" | |
"strconv" | |
) | |
type invalidStrNums []int |
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
# Just completions | |
# just --completions zsh | sudo tee /usr/local/share/zsh/site-functions/_just | |
# zinit creinstall -q /usr/local/share/zsh/site-functions/ | |
export http_proxy := "http://172.31.100.7:3128/" | |
# https://uk.lxd.images.canonical.com/images/ | |
# https://cloud-images.ubuntu.com/impish/current/ | |
# 537M Ubuntu Server Cloud Image Builds |
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/env bash | |
export PROJECT_ID=$(gcloud config get-value project) | |
export PROJECT_USER=$(gcloud config get-value core/account) # set current user | |
export PROJECT_NUMBER=$(gcloud projects describe $PROJECT_ID --format="value(projectNumber)") | |
export IDNS=${PROJECT_ID}.svc.id.goog # workload identity domain | |
export GCP_REGION="us-central1" | |
export GCP_ZONE="us-central1-a" |
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/env bash | |
run_list() { | |
osascript <<OSA | |
tell application "Viscosity" | |
repeat with theConnection in connections | |
set theName to name of theConnection | |
set theState to state of theConnection | |
log theName & ": " & theState | |
end repeat |
NewerOlder