This file contains hidden or 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 | |
# Script to set up bleeding edge Kodi with bleeding edge VAAPI/Mesa drivers on Ubuntu. Tested on 16.10 with Kodi | |
# First complete step 0 of Fritsch's guide here: http://forum.kodi.tv/showthread.php?tid=231955 | |
# This guide takes over on step 1 | |
# based on https://forum.kodi.tv/showthread.php?tid=231955&pid=2543877#pid2543877 | |
# Make sure only root can run our script | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 |
This file contains hidden or 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 | |
# Usage: slackstatus "My new status" | |
function slackstatus() { | |
slacktoken=$SLACK_OAUTH_TOKEN | |
apiurl="https://slack.com/api/users.profile.set?token="$slacktoken"&profile=" | |
emoji=":mag:" | |
if [ $# -eq 0 ] |
OlderNewer