Compare commits

..

3 Commits

3 changed files with 8 additions and 3 deletions

3
docker-anonymous-mounts Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
docker ps -q | xargs -I{} sh -c 'mounts=$(docker inspect {} --format "{{range .Mounts}}{{if eq .Type \"volume\"}}{{.Destination}} {{.Name}} {{end}}{{end}}"); [ -n "$mounts" ] && echo "$(docker inspect --format '{{.Name}}' {}) $mounts"'

View File

@@ -3,5 +3,6 @@
nmap -p 7676 tv.ddp.net | grep 'open' > /dev/null
if [ x"$?" != "x0" ]; then
adb connect tv.ddp.net
adb shell monkey -p de.cyberdream.androidtv.notifications.google -c android.intent.category.LAUNCHER 1
fi

View File

@@ -144,10 +144,11 @@ def GetLastCommmitDaysAgo( container ):
# Fetch the latest commit details from GitHub API
response = requests.get(m[1])
response.raise_for_status() # Raise an error for bad status codes
if '0' in response.json():
commit_info = response.json()[0]
tmp_resp = response.json()
if isinstance(tmp_resp, list):
commit_info = tmp_resp[0]
else:
commit_info = response.json()
commit_info = tmp_resp
# Extract the commit URL and date
commit_url = commit_info["html_url"]