This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#------------------------------------------------ | |
# Setup Ubuntu 16.04 with xRDP via MATE-Desktop | |
#------------------------------------------------ | |
# | |
sudo apt update | |
sudo apt install xrdp | |
sudo apt install mate-core mate-desktop-environment mate-notification-daemon | |
sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n mate-session \n' /etc/xrdp/startwm.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################ | |
# test-led.sh - Shell script to test GPIOs through sysfs | |
# | |
# Copyright (c) 2016 Richard Vidal-Dorsch | |
# | |
# This program is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU General Public License as published by the | |
# Free Software Foundation; either version 2 of the License, or (at your | |
# option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#------------------------------------------------ | |
# Setup Fedora 23/24 with xRDP via XFCE4 | |
#------------------------------------------------ | |
# Original version at https://goo.gl/VL4mzQ | |
# | |
# Install XFCE4 desktop | |
sudo dnf -y --refresh groupinstall xfce-desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a simple shell script to synchonize a computer's time with a webserver | |
# as reference time source. | |
# Make sure command 'curl' is installed or use 'wget' instead | |
# Use any server URL such as www.yahoo.com, www.ebay.com, www.ibm.com, | |
# www.microsoft.com, etc. | |
URL="http://www.google.com" | |
CURL=$(which curl) |