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
FROM golang:1.20.3 AS build | |
ARG version | |
ARG xcaddy_arg | |
WORKDIR /src | |
RUN go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest | |
RUN xcaddy build ${version} ${xcaddy_arg} | |
FROM alpine:3.16 AS base | |
ARG version |
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
curl -L https://dot.net/v1/dotnet-install.sh | bash -s -- --install-dir /var/lib/dotnet/ | |
rm /etc/profile.d/dotnet_env.sh | |
echo 'DOTNET_ROOT=/var/lib/dotnet' >> /etc/profile.d/dotnet_env.sh | |
echo 'PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools' >> /etc/profile.d/dotnet_env.sh | |
echo 'export PATH' >> /etc/profile.d/dotnet_env.sh |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApp11 | |
{ | |
internal class Program | |
{ | |
private static uint A = 0x67452301; |
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
version: "3" | |
# EN | |
# replace "123123123" to your password | |
# replace "172.26.14.16" to your machine real ip | |
# redis port range is 6379 to 6381 | |
# sentinel port range is 26379 to 26381 | |
# CN | |
# 替换 123123123 为密码 |
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
public class OkHttp3Hook { | |
private static final String TAG = "OkHttp3Hook"; | |
private static final String realCallClassName = "okhttp3.RealCall"; | |
private static final String httpUrlClassName = "okhttp3.HttpUrl"; | |
private static final String requestBuilderClassName = "okhttp3.Request$Builder"; | |
private static final String getResponseWithInterceptorChainMethodName = "getResponseWithInterceptorChain"; | |
/** |
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
var encFunc = function (inValue) { | |
var result = ""; | |
var v1, v2, v3, v4, v5, v6, v7; | |
var index = 0x0; | |
var secDict = | |
"A4NjFqYu5wPHsO0XTdDgMa2r1ZQocVte9UJBvk6/7=yRnhISGKblCWi+LpfE8xzm3"; | |
while (index < inValue.length) { | |
v1 = inValue.charCodeAt(index++); | |
v2 = inValue.charCodeAt(index++); | |
v3 = inValue.charCodeAt(index++); |
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
using System; | |
using System.Security.Authentication; | |
using System.Security.Cryptography.X509Certificates; | |
using Novell.Directory.Ldap; | |
namespace LDAPTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
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
SELECT tb.name AS "表名", | |
c.name AS "字段名称", | |
p.value AS "字段注释", | |
t.name AS "字段类型", | |
c.max_length AS "字段长度", | |
c.is_nullable AS "是否可空", | |
c.is_identity AS "是否主键" | |
FROM sys.tables AS tb | |
INNER JOIN sys.columns AS c ON tb.object_id = c.object_id | |
INNER JOIN sys.types AS t ON c.system_type_id = t.system_type_id |
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
@ECHO OFF | |
pushd %~dp0 | |
CLS | |
COLOR 0E | |
:MAINMENU | |
CLS | |
ECHO. | |
ECHO --------------------------------------------------------------- | |
ECHO ---------------- Intel Meltdown Windows Patch ----------------- |
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
package main | |
import ( | |
"crypto/md5" | |
"encoding/hex" | |
"flag" | |
"fmt" | |
"io" | |
"log" | |
"os" |
NewerOlder