sudo apt install open-vm-tools open-vm-tools-desktop
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt update && sudo apt upgrade
$currentPath = Get-Location | |
# Rename the file python312._pth to python312._pth.save to prevent malfunction | |
Rename-Item Path "$currentPath\python312._pth" -NewName "$currentPath\python312._pth.save" | |
#Get pip from https://bootstrap.pypa.io/get-pip.py | |
$url="https://bootstrap.pypa.io/get-pip.py" | |
$output="$currentPath\get-pip.py" | |
Invoke-WebRequest -Uri $url -OutFile $output | |
# Copyright © 2017-2022 SOFTINUX. All rights reserved. | |
# Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information. | |
<# | |
.SYNOPSIS | |
This is a Powershell script to create nuget local package | |
.DESCRIPTION | |
Usage: | |
#> |
program WebRestServer; | |
{$mode objfpc}{$H+} | |
uses | |
{$IFDEF UNIX}cthreads, cmem, {$ENDIF} | |
SysUtils, fphttpapp, httpdefs, httproute, fpjson, jsonparser, | |
fphttpclient, opensslsockets,Classes; | |
procedure jsonResponse(var aResponse: TResponse; data: String); |
RGB | |
Red: 59 | |
Green: 110 | |
Blue: 165 | |
Hexadecimal | |
#3B6EA5 |
version: '2' | |
services: | |
rocketchat: | |
image: rocketchat/rocket.chat:latest | |
command: > | |
bash -c | |
"for i in `seq 1 30`; do | |
node main.js && | |
s=$$? && break || s=$$?; |
ffmpeg -i INPUTFILENAME -c:v libx264 -r 25 -preset slow -crf 24 -c:a copy -vf scale=1280:720 OUTPUTFILENAME |
Change value of read size into Input/Codec -> Stream filters -> Prefetch | |
Set it same as buffer size. |
#!/bin/bash | |
xprop WM_CLASS | grep -o '"[^"]*"' | head -n 1 |
"^(code|discord|rocket.chat|slack|microsoft teams - preview)$" | |
None, Up, Button4, 2 | |
None, Down, Button5, 2 | |
".*-chrome*" | |
None, Up, Button4, 2 | |
None, Down, Button5, 2 | |
Shift_L, Up, Shift_L|Button4, 2 | |
Shift_L, Down, Shift_L|Button5, 2 | |
Control_L, Up, Control_L|Button4 |