- Run
git rm --cached path_to_submodule(no trailing slash). - Delete the now untracked submodule files by run
rm -rf path_to_submodule - Run
rm -rf .git/modules/path_to_submodule - Delete the relevant section from the
.gitmodulesfile. - Delete the relevant section from
.git/config. - Stage the
.gitmoduleschangesgit add .gitmodules - Commit
git commit -m "Removed submodule <name>"
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 | |
| # SOCKS5 服务器的 IP 地址 | |
| REMOTE_SERVER_IP= | |
| # 本地 SOCKS5 服务器的端口 | |
| LOCAL_LISTEN_PORT=0 | |
| # 自动获取家用网关(路由器)的 IP 地址,你也可以手动指定,如 192.168.28.2 | |
| REAL_GATEWAY=$(ip route | grep "default .* dhcp" | awk '{print $3}') |
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
| @echo off | |
| @setlocal EnableDelayedExpansion | |
| cd /d "%~dp0" | |
| ::--- need config --- | |
| :: to check interface index run> netsh int ipv4 show interfaces "Wi-Fi" | |
| :: or change Wi-Fi to your interface name | |
| set gwIP=XXX.XXX.XXX.XXX | |
| set gwIndex=X | |
| set proxyIp=XXX.XXX.XXX.XXX |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <uv.h> | |
| uv_loop_t *loop; | |
| typedef struct { | |
| uv_write_t req; | |
| uv_buf_t buf; |
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
| #include <Windows.h> | |
| #include <WindowsX.h> | |
| #include <commctrl.h> | |
| #include <assert.h> | |
| #include "checkablegroupbox.h" | |
| #pragma comment(lib, "Comctl32.lib") | |
| #define ID_CHECKBOX 0xFFFE |
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
| #include <winsock2.h> | |
| #include <iphlpapi.h> | |
| #include <stdio.h> | |
| #include <windows.h> | |
| #pragma comment(lib, "iphlpapi.lib") | |
| #pragma comment(lib, "ws2_32.lib") | |
| void main() | |
| { |
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
| #include <stdlib.h> | |
| #include <netdb.h> | |
| #include <netinet/in.h> | |
| #include <stdio.h> | |
| #include <sys/socket.h> | |
| #include <arpa/inet.h> | |
| #include <assert.h> | |
| #ifndef NI_MAXHOST | |
| #define NI_MAXHOST 1025 |
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
| <!DOCTYPE html> | |
| <head> | |
| <title>jquery tutorial</title> | |
| <script src="https://cdn.staticfile.org/jquery/3.5.1/jquery.min.js"></script> | |
| <link rel="stylesheet" href="https://cdn.staticfile.org/jqueryui/1.12.1/themes/base/jquery-ui.css"/> | |
| <script src="https://cdn.staticfile.org/jqueryui/1.12.1/jquery-ui.min.js"></script> | |
| </head> | |
| <body> | |
| <h1>just a test for jquery</h1> |
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 | |
| ssr_dir="" | |
| config_file="" | |
| curr_path="" | |
| password="" | |
| ssrot_path="" | |
| svr_listen_port="" | |
| cli_conn_port="" | |
| IBM_APP_NAME="" |