Distant Horizons v2.0.0
(and up) shader compatibility information.
This guide provides a complete, step-by-step process for installing and configuring xRDP on Linux Mint to allow you to connect to your Linux desktop remotely using the Remote Desktop Protocol (RDP). The steps here include configuring the desktop session to avoid common issues with the Cinnamon desktop environment.
-
Update the system package repositories:
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
import com.mojang.authlib.GameProfile; | |
import com.mojang.authlib.properties.Property; | |
import com.mojang.datafixers.util.Pair; | |
import io.netty.buffer.Unpooled; | |
import io.netty.channel.ChannelHandlerContext; | |
import io.netty.channel.ChannelInboundHandlerAdapter; | |
import io.netty.channel.ChannelPipeline; | |
import net.minecraft.EnumChatFormat; | |
import net.minecraft.core.BlockPosition; | |
import net.minecraft.nbt.NBTTagCompound; |
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
# WSL通过Win访问网络,所以WSL的网关指向的是Windows,DNS服务器指向的也是Windows,设置WSL的proxy为win的代理ip+端口即可 | |
# WSL中的DNS server在/etc/resolv.conf中查看,该文件是由/etc/wsl.conf自动生成的。 | |
# 如果关闭了wsl.conf中自动生成resolve.conf并自行修改了resolve.conf,DNS nameserver并不是本机win ip | |
# 需要开启wsl.conf的自动生成,再运行以下命令 | |
# https://zhuanlan.zhihu.com/p/153124468 | |
# 添加到环境变量设置中,例如~/.zshrc | |
export hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*') | |
export https_proxy="http://${hostip}:7890" | |
export http_proxy="http://${hostip}:7890" |
- Navigate to Control Panel > Ease of Access > Ease of Access Center > Make the mouse easier to use
- Check "Activate a window by hovering over it with the mouse" and hit OK
- In the registry editor, navigate to
Computer\HKEY_CURRENT_USER\Control Panel\Desktop
- Update
ActiveWndTrkTimeout
to 300 - Update
UserPreferencesMask
by subtracting 40 bits from the first hex value e.g. DF -> 9F - Log out and log back in
Source: https://winaero.com/enable-xmouse-window-tracking-windows-10/
This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig
will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)
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
1. Hit ctrl+alt+esc | |
2. Hit Alt+F2, type r, and press Enter | |
3. Switch to another tty, for example tty6, by pressing Ctrl+Alt+F6 | |
Run: | |
pkill -HUP -f "cinnamon --replace" | |
Return to tty8 by pressing Ctrl+Alt+F8 |
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
import bpy | |
class IconPanel(bpy.types.Panel): | |
"""Creates a Panel width all possible icons""" | |
bl_label = "Icons" | |
bl_idname = "icons_panel" | |
bl_space_type = 'PROPERTIES' | |
bl_region_type = 'WINDOW' | |
bl_context = "object" |
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
// ==UserScript== | |
// @name YouTube字幕自动选择翻译->中文简体 | |
// @namespace http://tampermonkey.net/ | |
// @version 1.2 | |
// @description translate to Chinese automatically. 自动点击字幕翻译到中文简体 | |
// @author qwertyuiop6 | |
// @match https://www.youtube.com/* | |
// @grant none | |
// ==/UserScript== |
NewerOlder