- Windows 11/10 x64.
- Visual Studio Community 2022 + Desktop Development with C++ + Windows 10.0 SDK.
- CMake.
- Ninja Build System.
- Skia.
- Winrar or 7zip.
Discover gists
Markdown - это облегчённый язык разметки, который преобразует текст в структурированный HTML. Следующее руководство поможет вам разобраться, как использовать Markdown.
# Заголовок первого уровня
## Заголовок второго уровня
### Заголовок третьего уровня
#### Заголовок четвёртого уровня
##### Заголовок пятого уровня
# National Anthem of USSR | |
# Execute this ShellScript, Soviet Anthem Plays You. | |
# Before execute this, you have to install Sox(Sound eXchange) by apt-get / brew. | |
mkdir notes | |
cat << EOS | grep -v "-" | awk '{if ($1=="z") {print "sox -n -c 2 notes/"NR".wav trim 0.0", $2/4} else {{print "sox -n -c 2 notes/" NR ".wav synth", $2/4, "pluck", $1, "\\"} if ($3!="") {print "pluck", $3, "\\"} if ($5!="") {print "pluck", $5, "\\"} print ";"}}END{print "sox notes/{1.."NR-1"}.wav song_new.wav"}' | bash | |
E4 4 G4 4 C5 4 | |
- | |
D4 1 G4 1 D5 1 | |
C4 1 G4 1 C5 1 |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
I've put together these notes as I read about DHT's in depth and then learned how the libtorrent implementation based on the Kademlia paper actually works.
400,000,000,000
(400 billion stars), that's a 4 followed by 11 zeros.
The number of atoms in the universe is estimated to be around 10^82
.
A DHT with keys of 160 bits, can have 2^160
possible numbers, which is around 10^48
Since June, 22nd 2020, Apple released Xcode 12, that introduced an internal change to Xcode, breaking arm64e compilation for tweak developers. This is due to the update of clang/LLVM (AFAIK) in Xcode 12.
More specifically:
- compiling code for arm64e with Xcode 11 Toolchain will allow this code to run
only on iOS 13 and lowerfor all versions!. - compiling code for arm64e with Xcode 12 Toolchain will allow this code to run only for iOS 14 (and up).
No error is produced during compilation. arm64 slices are not concerned and will always work.
<header> | |
<nav> | |
<ul id="main_nav"> | |
<li class="active all" data-title="all" title="All">All</li> | |
<li class="icon-address active" data-title="life" title="Life Events"></li> | |
<li class="icon-graduation-cap active" data-title="education" title="Education"></li> | |
<li class="icon-briefcase active" data-title="work" title="Work"></li> | |
<li class="icon-user active" data-title="user" title="Additional Info"></li> | |
</ul> |
*This Dockerfile is intended for SvelteKit applications that use adapter-node. So, the Dockerfile below assumes that you have already installed and configured the adapter.
FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json .
RUN npm ci
COPY . .
RUN npm run build
// ==UserScript== | |
// @name YouTube Disable Normalization | |
// @namespace https://gist.github.com/fa7ad/fa995474f5cb9fe91fb209686881373d | |
// @version 0.2 | |
// @description Allows true 100% volume on youtube videos. | |
// @author Wouter Gerarts | |
// @match https://www.youtube.com/* | |
// @match https://youtube.com/* | |
// @grant none | |
// ==/UserScript== |