- Сайт: https://bun.sh/
- Код бенчмарка React SSR: https://github.com/oven-sh/bun/tree/main/bench/react-hello-world
- Документация по
renderToPipeableStream
: https://react.dev/reference/react-dom/server/renderToPipeableStream - Документация по
renderToReadableStream
: https://react.dev/reference/react-dom/server/renderToReadableStream
Проверять метод на скрытость, можете тут: vk.com/dev/МЕТОД
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 | |
# VKontakte *m3u8 downloader | |
# Worked at the time of writing | |
mkdir /tmp/m3u8 | |
set -e -x | |
cd /tmp/m3u8 | |
rm * |
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
package com.nieldeokar.whatsappaudiorecorder.recorder; | |
import android.media.AudioFormat; | |
import android.media.AudioRecord; | |
import android.media.MediaCodec; | |
import android.media.MediaCodecInfo; | |
import android.media.MediaFormat; | |
import android.media.MediaRecorder; | |
import android.os.Build; | |
import android.util.Log; |
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
pacman -Syy | |
pacman -S reflector | |
reflector -c "Ukraine" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist | |
Смотрим диски: | |
fdisk -l | |
Разметка: | |
cfdisk /dev/sd* | |
Delete current - create new - primary - Bootable - Write - Quit |
A quick guide on how to read/write/modify ID3 metadata tags for audio / media files using ffmpeg
.
FFmpeg has a free-form command line option that allows the user to specify key-value-pairs for encoding metadata. Let's take a look.
To list all global metadata tags for a media file, just set an input but no output file.
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
#include <arpa/inet.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <sys/socket.h> | |
#include <unistd.h> | |
int main() { | |
const char* server_name = "localhost"; | |
const int server_port = 8877; |
ffmpeg -i input.mov -vcodec h264 -acodec aac -s 1280x720 output.mp4
ffmpeg -i {input}.mov -vcodec h264 -acodec aac -strict -2 output.mp4
ffmpeg -f avfoundation -framerate 30 -i "0" -c:v libx264 -an -f flv rtmp://localhost:1935/live/mystream
ffmpeg -re -i ~/Desktop/input.mp4 -c copy -f flv rtmp://localhost:1935/live/mystream
NewerOlder