Graphical aspect may vary depending on your choices in following the instructions below, but the end result should look something like this:
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
- Parzialmente ispirato a vari gist sparsi per il web | |
- Sto ancora facendo tuning dei parametri | |
# TRASMETTERE: | |
INTEL e AMD [VAAPI] (libva-mesa-driver): | |
ffmpeg -f x11grab -s 1920x1080 -framerate 60 -i $DISPLAY -vaapi_device /dev/dri/renderD128 -vf 'format=nv12,hwupload,scale_vaapi=w=1920:h=1080' -c:v h264_vaapi -qp:v 26 -bf 0 -preset superfast -tune zerolatency -b:v 2000K -minrate 2000K -maxrate 2000K -bufsize 512k -f rawvideo udp://192.168.1.222:12345 | |
NVIDIA (CUDA/NVENC/H264) STREAM: | |
ffmpeg -hwaccel cuda -hwaccel_output_format cuda -f x11grab -s 1920x1080 -i $DISPLAY -c:v h264_nvenc -zerolatency 1 -delay:v 0 -preset p1 -tune ull -b:v 2000k -bufsize 512k -maxrate 2000k -qmin 0 -temporal-aq 1 -rc-lookahead 0 -i_qfactor 0.75 -b_qfactor 1.1 -f rawvideo udp://192.168.1.222:12345 |
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/env python | |
import sys | |
from datetime import datetime | |
HELP_MESSAGE = """/ | |
Usage :- | |
$ ./todo add "todo item" # Add a new todo | |
$ ./todo ls # Show remaining todos | |
$ ./todo del NUMBER # Delete a todo | |
$ ./todo done NUMBER # Complete a todo | |
$ ./todo help # Show usage |
Este documento contém os links de referência citados na live do canal Full Cycle Ambiente perfeito de Docker com VSCode e WSL2
Para utilizar o Docker no Windows, use este guia de instalação: https://github.com/codeedu/wsl2-docker-quickstart.
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
//inspired by https://www.dwitter.net/d/10534 | |
//https://twitter.com/VolfeganGeist/status/1273451476556353536 | |
float i, m, n, p, s, t, x, y; | |
void setup() { | |
size(1080, 720); | |
noStroke(); | |
} | |
void draw() { | |
background(0); | |
t+=.05; |
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
# This may be runnable as a script, but keep in mind -y is not always acknowledged. | |
# These are the drop dead basics | |
pkg -y install vim | |
pkg -y install git | |
pkg -y install chromium | |
pkg -y install gimp | |
pkg -y install sudo | |
# Install Rust |
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
//reference code for solution of perfect Spiral: | |
//https://gist.github.com/chandeeland/b69156115e2b5842d83ca9eb3b2bbf2e | |
//failed trial:: https://gist.github.com/volfegan/e55decad6814e63fb450379c9bf13a61 | |
//attempt to recreate: https://twitter.com/Borrachas/status/1204855395006763009 | |
float a, b, x, y, d, h=600/2, r, s, shrink=0.94; | |
void setup() { | |
size(600, 600); | |
} | |
void draw() { | |
background(#EFF2D0); |
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
#![no_std] | |
#![feature(maybe_uninit_ref)] | |
extern crate alloc; | |
use core::f64::consts::PI; | |
//use no_panic::no_panic; | |
use wasm_bindgen::prelude::*; |
NewerOlder