- Header Kernel - GCC
sudo apt-get install linux-headers
- Pacotes essenciais
| /* | |
| export default new GraphQLObjectType({ | |
| name: 'User', | |
| description: 'A user', | |
| fields: () => ({ | |
| first_name: { | |
| type: GraphQLString, | |
| description: 'The first name of the user.' | |
| }, | |
| email: { |
| defmodule Projections.Repo.Migrations.CreateProjectionVersions do | |
| use Ecto.Migration | |
| def change do | |
| create table(:projection_versions, primary_key: false) do | |
| add :projection_name, :text, primary_key: true | |
| add :last_seen_event_id, :bigint | |
| timestamps | |
| end |
There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.
There is now an option while editing your VM's settings to add a New raw disk when you click `Add ha
| # allow `mount` cmd without password | |
| echo "$USER ALL=NOPASSWD: /bin/mount" | (sudo su -c 'EDITOR="tee -a" visudo') | |
| # add the mount directive to `fstab` | |
| sudo mkdir -p /c | |
| sudo sh -c "echo '/mnt/c /c none bind' >> /etc/fstab" | |
| # update to `.bashrc` to auto mount at login | |
| echo "sudo mount -a" >> ~/.bashrc | |
| # now reload it | |
| source ~/.bashrc |
| $win_user = "ipc" | |
| $linux_user = "ipc" | |
| $package = "CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc" | |
| $base_path = "C:\Users\" + $win_user + "\AppData\Local\Packages\" + $package + "\LocalState\rootfs" | |
| $dirs = @("\bin", "\sbin", "\usr\bin", "\usr\sbin", "\home\" + $linux_user + "\.cargo\bin") | |
| $dirs | ForEach { Add-MpPreference -ExclusionProcess ($base_path + $_ + "\*") } | |
| Add-MpPreference -ExclusionPath $base_path |
| # Adding blurred boxes | |
| # - build a layer called b0, a blurred box with size 100x50 and offset 600x50, between 23s and 31s | |
| # - build a layer called b1, a blurred box with size 300x80 and offset 190x270, between 37s and 49s | |
| # - merge the original video and b0 on ovr0 | |
| # - merge ovr0 and b1 to build output | |
| ffmpeg -i input.mp4 -filter_complex \ | |
| "[0:v]crop=100:50:600:150,boxblur=10:enable='between(t,23,31)'[b0]; \ | |
| [0:v]crop=300:80:190:270,boxblur=10:enable='between(t,37,49)'[b1]; \ | |
| [0:v][b0]overlay=600:150[ovr0]; \ | |
| [ovr0][b1]overlay=190:270[output]" \ |
| # Possibly obsolete: k3d create --name testcls1 --workers 3 | |
| k3d create --name testcls1 --workers 3 --server-arg "--no-deploy=traefik" --server-arg "--no-deploy=servicelb" | |
| # UPDATE: in newer versions onwards, this has evolved to (thanks to comments below): | |
| k3d cluster create --k3s-arg "--no-deploy=traefik@server:*" |
| openapi: 3.0.2 | |
| info: | |
| title: Keycloak Account API | |
| version: 20.0.3 | |
| description: | | |
| Derived from the code at https://github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keycloak/services/resources/account/AccountRestService.java | |
| components: | |
| securitySchemes: | |
| access_token: | |
| type: http |