(GITHUB gists do not allow us to manage the order easily)
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
| ####### | |
| ## These results are still open to the public. See | |
| ## https://blog.ktz.me/the-best-media-server-cpu-in-the-world/ | |
| ## for analysis of them. | |
| # https://github.com/ironicbadger/quicksync_calc | |
| # zoidberg - dell 7040 sff pc | |
| CPU TEST FILE BITRATE TIME AVG_FPS AVG_SPEED AVG_WATTS | |
| i5-6600T h264_1080p_cpu ribblehead_1080p_h264 18952 kb/s 116.352s 29.88 1.04x N/A |
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
| if [ -f ~/.vim/autoload/plug.vim ]; then | |
| echo "fzf-vim already installed." | |
| else | |
| curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
| https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| cat >> ~/.vimrc <<EOF | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
| call plug#end() | |
| command! -bang -nargs=* GGrep |
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
| # Echo the commands as they're run | |
| Set-PSDebug -Trace 1 | |
| # Dump Windows version | |
| Get-ComputerInfo | Format-Table WindowsVersion, OsVersion | |
| # Create a UEFI VM, secure boot enabled, use the secure boot settings for the | |
| $vm = New-VM -Generation 2 -Name "Fedora 34 beta" -Path . | |
| $vm | Set-VMFirmware -EnableSecureBoot On -SecureBootTemplate "MicrosoftUEFICertificateAuthority" |
This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)
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/awk -f | |
| # This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff | |
| # My copy here is written in awk instead of C, has no compelling benefit. | |
| # Public domain. @thingskatedid | |
| # Run as awk -v x=xyz ... or env variables for stuff? | |
| # Assumptions: the data is evenly spaced along the x-axis | |
| # TODO: moving average |
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
| #!/bin/sh | |
| set -eu | |
| curl -LO https://www.flatcar-linux.org/security/image-signing-key/Flatcar_Image_Signing_Key.asc | |
| gpg --import Flatcar_Image_Signing_Key.asc | |
| wget \ | |
| https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu_image.img.bz2 \ | |
| https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu.sh \ | |
| https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu.README \ |
apt install bbswitch-
To run bbswitch without bumblebeed on system startup, do not forget to add bbswitch to /etc/modules-load.d.
/etc/modprobe.d/bbswitch.conf options bbswitch load_state=0 unload_state=1nano /etc/modules-load.d bbswitch
This is the resource repositry for my memory managment lecture / workshop series at Breda University of applied sciences - Games. It is mainly targeted for game developers
Nginx can be configured to route to a backend, based on the server's domain name, which is included in the SSL/TLS handshake (Server Name Indication, SNI).
This works for http upstream servers, but also for other protocols, that can be secured with TLS.
- at least nginx 1.15.9 to use variables in ssl_certificate and ssl_certificate_key.
- check
nginx -Vfor the following:... TLS SNI support enabled
NewerOlder