Skip to content

Instantly share code, notes, and snippets.

@AdrianAntunez
AdrianAntunez / gist:3fb0849c011215f7afad447a1a1857f9
Created February 21, 2024 08:00 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@AdrianAntunez
AdrianAntunez / odroid-xu4-config.sh
Last active September 5, 2017 22:18
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
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 April 21, 2017 22:51
Temperature script controller for raspberry pi fan
#! /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 16:20
Required patch to be eligible in any NS-3 project
--- 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