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
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "foreground": "#FFBD00", | |
| "style": "plain", | |
| "template": "{{ .UserName }} ", |
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/bash | |
| # ==================================================== | |
| # ้ ็ฝฎๅบๅ | |
| # ==================================================== | |
| # ็ฎๆ ็ต่๏ผ่ขซๆง็ซฏ๏ผ็ IP ๅฐๅ๏ผๅฆ Tailscale IP ๆๅฑๅ็ฝ IP๏ผ | |
| REMOTE_IP="100.100.120.233" | |
| # RDP ้ป่ฎค็ซฏๅฃ | |
| RDP_PORT=3389 |
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/bash | |
| # ่ฎพๅค A ็ Tailscale IP | |
| REMOTE_IP="100.100.120.233" | |
| echo "------------------------------------------" | |
| echo "๐ ๆญฃๅจ้่ฟ ifconfig ๆฃๆตๆฌๅฐ IP..." | |
| echo "------------------------------------------" | |
| # ็ดๆฅไฝฟ็จ ifconfig ่ฟๆปคๆพ็คบ้ๆฌๅฐๅ้ Tailscale ็ IP |
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
| general: | |
| # Commands to run when the WM has started. This is useful for running a | |
| # script or launching another application. | |
| # Example: The below command launches Zebar. | |
| startup_commands: [] | |
| # Commands to run just before the WM is shutdown. | |
| # Example: The below command kills Zebar. | |
| shutdown_commands: [] |
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 './index.less'; | |
| import React, { useRef } from 'react'; | |
| import cs from 'classnames'; | |
| export interface DragFlowProps<T> { | |
| data: T[]; | |
| renderItem: (item: T, index?: number) => React.ReactNode; | |
| /** | |
| * `onSortEnd` ๆๆฝ็ปๆ่งฆๅ๏ผๅฐๆๅบ็ปๆไผ ๅ ฅ่ฏฅๅฝๆฐ | |
| */ |
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
| addEventListener('fetch', (event) => { | |
| const url = new URL(event.request.url); | |
| thisProxyServerUrlHttps = `${url.protocol}//${url.hostname}/`; | |
| thisProxyServerUrl_hostOnly = url.host; | |
| //console.log(thisProxyServerUrlHttps); | |
| //console.log(thisProxyServerUrl_hostOnly); | |
| event.respondWith(handleRequest(event.request)); | |
| }); |
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
| const net = require('net') | |
| net.createServer(client => { | |
| client.once('data', data => { | |
| client.write(Buffer.from([5, 0])); | |
| client.once('data', data => { | |
| data = [...data]; | |
| let ver = data.shift(); | |
| let cmd = data.shift(); //1: connect, 2: bind, 3: udp | |
| let rsv = data.shift(); |
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
| user www-data; | |
| http { | |
| ## | |
| # Basic Settings | |
| ## | |
| sendfile on; | |
| tcp_nopush on; |
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 | |
| # Author: symant233 | |
| # Description: A script for Tachiyomi, making folders for single zip files | |
| # in `/Tachiyomi/local` folder. Put this script in `/Tachiyomi` folder. | |
| find ./local -mindepth 1 -maxdepth 1 -type f | while read dir | |
| do | |
| ( | |
| file="$(basename -- "$dir")" | |
| extension="${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
| # coding: utf-8 | |
| # py2 origin author lrdcq | |
| # usage python3 unwxapkg.py filename | |
| __author__ = 'Integ: https://github.com./integ' | |
| import sys, os | |
| import struct | |
| class WxapkgFile(object): |
NewerOlder