Install OpenOCD version 0.11.0 (or maybe higher)
You can also build it yourself.
If you are using Launchpads to experiment this setup, you are going to need to prepare them as it is being shown in this image.
$sqrt(2) |
#!/bin/bash | |
# Usage: kicad_cli_all KICAD_PRO | |
kicad_pro=${1} | |
if [[ ! -f "${kicad_pro}" ]]; then | |
echo "Kicad project '${kicad_pro}' is missing" | |
exit | |
fi |
# Needs | |
# pip install anytree | |
# Leandro Sehnem Heck | |
# This gist presents files linked inside a FreeCad (.FCStd) | |
# Options | |
# - List of unique files / Tree with the hierarchy | |
# - Show relative and absolute paths | |
def list_files(tree=0, relative_path=1): |
#============================================ | |
# GET ACCESS TOKEN | |
read -r -d '' login_data <<-EOM | |
{ | |
"username": "${SHELLHUB_USER}", | |
"password": "${SHELLHUB_PASS}" | |
} | |
EOM |
#!/bin/bash | |
set -e | |
declare -x USERNAME="$1" | |
declare -x USERPIC="$2" | |
declare -r DSIMPORT_CMD="/usr/bin/dsimport" | |
declare -r ID_CMD="/usr/bin/id" |
#!/bin/bash | |
cd ~/.config/Ferdi/recipes | |
rm -rf ~/.ferdi_recipes | |
git clone https://github.com/getferdi/recipes.git ~/.ferdi_recipes | |
dirs=$(find . -mindepth 1 -maxdepth 1 -type d \( ! -name recipes \) \( ! -name temp \) \( ! -name '.*' \)) | |
mkdir -p ~/.ferdi_old_recipes |
sudo apt update | |
sudo apt install -y zsh | |
sudo apt install -y git | |
sudo apt install -y curl | |
sudo apt install -y wget | |
sudo apt install -y binutils | |
# Install oh-my-zsh | |
if [[ ! -d ~/.oh-my-zsh ]]; then |
#!/usr/bin/bash | |
# Homebase, pre installation | |
# | |
# How to use: | |
# sh -c "$(curl -H "Cache-Control: no-cache" https://gist.githubusercontent.com/leoheck/3158d9d959eb708ecfd42300b2a88e78/raw/homebase-install.sh)" | |
# Set Hostname | |
read -p "What is the HOSTNAME: " hname | |
echo $hname > /etc/hostname |
#!/bin/bash | |
# By Leandro Heck (leoheck@gmail.com) | |
# Save this script in /usr/bin/authenticate_pucrs | |
# Usage | |
# authenticate_pucrs 12981829 | |
# Automating.. | |
# echo "minhaSenha" | authenticate_pucrs 12981829 |