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/sh | |
| # Example of job definition (as add job using crontab -e): | |
| # .---------------- minute (0 - 59) | |
| # | .------------- hour (0 - 23) | |
| # | | .---------- day of month (1 - 31) | |
| # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... | |
| # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat | |
| # | | | | | | |
| # * * * * * user-name command to be executed | |
| # 30 02 15,28 * * /root/opkg_updater.sh |
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/sh | |
| # Example of job definition (as add job using crontab -e): | |
| # .---------------- minute (0 - 59) | |
| # | .------------- hour (0 - 23) | |
| # | | .---------- day of month (1 - 31) | |
| # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... | |
| # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat | |
| # | | | | | | |
| # * * * * * user-name command to be executed | |
| # 30 02 15,28 * * /root/opkg_updater.sh |
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
| # /etc/unbound/unbound.conf.d/pi-hole.conf | |
| server: | |
| # If no logfile is specified, syslog is used | |
| # logfile: "/var/log/unbound/unbound.log" | |
| verbosity: 0 | |
| interface: 127.0.0.1 | |
| port: 5335 | |
| do-ip4: yes |
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
| @echo off | |
| set /a _Debug=0 | |
| ::========================================== | |
| :: Get Administrator Rights | |
| set _Args=%* | |
| if "%~1" NEQ "" ( | |
| set _Args=%_Args:"=% | |
| ) | |
| fltmc 1>nul 2>nul || ( | |
| cd /d "%~dp0" |
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
| # This is a blocklist to block samsung smart tv's sending meta data at home. | |
| # Please help to collect domains! | |
| # It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident. | |
| abtauthprd.samsungcloudsolution.com | |
| acr0.samsungcloudsolution.com | |
| ad.samsungadhub.com | |
| ads.samsungads.com | |
| amauthprd.samsungcloudsolution.com | |
| api-hub.samsungyosemite.com |
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
| """ | |
| Humidity and Temperature data logging script. | |
| For ANLY 510 class | |
| Anurag Kotha | |
| Based on below sketch. | |
| Temperature/Humidity Light monitor using Raspberry Pi, DHT11, and photosensor | |
| Data is displayed at thingspeak.com | |
| 2015/06/15 | |
| SolderingSunday.com |
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
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
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
| DNSCRYPT_LOCALIP=127.0.0.1 | |
| DNSCRYPT_LOCALIP2=127.0.0.2 | |
| DNSCRYPT_LOCALPORT=9053 | |
| DNSCRYPT_RESOLVERPORT=443 | |
| DNSCRYPT_USER=nobody | |
| DNSCRYPT_PROVIDER_NAME=2.dnscrypt-cert.resolver2.dnscrypt.eu | |
| DNSCRYPT_PROVIDER_NAME2=2.dnscrypt-cert.resolver1.dnscrypt.eu | |
| DNSCRYPT_PROVIDER_KEY=3748:5585:E3B9:D088:FD25:AD36:B037:01F5:520C:D648:9E9A:DD52:1457:4955:9F0A:9955 | |
| DNSCRYPT_PROVIDER_KEY2=67C0:0F2C:21C5:5481:45DD:7CB4:6A27:1AF2:EB96:9931:40A3:09B6:2B8D:1653:1185:9C66 | |
| DNSCRYPT_RESOLVERIP=77.66.84.233 |
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
| ffmpeg -i input.mp3 -acodec pcm_s16le -ac 1 -ar 16000 output.wav | |
| # To convert all mp3 files in a directory in Linux: | |
| for f in *.mp3; do ffmpeg -i "$f" -acodec pcm_s16le -ac 1 -ar 16000 "${f%.mp3}.wav"; done | |
| # Or Windows: | |
| for /r %i in (*) do ffmpeg -i %i -acodec pcm_s16le -ac 1 -ar 16000 %i.wav |