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/bash | |
PRESENTATION_NAME=${1:?"Give a name to the presentation"} | |
DESTINATION=${2:-$(pwd)} | |
echo $DESTINATION | |
FULLPATH=$DESTINATION/$PRESENTATION_NAME | |
git clone https://github.com/hakimel/reveal.js.git $FULLPATH && cd $FULLPATH |
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
% Diagram of the LQFP 48 pins IC version for SN32F707 | |
% based on Andrew's work: | |
% https://tex.stackexchange.com/questions/202230/how-to-draw-an-integrated-circuit-pin-configuration-like-in-data-sheets | |
\documentclass{standalone} | |
\usepackage{tikz} | |
\usepackage{amsmath} | |
\begin{document} | |
\begin{tikzpicture}[scale=0.38,pin/.style={draw,rectangle,minimum width=1.8em,font=\small}] | |
% Main trick: loop over the label numbers and then adjust their position |
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/bash | |
# This script installs gnuradio 3.8 | |
# Assuming homebrew is installed | |
# TODO: also install other modules (e.g gr-osmocomm) | |
# | |
# Step 1: Install Homebrew packages | |
echo "Installing necessary packages from Homebrew" | |
BREW_PACKAGES_LIST=( |
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
mogrify -path DESTINATION_PATH -background none -format png SOURCE_PATH/*.svg |
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
rtl_power -f 130M:170M:2.8M -g 30 -i 1 | awk -F ',' '{if ($7 > -28) print 1e-6*($3 + ($4 - $3) / 2)}' |