- May 29 event streaming vs enterprise messaging
- Mar 19 lowcode and serverless
- Jun 28 gophercon china 2021
- Jun 10 simple and powerful reverse proxy in golang
- May 25 go html template script unescape
- May 20 go private git repository
- May 12 how i structure services in go
- Apr 22 hugo auto deploy github with actions
- Apr 22 how to prevent scraping
- Apr 21 golang escape analysis
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
PHP 29 mins ████████████████████ 95.89% | |
CSS 0 secs █░░░░░░░░░░░░░░░░░░░ 2.84% | |
JSON 0 secs █░░░░░░░░░░░░░░░░░░░ 0.97% | |
Makefile 0 secs █░░░░░░░░░░░░░░░░░░░ 0.15% | |
JavaScript 0 secs █░░░░░░░░░░░░░░░░░░░ 0.06% | |
2023-07-16 15:26:24.102250218 +0000 UTC m=+0.251469116 update done |
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
Lucky by Jason Mraz | |
Free Loop by Daniel Powter | |
I Love You 3000 by Stephanie Poetri | |
Afterglow by Ed Sheeran | |
Comethru by Jeremy Zucker | |
One Day (Official Video) by Matisyahu | |
Righteous Path by Blazo | |
My Strange Addiction by Billie Eilish | |
This Means War by Avenged Sevenfold | |
What A Wonderful World by Louis Armstrong |
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
sudo yum install -y systemtap systemtap-runtime | |
sudo yum install --enablerepo=debuginfo kernel-debuginfo kernel-debuginfo-common | |
sudo yum install yum-utils | |
debuginfo-install kernel-3.10.0-514.21.2.el7.x86_64 | |
sudo yum install -y kernel-devel-$(uname -r) | |
sudo yum install -y kernel-debuginfo-$(uname -r) | |
sudo yum install -y kernel-debuginfo-common-$(uname -m)-$(uname -r) |
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.17.5-alpine AS BUILDER | |
COPY . /go/src/app | |
WORKDIR /go/src/app | |
RUN go build -mod=mod -o app | |
FROM golang:1.17.5-alpine | |
WORKDIR /app |
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
$ luarocks install --tree=/path/you/want/to/install lua-resty-ipmatcher |
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
server { | |
listen 80; | |
server_name .example.com | |
return 301 https://example.com | |
} | |
server { | |
listen 443 ssl; | |
server_name .example.com |
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
# add same content to the head of every line | |
:%s/^/the_content | |
# add same content to the tail of every line | |
:%s/$/the_content | |
# combine lines in vim |
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
req, _ := http.NewRequest("GET", "http://your_link_url", nil) | |
req.Header.Set("Authorization", fmt.Sprintf("Bearer xxxxxxxx")) | |
req.Header.Set("Content-Type", "application/json") | |
client := &http.Client{} | |
resp, _ := client.Do(req) |
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
import "strings" | |
band: { | |
// hidden fiels | |
_selfIndexAlbums: ["", "II", "III", "IV"] | |
_namedAblums: [ | |
"Houses of the Holy", | |
"Physical Graffiti", | |
"Presence", | |
"In Through the Out Door", |
OlderNewer