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
#!/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 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 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 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 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 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 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 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 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"> |
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
mkdir -p ~/bin | |
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | |
chmod +x ~/bin/repo | |
sudo dnf install python glibc.i686 libstdc++.i686 java maven ccache schedtool ncurses-compat-libs m4 xz-lzma-compat ImageMagick | |
sudo ln -s /usr/lib/jvm/java-1.8.0-openjdk /usr/lib/jvm/java-8-openjdk-amd64 |
NewerOlder