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
# Makefile for Arduino based scketches | |
# | |
# Copyright 2020 Valerio Di Giampietro http://va.ler.io [email protected] | |
# MIT License - see License.txt file | |
# | |
# This Makefile uses the arduino-cli, the Arduino command line interface | |
# and has been designed and tested to run on Linux, not on Windows. | |
# Probably it will run on a Mac, but it has not been tested. | |
# | |
# Please note that: |
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 python3 | |
| |
import os | |
import re | |
import subprocess | |
import sys | |
| |
| |
def clean(lines, strip_empty_line=False): | |
cleaned_lines = [] |
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 | |
# usage: | |
# version=123 sh create_debpackage.sh | |
package=bcwebsite | |
# version=234 | |
if [ ! -d ${package} ]; then | |
mkdir -p ${package}/DEBIAN | |
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 | |
BASHCONFIGFILE="$HOME/.minttyrc" | |
GITCONFIGFILE="$HOME/.gitconfig" | |
echo "Ensure that Inconsolata is installed" | |
echo "adding terminal config file" | |
cat << EOFBASH > $BASHCONFIGFILE | |
Font=Inconsolata | |
FontHeight=12 | |
BackgroundColour=106,106,106 |