This section applies to machines with Secure Boot, such as ThinkPad.
- Before installation, switch to "Discrete Graphics" in BIOS, if both Intel and Nvidia graphics are present.
- During installation, make sure to select the "Install third-party software for graphics and Wi-Fi hardware and addition media formats" in "Updates and other software" screen.
- Select "Configure Secure Boot", and set password.
- Continue Ubuntu installation as normal.
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
import gi | |
import time | |
from gi.repository import GObject, Gst | |
gi.require_version('Gst', '1.0') | |
Gst.init(None) | |
pipeline = Gst.Pipeline() | |
rpicamsrc = Gst.ElementFactory.make("rpicamsrc", "rpicam") |
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
#!/usr/bin/env bash | |
# install docker | |
# https://docs.docker.com/engine/installation/linux/ubuntulinux/ | |
# install docker-compose | |
# https://docs.docker.com/compose/install/ | |
# install letsencrypt | |
# https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04 |
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
name: 'Artifacts Cleanup' | |
on: | |
schedule: | |
- cron: '0 1 * * *' # every night at 1 am UTC | |
workflow_dispatch: | |
jobs: | |
delete-artifacts: | |
runs-on: ubuntu-latest | |
steps: |
Nuxt JS: Keep user logged in with Firebase Auth and also fetch the necessary User data from Cloud Firestore and put it in your Vuex store if the user is already logged in before rendering the page
Install the required packages.
-
If you use
npm
npm i firebase firebase-admin cookies js-cookie
-
If you use
yarn
yarn add firebase firebase-admin cookies js-cookie