What to expect in this doc:
- Traefik 2.0 has traffic mirroring functionality that should work on generic Kubernetes, but there's no good how-to guides, let this be the first.
- This is a how-to guide, that's optimized for understanding
// Odin + Box2D + Raylib example with stacking boxes and a shape attached to the cursor that can smack the shapes. | |
// Made (mostly) during this stream: https://www.youtube.com/watch?v=LYW7jdwEnaI | |
// I have updated this to use the `vendor:box2d` bindings instead of the ones I used on the stream. | |
package game | |
import b2 "vendor:box2d" | |
import rl "vendor:raylib" |
// ==UserScript== | |
// @name Add AlpineJs to Tailwind UI | |
// @namespace http://tampermonkey.net/ | |
// @version 3.0 | |
// @description Add Alpine JS code to Tailwind Ui copy/paste | |
// @author https://gist.github.com/KevinBatdorf/8bd5f808fff6a59e100dfa08a7431822 | |
// @match https://tailwindui.com/components/* | |
// @grant none | |
// ==/UserScript== |
module sentry.io/go/chi-example | |
go 1.13 | |
require ( | |
github.com/getsentry/sentry-go v0.4.0 | |
github.com/go-chi/chi v4.0.3+incompatible | |
) |
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
Create template actions that's used to verify Go language pull requests before merging. It's easy to custom the flow, tools with your case.
Put pr_checker.yml
or pr_checker_simple.yml
to .github/workflows/
and see how it works with your pull requests. Make sure you are allows to use actions of Github.
References:
/Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml
.bzexclusions
tag:<!-- Exclude node_modules. -->
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
import json | |
import gzip | |
def compress_data(data): | |
# Convert to JSON | |
json_data = json.dumps(data, indent=2) | |
# Convert to bytes | |
encoded = json_data.encode('utf-8') | |
# Compress | |
compressed = gzip.compress(encoded) |