stream your radio station on alexa for free

DIY, Electronics, Linux, Technical
How to stream your radio station on Alexa A tool to help you stream your radio station to Amazon's Alexa devices.Used by Internet, AM, FM and DAB stations around the world! Not technical? Don't worry. Every step is covered.If you can cut and paste you have this covered.One to one guidance and help available. Step 1. - Pick Station Name, Website and stream address Step 2. Adjust below code to suit the previous choices Below is the JSON you will use as a baseline and adjust for your own names, etc { "interactionModel": { "languageModel": { "invocationName": "radio tincup", "intents": [ { "name": "AMAZON.CancelIntent", "samples": [ "Cancel" ] }, { "name": "AMAZON.HelpIntent", "samples": [ "Help" ] }, { "name": "AMAZON.StopIntent", "samples": [ "Stop" ] }, { "name": "Play", "samples": […
Read More

How to stream your radio station on Alexa

DIY, Electronics, Linux, Technical
A tool to help you stream your radio station to Amazon's Alexa devices.Used by Internet, AM, FM and DAB stations around the world! Reading Timee: 12 minutes In this post I‚Äôll explain how to run your own Internet radio station. On top of that, I‚Äôll show you how to build an Alexa skill to deploy your station in the cloud, so anyone with Alexa can say: ‚ÄúAlexa, play¬†<whatever_station>‚ÄĚ and hear your Internet radio station. There are many tutorials that describe this, but most of them require that you pay for some radio station hosting. If that‚Äôs easier for you, then you can skip this tutorial. If you want to have your own radio on the Internet (build from scratch) and deploy it or not on Alexa, than this guide is for you.…
Read More

Removing Duplicate E-mail Messages From A Mailbox

Linux, SysAdmin, Technical
Occasionally your mail delivery scheme might hiccup, leaving you with duplicate copies of email messages sitting in your mailboxes. I find this happens occasionally if something goes wrong with¬†fetchmail¬†- you kill the fetchmail process before it has expunged the deleted email from the remote POP3 server, so the next time you run fetchmail it downloads a second copy of each email. This is a simple process that I came up with to remove duplicate email messages from a¬†maildir¬†format mailbox. As a bit of background, a maildir mailbox is a small directory tree: $ du .boxes.xml-dev 4 .boxes.xml-dev/tmp 124 .boxes.xml-dev/new 52340 .boxes.xml-dev/cur 52920 .boxes.xml-dev $ Hierarchy is represented by components of the mailbox name separated by dots, so the mailbox above is called¬†xml-dev¬†and it is in the¬†boxes¬†mailbox. Messages are files in…
Read More

How to run xmrig-proxy as a service

Crypto, Linux, SysAdmin, Technical
Create a systemd service unit for it. See the examples on the man page. The simplest example shows how easy it can be to create a service unit: [Unit] Description=Xmrigproxy [Service] User=ubuntu Group=ubuntu ExecStart=/home/ubuntu/xmrig-proxy-5.5.1/xmrig-proxy-notls Restart=always [Install] WantedBy=multi-user.target Alias=xmrigproxy.service Store this unit under /etc/systemd/system/xmrigproxy.service, then reload systemd to read this unit file with: $ sudo systemctl daemon-reload Start the service with: $ sudo systemctl start xmrigproxy.service And enable it during startup with: $ sudo systemctl enable xmrigproxy.service You can check the status of the service with: $ systemctl status xmrigproxy.service View the output of the program by using: $ journalctl -u xmrigproxy.service -f
Read More

How to use a YubiKey for Two-Factor Secure Shell Authentication

Linux, SysAdmin, Technical
What is Yubikey? YubiKeys are small USB dongles that you can plug into your computer. They can simulate keyboard input, allowing you to enter One Time Passwords (OTPs) with the press of a button to authenticate with services like Google, Dropbox and GitHub. YubiKeys can also be used when logging into a remote server. This guide will show you how to configure your server so that a YubiKey must be plugged in and tapped in order to log in to your server using¬†ssh. Depending on your needs, you can also configure a password in addition to the YubiKey for an extra level of security. If you want to work through this guide but don‚Äôt have a YubiKey, you can find one¬†at this link. As of this writing, any key that supports…
Read More

Document Moved Error after Upgrade to OpenCart 3.x.x.x

Linux, SysAdmin, Technical
If you have upgraded to OpenCart 3.x.x.x recently and are noticing a "Document Moved" Error when accessing extensions in your OpenCart Admin Panel It is due to a misconfigured line in your config.php file that resides inside your admin folder. (public_html/admin/config.php). You will find a line that says: define('OPENCART_SERVER', 'http://www.opencart.com/'); The line actually needs to read like this: define('OPENCART_SERVER', 'https://www.opencart.com/'); The problem is if you're running your OpenCart with HTTPS...Which you SHOULD be the non-https URL won't load from within the admin panel. The purpose of that URL is to grab the extension lists and extension advertisements and show them on the extensions page. Replace that one line and the issue will be resolved! I have referenced this error here, on the official OpenCart Github: https://github.com/opencart/opencart/issues/7269 And also made the…
Read More

Emails not sending after upgrade to OpenCart 3.x.x.x

Linux, SysAdmin, Technical
The issue is - OpenCart does not send emails after order checkout or account registration. I don't mean that the server is failing to send the mail (I'm running my own email server and there is no trace of any email being sent in the logs), but that the OpenCart installation doesn't even get to the code where mail is supposed to be sent. If I use the newsletter form in administration, all the emails are sent and delivered fine without any issues. All other applications on the same server using the same PHP and Sendmail are working without problems, as was the 2.3 OC installation with exactly the same settings. First thing to check: - Ensure your admin - > extensions - > events page has more than 30…
Read More

Opencart upgrade error `Could not load template adaptor`

Linux, SysAdmin, Technical
Upgrading one of my stores I encountered the following error: Fatal error: Uncaught Exception: Error: Could not load template adaptor ! in /home/u572407319/public_html/system/library/template.php:11 Stack trace: #0 /home/u572407319/public_html/system/storage/modification/system/engine/loader.php(81): Template->__construct(NULL) #1 /home/u572407319/public_html/install/controller/common/header.php(14): Loader- >view('common/header', Array) #2 /home/u572407319/public_html/system/storage/modification/system/engine/action.php(51): ControllerCommonHeader->index(Array) #3 /home/u572407319/public_html/system/storage/modification/system/engine/loader.php(24): Action- >execute(Object(Registry), Array) #4 /home/u572407319/public_html/install/controller/upgrade/upgrade.php(28): Loader- >controller('common/header') #5 /home/u572407319/public_html/system/storage/modification/system/engine/action.php(51): ControllerUpgradeUpgrade->index() #6 /home/u572407319/public_html/system/engine/router.php(34): Action->execute(Object(Registry)) #7 /home/u572407319/public_html/system/engine/router.php(29): Router in /home/u572407319/public_html/system/library/template.php on line 11 Below is what can be done to fix this: The issue is the template adapters are set by system/config/catalog.php // Template$_['template_engine'] = 'twig'; Way to resolve it is, clear your modification directory! (system/storage/modification)Make sure you leave index.html but clear everything else out of that directory then refresh your main site/page.
Read More