Introduction The scp command is used to copy files and directories between one computer to another. What is valuable about this utility is the fact that it used ssh to tunnel the copying. This means that the data is encrypted because it rides on ssh’s secure features.
If you’ve ever used a spreadsheet, you’ve probably used or seen functions for doing date math—in other words, taking one date and adding some number of days or months to it to get a new date, or taking two dates and finding the number days between them. The same thing can be done from the command line using the lowly date command, possibly with a little help from Bash’s arithmetic.
For those who want to manually create desktop shortcut launcher in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, Arronax is a good choice with graphical user interface.Other than creating .desktop file via Linux command, Arronax offers a graphical interface to create (and also edit) desktop shortcut for application, executable file, or URL.
One of the problems with the Raspberry Pi has always been that it uses an ARM-based processor, which means that some software and many operating systems don’t run (or don’t run as well) as they would on a device with an Intel or AMD processor. There have been boards that use non-ATM based processors in the past, but they have all been quite expensive compared to the $35 Raspberry Pi, which has more or less become the device against which all other small single board computers are measured these days. While the Raspberry Pi still has its place, especially where size is a major consideration, the new “Atomic Pi” in many ways appears to offer superior performance at about the same price point. This video gives more details:
An Amazon purchaser “Heron” posted a great review of the Atomic Pi. Just in case it becomes inaccessible for some reason, here is what he said (spelling errors have been corrected, but no other changes made):
* The price: other x86 SBCs with the same CPU cost $100. Other mini PCs from China cost at least $80. This board is a bargain.
* USB3.0, real gigabit Ethernet (it really reaches than 900mbps) and low power consumption make this board the best $35 NAS solution.
* x86_64 architecture, 2GB RAM and full Windows and Android x86 compatibility make this board the cheapest way to get a half decent PC fully capable of handling office tasks.
* The ability to choose your own WiFi antennas, exposed GPIOs, Linux and Android compatibility, the presence of a eMMC, onboard Bluetooth and WiFi, make this board quite versatile.
* The big heatsink didn’t allow the CPU to reach more than 55°C in my tests.
Now that it’s out of stock I’m regretting buying only one.
What I don’t like:
* The absence of a DC barrel jack. But this board can still be powered easily with breadboard jumpers.
* A 16GB eMMC is too small for Windows 10 (but it’s more than enough for Linux)
* I would have expected to find at least some cheap PCB WiFi antennas included in the box. Without them WiFi is basically useless and now I have to wait to get some from Aliexpress.
* There is no audio jack. You can either use audio over HDMI, or use a cheap USB sound card. Or use the big external expansion board (not yet available from Amazon).
Raspberry Pi comparison:
* The Atomic Pi is a little bigger than two Raspberry Pi.
* The Atomic Pi is much much faster than a Raspberry Pi.
* The Atomic Pi can display 1080p videos from VLC and even from YouTube (with Firefox). With the Raspberry Pi you have to use its own player and just forget about streaming a HD video from a browser without stuttering.
* The Atomic Pi requires a slightly more powerful power supply than the Raspberry Pi.
* The Atomic Pi doesn’t require a SD to work.
* The Atomic Pi, as a server, is just better in any way than the Raspberry Pi (storage speed, network speed, software compatibility).
* The Raspberry Pi, as a TV media center, can be controlled with your TV remote with HDMI-CEC. The Atomic Pi cannot.
* The Raspberry Pi has a more flexible and better community supported GPIO interface.
* Unlike the Raspberry, the Atomic Pi is already properly cooled out of the box. I didn’t found a way to overclock it, but I could easily change the frequency governor.
How I use it:
I soldered a power connector, from a barrel plug and a common breadboard pin strip. Then I disabled the PXE boot, I booted a Linux live pen drive and flashed the provided Debian Buster minimal image to the eMMC (instructions provided).
Then I installed a desktop environment (with the command taskel), so now I have a little Linux desktop. I also installed a Samba server, so it doubles as a quite fast NAS.
Finally I 3D printed a plastic case from Thingiverse and it’s now complete.
As of mid-May, 2019 the Atomic Pi is once again available to order on Amazon, or it can be purchased from ameriDroid (be sure to check the estimated shipping dates). If you live in the USA you may be able to buy one direct from the manufacturer’s site if they have any currently in stock.
The one glaring omission on this device is that there is no standard power input jack – what were they thinking when they left this off of the main board?! That missing power jack is the thing that has prevented them from having a 5-star rating on Amazon. This document explains how to get power to the unit (one of the options is to purchase a “baby breakout” board that has a power jack for an additional $3). Note that a power supply that produces 5V and at least 2.4A is required, and you will need a bit more power (higher Amperage) if you plan to power anything from one of the USB connections. There’s a discussion on Reddit titled MEGATHREAD: Powering your Atomic Pi: Ask all your power questions here! and also a Powering Your Atomic Pi Megathread in the Atomic Pi Reddit forum. These threads might be helpful if you are trying to figure out how to power an Atomic Pi.
Also the manufacturer doesn’t appear to offer an enclosure of any kind. If you have access to a 3D printer you can print one yourself (for example, see here (this appears to be the enclosure shown in Heron’s review), here, or here), otherwise I’m sure that sooner or later someone will offer enclosures for the Atomic Pi.
Here are some additional articles covering the Atomic Pi:
If you use the program youtube-dl, you may have noticed that from time to time things stop working. Usually it’s because something changes on a site and youtube-dl needs to be patched to deal with it. But what sometimes happens is that someone will submit a patch and then the youtube-dl developers will ignore that patch for many months before they finally get around to merging it into the program. The speed at which the youtube-dl developers fix issues with sites can seem glacial at times.
What’s frustrating is that if you browse through the issues section of the youtube-dl support area using an appropriate search term, you may find the fix for your problem, and maybe it’s just been sitting there for quite some time. But, since youtube-dl is distributed as a compiled binary you may think you have no way to apply it. But that’s not really true – at its core, the entire program is simply a multitude of Python scripts, and it can be run without first being compiled. And if you use it that way, then you can apply patches as needed to any of the python modules, whether they are patches you have written or patches that you have found in the issues area, or elsewhere on the Internet.
So here is how you can install and use youtube-dl using actual source code.
A VPN (Virtual Private Network) protects your privacy by routing all your Internet traffic through an encrypted server that your ISP (or hackers) can’t see. Setting up and using a log-free VPN service from your PC desktop is straightforward enough, but other devices in your home such as your game console and set-top box don’t let you install VPN software.
One solution is to buy a router that can connect directly to a VPN service, protecting all the traffic on your home network a single stroke. But it could be cheaper (and simpler) just to route all your traffic through a Raspberry Pi that remains connected to the VPN at all times.
ffmpeg is a CLI (command line based) utility for processing media files. It is a framework with a multitude of features and, because of it’s open source license, it is the base for many widespread apps such as VLC, YouTube, iTunes and many more. A number of Linux video editors use ffmpeg underneath the GUI.
What I love even more about ffmpeg is that it can be used on it’s own to accomplish many processing tasks in a very simple manner (with one or two commands). However, it’s a very powerful program that can be used in more complex ways and even replace an editing workflow.
In this ffmpeg tutorial, I’ll show you how to install ffmpeg and I’ll be covering it’s different uses. I’ll even get into some more complex features.
I call this the unofficial bash strict mode. This causes bash to behave in a way that makes many classes of subtle bugs impossible. You’ll spend much less time debugging, and also avoid having unexpected complications in production.
Use iptables to create a VPN killswitch to protect against data leaks.
…..
If you’re connected to a VPN, you need a killswitch. No, it’s not as metal as it sounds. It’s just a mechanism that stops your Internet connection when you’re disconnected from the VPN. It protects you from inadvertently leaking sensitive information onto the Internet when the VPN connection drops.
Recent Comments