Skip to content

Instantly share code, notes, and snippets.

View zacker330's full-sized avatar
🌧️

Jack Zhai zacker330

🌧️
View GitHub Profile
@bo01ean
bo01ean / webpack.config.js
Created February 28, 2019 09:20
swc-loader for create-react-app webpack
'use strict';
const fs = require('fs');
const path = require('path');
const webpack = require('webpack');
const resolve = require('resolve');
const PnpWebpackPlugin = require('pnp-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const InlineChunkHtmlPlugin = require('react-dev-utils/InlineChunkHtmlPlugin');
@ruanbekker
ruanbekker / promtail_docker_logs.md
Last active September 27, 2025 23:41
Docker Container Logging using Promtail
@mobeigi
mobeigi / alertmanager_webhook_payload_example.json
Last active March 1, 2024 07:24
Alertmanager Webhook Payload Example
{
"receiver": "webhook",
"status": "firing",
"alerts": [
{
"status": "firing",
"labels": {
"alertname": "Test",
"dc": "eu-west-1",
"instance": "localhost:9090",
@ivankra
ivankra / .python-grpc-bazel-example
Last active June 11, 2025 16:53
Minimal example of a python grpc server built with bazel.
$ bazel build ...
$ bazel run :greeter_server
Listening on :50051
$ bazel run :greeter_client
Greeter client received: Hello, you!