Skip to content

Instantly share code, notes, and snippets.

Adrian Antunez AdrianAntunez

Block or report user

Report or block AdrianAntunez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
AdrianAntunez /
Last active Sep 5, 2017
My own configuration script for odroid xu-4 (ubuntu-16.04.3-4.9)
#! /bin/bash
# Exit if any error code of each command is different to 0 (success)
set -e
# Check if the script is being runned as root
if [ $(id -u) -ne 0 ]; then
echo "That script should be run as root!"
AdrianAntunez /
Last active Apr 21, 2017
Temperature script controller for raspberry pi fan
#! /bin/bash
VERBOSE=1 #Log changes in a log file
TMPTHRES=55 #Temperature threshold in degrees
SLPON=300 #Sleep time
MINH=07 #Threshold hours of work
AdrianAntunez / gsoc-patch
Created May 9, 2014
Required patch to be eligible in any NS-3 project
View gsoc-patch
--- a/scratch/ 2014-05-09 18:14:55.890791594 +0100
+++ b/scratch/ 2014-05-09 18:13:48.714789659 +0100
@@ -12,14 +12,13 @@
NodeContainer nodes;
nodes.Create (1);
- /*
- * XXX:
- * Add TestApplication to the above created
- * node. Then schedule TestApplication to be
You can’t perform that action at this time.