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
AdrianAntunez / odroid-xu4-config.sh
Last active Sep 5, 2017
My own configuration script for odroid xu-4 (ubuntu-16.04.3-4.9)
View odroid-xu4-config.sh
#! /bin/bash
# Exit if any error code of each command is different to 0 (success)
set -e
HDD_NEXTCLOUD=/mnt/hdd1
# Check if the script is being runned as root
if [ $(id -u) -ne 0 ]; then
echo "That script should be run as root!"
@AdrianAntunez
AdrianAntunez / temperature-controller.sh
Last active Apr 21, 2017
Temperature script controller for raspberry pi fan
View temperature-controller.sh
#! /bin/bash
VERBOSE=1 #Log changes in a log file
LOGFILE=/var/log/temperature-controller.log
TMPTHRES=55 #Temperature threshold in degrees
SLPON=300 #Sleep time
MINH=07 #Threshold hours of work
oldstat=off
curstat=off
@AdrianAntunez
AdrianAntunez / gsoc-patch
Created May 9, 2014
Required patch to be eligible in any NS-3 project
View gsoc-patch
--- a/scratch/testapp-sim.cc 2014-05-09 18:14:55.890791594 +0100
+++ b/scratch/testapp-sim.cc 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.