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 | |
import argparse | |
import json | |
import os | |
import sys | |
from pathlib import Path | |
from datetime import datetime | |
def get_cache_dir(): |
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
#!/bin/sh | |
# | |
set -eux | |
BREW_PREFIX="$(brew --prefix)" | |
CPU_COUNT="$(sysctl -n hw.ncpu)" | |
# get the code | |
if [ ! -e soapy-rfnm ]; then | |
git clone https://github.com/rfnm/soapy-rfnm.git |
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
#!/bin/sh | |
# | |
set -eux | |
CPU_COUNT="$(nproc)" | |
# get the code | |
if [ ! -e sigutils ]; then | |
git clone -b master --recurse-submodules https://github.com/sultanqasim/sigutils.git | |
fi |
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
#!/bin/sh | |
# | |
set -eux | |
BREW_PREFIX="$(brew --prefix)" | |
CPU_COUNT="$(sysctl -n hw.ncpu)" | |
QT_PATH="${HOME}/Qt/6.7.1/macos" | |
# Homebrew dependencies |
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
#!/bin/sh | |
# | |
set -eux | |
BREW_PREFIX="$(brew --prefix)" | |
CPU_COUNT="$(sysctl -n hw.ncpu)" | |
QT_PATH="${HOME}/Qt/6.7.2/macos" | |
# Homebrew dependencies |
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
#!/bin/sh | |
set -eux | |
BREW_PREFIX="$(brew --prefix)" | |
CPU_COUNT="$(sysctl -n hw.ncpu)" | |
# Homebrew dependencies | |
brew update | |
brew install airspy airspyhf boost dylibbundler gnuradio hackrf libbladerf librtlsdr libserialport libsndfile portaudio pybind11 uhd qt@6 |
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
static int handle_dnload(struct usb_gadget *gadget, u16 len) | |
{ | |
struct usb_composite_dev *cdev = get_gadget_data(gadget); | |
struct usb_request *req = cdev->req; | |
struct f_dfu *f_dfu = req->context; | |
if (len == 0) | |
f_dfu->dfu_state = DFU_STATE_dfuMANIFEST_SYNC; | |
req->complete = dnload_request_complete; |
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
static int | |
dfu_handle(struct usb_function *f, const struct usb_ctrlrequest *ctrl) | |
{ | |
struct usb_gadget *gadget = f->config->cdev->gadget; | |
struct usb_request *req = f->config->cdev->req; | |
struct f_dfu *f_dfu = f->config->cdev->req->context; | |
… | |
if (req_type == USB_TYPE_STANDARD) { | |
… | |
} else /* DFU specific request */ |
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
case "$TERM" in | |
xterm-color|*-256color) | |
PS1='[\[\e[1;32m\]\u@\h \[\e[1;34m\]\W\[\e[m\]]\$ ' | |
;; | |
*) | |
PS1='[\u@\h \W]\$ ' | |
;; | |
esac |
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
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> | |
<title>LINKTYPE_BLUETOOTH_LE_LL_WITH_PHDR</title> | |
<link href="tcpdump-style.css" rel="stylesheet" type="text/css" media="screen"> | |
</head> | |
<body> | |
<div id="page"> | |
<div class="post"> |
NewerOlder