Skip to content

Instantly share code, notes, and snippets.

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: external-https-route
namespace: default
spec:
# in here you specify how the traffic arrives to your ingress,
# i.e. the gateway and the hostname
parentRefs:
- name: helloworld
// v1.5.4 via https://github.com/cloudnativelabs/kube-router/blob/v1.5.4/daemonset/generic-kuberouter-only-advertise-routes.yaml
[
{
apiVersion: 'apps/v1',
kind: 'DaemonSet',
metadata: {
labels: {
'k8s-app': 'kube-router',
tier: 'node',
},

Keybase proof

I hereby claim:

  • I am farcaller on github.
  • I am farcaller (https://keybase.io/farcaller) on keybase.
  • I have a public key ASB89oNclcw3t-07Hl3nQyqY8CPa26ds22vgzr8bQFrLBAo

To claim this, I am signing this object:

import bpy, mathutils
WORKSPACE_NAME = 'Sculpting.001'
LEADER_OBJECT = 'Sculpt'
FOLLOWER_OBJECT = 'Empty.001'
SYNC_FREQ = 0.05
# this is bpy.context.screen if you're in the proper workspace. Not when you run this from the Scripting one
screen = bpy.data.workspaces[WORKSPACE_NAME].screens[0]
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEXy1lthYJKwYBBAHaRw8BAQdAJf/z0y1VqPqVz5BT0en3tN5H59erPnuIFhpC
4fo/EeG0CFl1YmkgNUNpiJAEExYIADgWIQTqqHffYc7FmkCL8ad5dOsTBEKufwUC
Xy1ltgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRB5dOsTBEKuf3S/AQDA
3hvfi07vVHtH26Nefn92MzJYoSnHVPdQeZwKoqnOgwD5AWDec3EaSx6+eVNxKNNB
BW36mROAJ2+m2DNDz5j6dgm4MwRfLWW2FgkrBgEEAdpHDwEBB0BOcWeeH3DTOfHp
fpJq0tOEamp7h9x5Hs7UlywE+G4X0Ih4BBgWCAAgFiEE6qh332HOxZpAi/GneXTr
EwRCrn8FAl8tZbYCGyAACgkQeXTrEwRCrn8GCAD/Qtt1su/WntYvU71f3OgSfOl2
5/L0En9oe0oBN9ejZJEA/2bQtfaPHd8I8ASIyXgrwV63lqpfY2ohlxiyghLW1NMK
// MIT License
//
// Copyright (c) 2020 Vladimir "farcaller" Pouzanov
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
admin:
access_log_path: /tmp/admin_access.log
address:
socket_address: { address: 0.0.0.0, port_value: 9901 }
static_resources:
listeners:
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 8080 }
@farcaller
farcaller / racoon.conf
Created July 19, 2013 20:14
Gentoo IPSec
path pre_shared_key "/etc/racoon/psk.txt";
path certificate "/etc/racoon/certs";
listen {
isakmp 198.51.100.1 [500];
isakmp_natt 198.51.100.1 [4500];
}
remote anonymous {
proposal_check obey;
% rspec -f doc
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Rly::LRTable
attaches the lookahead symbols to grammar rules (PENDING: verify that values in LRItem#lookaheads are meaningful)
computes the READS() relation (p,A) READS (t,C)
computes the LR(0) sets of item function
computes the follow sets given a set of LR(0) items, a set of non-terminal transitions, a readset, and an include set
Rly::Lex
Simple Lexer
should have a list of defined tokens
should output tokens one by one
Error handling
raises an error, if there are no suitable tokens
calls an error function if it is available, which can skip a token
raises an error, if there is no possible tokens defined
calls an error function if it is available, which returns a fixed token
Block-based Token Lexer