See video: https://www.youtube.com/watch?v=BAQ78pBPjjc
In BIOS, under security, set "Enforce secure boot" to "disabled".
Keyboard layout for boot env:
localectl list-keymaps | grep uk
loadkeys uk
const electron = require("electron"); | |
const { join } = require("path"); | |
class BrowserWindow extends electron.BrowserWindow { | |
constructor(options) { | |
if (options?.webPreferences?.preload && options.title) { | |
// Replace Discords preload script with our own | |
process.env.DISCORD_PRELOAD = options.webPreferences.preload; | |
options.webPreferences.preload = join(__dirname, "preload.js"); |
See video: https://www.youtube.com/watch?v=BAQ78pBPjjc
In BIOS, under security, set "Enforce secure boot" to "disabled".
Keyboard layout for boot env:
localectl list-keymaps | grep uk
loadkeys uk
This guide helps to configure the hibernation on a default Fedora35 (also worked fine in previous Fedora34) installation by using a swap file. The Fedora35 installation comes with btrfs as default filesystem. Also, it comes with a zram swap device:
$ swapon
NAME TYPE SIZE USED PRIO
/dev/zram0 partition 8G 0B 100
section: post date: "2020-04-12" title: "Archlinux sur un SSD avec EFI / LUKS2 / LVM2 / BTRFS" description: "Procédure d'installation d'Archlinux mise à jour et modernisée" slug: archlinux-efi-ssd-luks2-lvm2-btrfs tags:
// Code ported from https://0fps.net/2012/06/30/meshing-in-a-minecraft-game/ | |
// Note this implementation does not support different block types or block normals | |
// The original author describes how to do this here: https://0fps.net/2012/07/07/meshing-minecraft-part-2/ | |
const int CHUNK_SIZE = 32; | |
// These variables store the location of the chunk in the world, e.g. (0,0,0), (32,0,0), (64,0,0) |
ffmpeg -i video_with_rev_audio.mp4 -map 0 -c:v copy -af "areverse" reversed_audio.mp4 |
// routes.js | |
const routes = [ | |
{ | |
path: '/', | |
component: Home, | |
exact: true | |
}, | |
{ | |
path: '/gists', | |
component: Gists |
{-# LANGUAGE OverloadedStrings #-} | |
module Main where | |
import Network.Wai (pathInfo, Request, requestMethod, Response, responseLBS, ResponseReceived) | |
import Network.Wai.Handler.Warp (run) | |
import Network.HTTP.Types (status200, status401) | |
-- note: type Application = Request -> (Response -> IO ResponseReceived) -> IO ResponseReceived | |
application :: Request -> (Response -> IO ResponseReceived) -> IO ResponseReceived |