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
// ==UserScript== | |
// @name ADP download | |
// @namespace https://github.com/GiorgioAresu | |
// @version 1.0.1 | |
// @description Download files from ADP as separate files | |
// @author You | |
// @match https://www.multidocs.it.adp.com/idp/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=adp.com | |
// @grant none | |
// ==/UserScript== |
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/sh | |
NET=`ip addr show | grep UNKNOWN | grep -v lo: | awk -F ': ' '{print $2}'` | |
OWN_IP=`echo $1 | awk -F '[ \t]+|/' '{print $4}'` | |
PI_IP=`ping6 -I $NET ff02::1 | grep DUP\! -m1 | awk -F '\ |: ' '{print $4}'` | |
ssh -6 pi@${PI_IP} |
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 | |
if [ $# -lt 5 ] | |
then | |
echo "Usage: $0 (add|del) display hres vres refresh" | |
exit 1 | |
fi | |
mode=$1 | |
display=$2 | |
hres=$3 |
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
tdnf makecache | |
tdnf check-update | |
tdnf update | |
echo You should probably systemctl restart services as needed |
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 | |
Device=$1 | |
Path=$2 | |
if [ $# -ne 2 ] || [ $# == "--help" ] || [ $# == "-h" ] | |
then | |
echo Simple CM Nightlies downloader | |
echo | |
echo Usage: $(basename $0) device-name output-path |
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
String Weather_Sunrise_Raw "[%s]" { http="<[http://weather.yahooapis.com/forecastrss?w=711080&u=c:60000:XSLT(yahoo_weather_sunrise.xsl)]" } | |
String Weather_Sunrise "Sunrise [%s]" <sun> (Weather) | |
String Weather_Sunset_Raw "[%s]" { http="<[http://weather.yahooapis.com/forecastrss?w=711080&u=c:60000:XSLT(yahoo_weather_sunset.xsl)]" } | |
String Weather_Sunset "Sunset [%s]" <sun> (Weather) |
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
# Size and position | |
alignment top_right | |
gap_x 5 | |
gap_y 30 | |
minimum_size 300 1050 | |
maximum_width 300 | |
# Appearance and font | |
border_margin 4 | |
border_width 2 |
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
# Size and position | |
alignment top_right | |
gap_x 5 | |
gap_y 30 | |
minimum_size 250 738 | |
maximum_width 250 | |
# Appearance and font | |
border_margin 4 | |
border_width 2 |
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
=table-border-and-radius($border, $radius) | |
table | |
border-collapse: separate | |
th, td | |
border-top: $border | |
border-left: $border | |
th:first-child | |
border-top-left-radius: $radius |