lscpu | grep -i Virtualization
VT-x
for IntelAMD-Vi
for AMD
# Bun is now officially supported and these environments variables are no longer needed. Keeping this gist for legacy purposes. | |
# SKIP_DEPENDENCY_INSTALL=true | |
# UNSTABLE_PRE_BUILD=asdf install bun latest && asdf global bun latest && bun i |
load_module modules/ngx_rtmp_module.so; | |
... | |
rtmp { | |
server { | |
listen 0.0.0.0:1935; | |
# if you want to run all on one server, change port here, eg: | |
# listen 127.0.0.1:1936; | |
chunk_size 4000; | |
notify_method get; | |
interleave on; |
" When git complains about line endings with this message: | |
" \ No newline at end of file | |
" the easier fix is to use the following VIM command: | |
set noendofline binary |
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple
) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic
module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Older Keychron keyboards (those not based on QMK) use the hid_apple
driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.
Prerequirements:
i. Install NGINX
apt install nginx
ii. Modify nginx.conf
In /etc/nginx/nginx.conf
you should have a similar setup:
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Mvc.Testing; | |
using Microsoft.EntityFrameworkCore; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.DependencyInjection.Extensions; | |
using Tweetbook.Contracts.V1; | |
using Tweetbook.Contracts.V1.Requests; | |
using Tweetbook.Contracts.V1.Responses; |
I (437) example: Opening file | |
I (457) example: File written | |
I (467) example: Renaming file | |
I (467) example: Reading file | |
I (467) example: Read from file: 'Hello SU04G!' | |
This line will be written into the log file, not to UART |
/*# 1- Identify the UART interface, GPIO pins and Alternate Function #########*/ | |
/* For example: | |
* B-L475E-IOT01A: | |
* PB6 ------> USART1_TX | |
* PB7 ------> USART1_RX | |
* | |
* NUCLEO-L476RG: | |
* PA2 ------> USART2_TX | |
* PA3 ------> USART2_RX | |
* |