This file contains 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 hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |
This file contains 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
{ | |
"log": { | |
// By default, V2Ray writes access log to stdout. | |
// "access": "/path/to/access/log/file", | |
// By default, V2Ray write error log to stdout. | |
// "error": "/path/to/error/log/file", | |
// Log level, one of "debug", "info", "warning", "error", "none" | |
"loglevel": "warning" |
This file contains 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
export default { | |
async fetch(request, env) { | |
let url = new URL(request.url); | |
if (url.pathname.startsWith('/')) { | |
url.hostname="example.com"; | |
let new_request=new Request(url,request); | |
return fetch(new_request); | |
} | |
// Otherwise, serve the static assets. | |
return env.ASSETS.fetch(request); |
有几种解决办法
<property>
<name>dfs.permissions</name>
<value>false</value>
</property>
这个一定有效...
This file contains 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
font: | |
size: 18 | |
offset: | |
y: 16 | |
glyph_offset: | |
y: 9 | |
normal: | |
family: "SFMono Nerd Font" | |
window: | |
padding: |
sudo useradd -g nogroup -s /bin/false -m tunnel
sudo -u tunnel mkdir -p ~tunnel/.ssh # and copy your private key here
sudo -u tunnel nano ~tunnel/.ssh/config # add host and key configs here and a myhostsshconf (or other name)
sudo -u tunnel ssh myhostsshconf # just make sure to add your host to `known_hosts`
Create a new systemd service with the same name than an entry in the .ssh/config (myhostsshconf in this example)
This file contains 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
# ~/.config/starship.toml | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "🔌" | |
discharging_symbol = "⚡" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" |
This file contains 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 Discord Token Login | |
// @namespace https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/ | |
// @version 1.1 | |
// @description Taking over discord's tokens! | |
// @author Phoenix852 | |
// @match *://discord.com/login | |
// @updateURL https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/raw/6d1ee63df17685e4ea06018bd8b47541d4261b82/index.user.js | |
// @grant none | |
// @iconURL https://i.imgur.com/rI8GsTz.png |
This file contains 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/bash | |
usage=" | |
Usage: | |
wall [options] [message] | |
Write a message to all users. | |
Options: | |
-n, --nobanner do not print banner |
OlderNewer