Solution: Ubuntu distros lower than 18.10
will not work in this laptop, as minimum kernal version required is 4.18
.
So install ubuntu 18.10 / xubuntu 18.10 / lubuntu 18.10 / kubuntu 18.10 in UEFI
mode
import SwiftUI | |
import PlaygroundSupport | |
struct Screen: View { | |
var body: some View { | |
VStack { | |
ChatTopView() | |
ConversationView() | |
ChatBottomBar().padding(.bottom, 10) | |
} |
Solution: Ubuntu distros lower than 18.10
will not work in this laptop, as minimum kernal version required is 4.18
.
So install ubuntu 18.10 / xubuntu 18.10 / lubuntu 18.10 / kubuntu 18.10 in UEFI
mode
# One liner | |
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com | |
# Explained | |
wget \ | |
--recursive \ # Download the whole site. | |
--page-requisites \ # Get all assets/elements (CSS/JS/images). | |
--adjust-extension \ # Save files with .html on the end. | |
--span-hosts \ # Include necessary assets from offsite as well. | |
--convert-links \ # Update links to still work in the static version. |
Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.
On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
.
On my RetroPie machine I wanted a hardware volume knob — the games I play use a handful of emulators, and there's no unified software interface for controlling the volume. The speakers I got for my cabinet are great, but don't have their own hardware volume knob. So with a bunch of googling and trial and error, I figured out what I need to pull this off: a rotary encoder and a daemon that listens for the signals it sends.
A rotary encoder is like the standard potentiometer (i.e., analog volume knob) we all know, except (a) you can keep turning it in either direction for as long as you want, and thus (b) it talks to the RPi differently than a potentiometer would.
I picked up this one from Adafruit, but there are plenty others available. This rotary encoder also lets you push the knob in and treats that like a button press, so I figured that would be useful for toggling mute on and off.
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
#!/bin/bash | |
SERVICE='motion' | |
RUN_COMMAND='nice -n 10 /usr/local/bin/motion &' | |
LOGFILE=/home/pi/motion/motion.log | |
VOPATH=/media/data/motion # video output directory | |
LIMIT=90 # maximum disk usage | |
if [ ! $(pidof $SERVICE) ] | |
then |
1 - Create the file /etc/modprobe.d/8192cu.conf | |
2 - Add the following line to the file | |
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0 | |
3 - Reboot | |
4 - Check if power saving mode is switched off (0 = off, 1 = on) | |
cat /sys/module/8192cu/parameters/rtw_power_mgnt |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes: