sudo yum install ncurses-devel
Discover gists
Everything below the separator bar is a mirror of the "Find Alternatives for Ourselves Megathread: Third Strike" post by bettervanilla on the r/RedditAlternatives subreddit, found here.
It was last updated on 2023, Aug 6 at or around 1325 EDT. It may or may not get updates going forward, depending on how much free time I have (e.g. don't expect me to update it but I might if I have time). Also, if bettervanilla decides to move his post off of reddit, I plan to update this page to redirect to the new location.
Also found one more really nice list mentioned on the r/linuxmasterrace sub while trying to find where they are migrating to. Thanks to /u/ball_soup for sharing!
[ | |
{ | |
"id": "7725e362.54641c", | |
"type": "tab", | |
"label": "WeatherFlow Tempest (HA+MQTT) ", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "e4e51e81.61592", |
# -*- coding: utf-8 -*- | |
"""Example Google style docstrings. | |
This module demonstrates documentation as specified by the `Google Python | |
Style Guide`_. Docstrings may extend over multiple lines. Sections are created | |
with a section header and a colon followed by a block of indented text. | |
Example: | |
Examples can be given using either the ``Example`` or ``Examples`` | |
sections. Sections support any reStructuredText formatting, including |
#!/bin/bash | |
CURDIR=$(pwd) | |
CYAN='\033[0;36m' | |
GREEN='\033[0;32m' | |
NC='\033[0m' | |
ORANGE='\033[0;33m' | |
PURPLE='\033[0;35m' | |
RED='\033[0;31m' | |
YELLOW='\033[1;33m' |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.DisposableEffect | |
import androidx.compose.runtime.remember | |
import androidx.compose.runtime.snapshots.MutableSnapshot | |
import androidx.compose.runtime.snapshots.Snapshot | |
import java.util.WeakHashMap | |
@PublishedApi | |
internal class DebugStateObservation(private val id: String) { | |
private val map = WeakHashMap<Any, MutableList<Exception>>() |
const setProxySettings = ( | |
{ | |
call, | |
filter, | |
}: { | |
call: ({ path, args }: { path: unknown; args: unknown[] }) => any; | |
filter: (path: string[]) => unknown; | |
} = { | |
call: ({ path, args }) => { | |
return { |
众所周知,有些服务存在着地区限制,我们可以通过在服务所属地区搭建代理服务来解决,其中在其服务范围内部署 Nginx 反代服务是个有效且流行的办法。
但如果区域很多,每个区域都布置一台服务器那成本会有些高昂且利用率很低,通常我们只是需要该地区的 IP 而已,如果手头上正好有这些地区的代理池的话,那我们就可以只用一台服务器部署Nginx反向代理结合服务所在地区的代理实现相同的效果。
本文着重介绍的就是如何让 Nginx 通过代理访问上游服务。(即 proxy_pass 的目标)
详细图文说明可以参见《Nginx 如何与 Socat 配合使用》
PS:本配置兼容 《哔哩漫游》 和 《解除b站区域限制》
#include <stdarg.h> | |
#include <stdbool.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
typedef uint8_t u8; | |
typedef uint16_t u16; | |
typedef uint32_t u32; |