Skip to content

Instantly share code, notes, and snippets.

@sihorton
sihorton / odroid-1804-kernel-compile.sh
Last active November 15, 2020 22:07
odroid u2 mainline kernel compilation
#!/bin/bash
if [ "$1" = "" ]; then
echo "$0: please specify $0 (kernelv) (optional kernel-config)"
echo "e.g. $0 4.18.5 or $0 4.18.5 u3_docker_config"
else
KERNELV="$1"
KERNEL_CONFIG="u3_docker_config"
BOARD_DRIVER="exynos4412-odroidu3"
TARGETD="/media/boot/"
@jirutka
jirutka / rules-both.iptables
Created September 18, 2012 12:42
Basic iptables template for ordinary servers (both IPv4 and IPv6)
###############################################################################
# The MIT License
#
# Copyright 2012-2014 Jakub Jirutka <[email protected]>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is