Skip to content

Instantly share code, notes, and snippets.

@redwil
redwil / studio7_linux_conversion.sh
Created January 13, 2021 22:37 — forked from jeremy-prater/studio7_linux_conversion.sh
Convert Atmel Studio 7 generated makefile (windows paths) to linux, so you can compile your project from linux
#!/bin/sh
# Rafael Corsi
# [email protected]
#
# Script to convert makefile generate from atmel studio 7 (windows)
# to linux path, assuming that you have gcc on PATH
#
# based on https://gist.github.com/theterg/6082389
# GPL
@redwil
redwil / find-top-level-packages.py
Created February 16, 2019 22:00 — forked from kotarou3/find-top-level-packages.py
Find top-level packages of the dependency graph for debian packages
#!/usr/bin/python3
import argparse, sys
import apt
import networkx as nx
parser = argparse.ArgumentParser(
description = "Find top-level packages of the dependency graph"
)
parser.add_argument(
@redwil
redwil / apt-rdepends-tree
Created February 16, 2019 21:55 — forked from damphat/apt-rdepends-tree
debian dependency tree
#! /bin/bash
# Description: show dependency tree
# Author: damphat
if [ $# != 1 ]; then
echo 'Usage: apt-rdepends-tree <package>'
echo 'Required packages: apt-rdepends'
exit 1
fi