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
# Title: Smart-TV Blocklist for Pi-hole | |
# Version: 12March2021v3 | |
# Description: This is a blocklist to block smart-TVs sending metadata back home, sometimes with the added benefit of blocking interface ads for apps and movie services. | |
# Please help with collecting domains! | |
# It could occur that the TV fails to receive new updates, or that other apps or services no longer work. Please report such an incident. | |
# Make sure to also use the extra RegEx list at https://perflyst.github.io/PiHoleBlocklist/regex.list, which helps remove regional LG ad domains among other things. | |
# Panasonic Viera & panny tv | |
0077777700140002.myhomescreen.tv | |
cert-test.sandbox.google.com |
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
# Samsung SmartTV domains (Will block "Smart" aspects of device) | |
# https://umbrella.cisco.com/blog/2015/06/02/samsungs-chatty-smarttvs/ | |
# https://www.reddit.com/r/pihole/comments/5eirvy/from_the_smart_tv_thread_in_rtechnology/damgggq/ | |
# http://pastebin.com/pU7HV1Gr | |
Coordinator-Production-28516768.us-east-1.elb.amazonaws.com | |
abtauthprd.samsungcloudsolution.com | |
acr0.samsungcloudsolution.com | |
ad.samsungadhub.com | |
amauthprd.samsungcloudsolution.com | |
api-hub.samsungyosemite.com |
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
<?php | |
$headers_ap=array( | |
"X-Token:" . "token", | |
"Content-Type:" . "charset=utf-8", | |
); | |
$curl_parameters= array( | |
"id"=>"id", | |
); | |
/** |
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
//https://www.linkedin.com/pulse/advanced-php-debugging-techniques-you-didnt-know-existed-pavic/ | |
// ---------------------------------------------------------------------------------------------------- | |
// - Display Errors | |
// ---------------------------------------------------------------------------------------------------- | |
ini_set('display_errors', 'On'); | |
ini_set('html_errors', 0); | |
// ---------------------------------------------------------------------------------------------------- | |
// - Error Reporting |
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 | |
while read oldrev newrev refname | |
do | |
branch=$(git rev-parse --symbolic --abbrev-ref $refname) | |
if [ "master" == "$branch" ]; then | |
# Do something | |
echo "branch is: $branch I'm going to overwrite everything" | |
git --work-tree=/home/gflorian/public_html --git-dir=/home/gflorian/repo checkout -f $branch | |
else | |
echo "branch is not master the pushed branch is: $branch" |
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 | |
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 | |
count=1 | |
for filename in *.JPG; | |
do | |
count=$(expr $count + 1) | |
echo $count | |
touch "$filename" | |
mv "$filename" `echo "$filename"|sed './ATTIC1_'$count'_/g'` | |
done |
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
for f in *.pdf; do | |
echo "$f" | |
convert -verbose -density 200 ./"$f" ./"${f%.pdf}.jpg" | |
done |
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 | |
for filename in *; | |
do | |
touch "$filename" | |
mv "$filename" `echo "$filename"|sed 's/ /_/g'` | |
done | |
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 | |
ffmpeg -i video_entrada.ext video_salida.ext | |
funciona con mp4 webm y ogv |
NewerOlder