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
--- squid-4.13/src/ssl/gadgets.cc 2020-08-23 02:37:05.000000000 +0800 | |
+++ squid-4.13-modify/src/ssl/gadgets.cc 2021-09-12 04:02:25.362198387 +0800 | |
@@ -544,6 +544,18 @@ | |
return true; | |
} | |
+void add_ext(X509* cert) | |
+{ | |
+ X509_EXTENSION *ex; | |
+ X509V3_CTX ctx; |
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 | |
wget https://gist.githubusercontent.com/a60814billy/175984c7742534e326ce973d4e7128eb/raw/f8bd0b73cc95aec51f6f3213e01d759830e3f555/kernel-module-sign.patch | |
patch -p 1 < kernel-module-sign.patch | |
wget https://gist.githubusercontent.com/a60814billy/175984c7742534e326ce973d4e7128eb/raw/f8bd0b73cc95aec51f6f3213e01d759830e3f555/ndpi-netfilter.patch | |
patch -p 1 < ndpi-netfilter.patch | |
pushd nDPI | |
wget https://gist.githubusercontent.com/a60814billy/175984c7742534e326ce973d4e7128eb/raw/f8bd0b73cc95aec51f6f3213e01d759830e3f555/nDPI-patch.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
From cb05459b972764fcf0db08113e656cd019f8eecd Mon Sep 17 00:00:00 2001 | |
From: BoHong <a60814billy@gmail.com> | |
Date: Wed, 31 Mar 2021 10:30:50 +0800 | |
Subject: [PATCH] apply patch from https://github.com/nodejs/node/pull/35986 | |
apply: https://github.com/nodejs/node/pull/36368 | |
apply: https://github.com/nodejs/node/pull/37276/files | |
apply: https://github.com/nodejs/node/pull/37471/files |
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 "github.com/gin-gonic/gin" | |
func main() { | |
app := gin.Default() | |
app.GET("/", func(c *gin.Context) { | |
hostname := c.Request.Host | |
c.Writer.Write([]byte(hostname)) |
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: | |
# ./fibvalid.sh numberOfFib actualNumber | |
# example: | |
# ./fibvalid.sh 10 55 | |
# ok, fib(10) = 55 | |
# ./fibvalid.sh 10 54 | |
# fail, fib(10) = 55, not 54 |
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/www/main-site/index.html --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Main Product Site</title> | |
<body> | |
<h1>Hello !</h1> | |
<script> | |
document.write(location.search); |
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
" When started as "evim", evim.vim will already have done these settings, bail | |
" out. | |
if v:progname =~? "evim" | |
finish | |
endif | |
" Get the defaults that most users want. | |
source $VIMRUNTIME/defaults.vim | |
if has("vms") |
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 a = "" |
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 a = ""; |
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
R3#show ip int bri | |
Interface IP-Address OK? Method Status Protocol | |
Ethernet0/0 10.0.1.3 YES manual up up | |
Ethernet0/1 unassigned YES unset down down | |
Ethernet0/2 unassigned YES unset down down | |
Ethernet0/3 unassigned YES unset down down | |
Serial1/0 unassigned YES unset down down | |
Serial1/1 unassigned YES unset administratively down down | |
Serial1/2 unassigned YES unset administratively down down | |
Serial1/3 unassigned YES unset administratively down down |
NewerOlder