Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1b
- Decimal:
27
import ( | |
"github.com/aelsabbahy/goss/outputs" | |
"github.com/aelsabbahy/goss/util" | |
) | |
func TestUseAsPackage(t *testing.T) { | |
output := &bytes.Buffer{} | |
// temp spec file | |
fh, err := ioutil.TempFile("", "*.yaml") |
#include <stdio.h> | |
int main (int argc, char **argv) | |
{ | |
unsigned int eax, ebx, ecx, edx; | |
asm( | |
"xchg{l}\t{%%}ebx, %1\n\t" \ | |
"cpuid\n\t" \ | |
"xchg{l}\t{%%}ebx, %1\n\t" \ |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet | |
suggest_grouped_tweet_hashtag | |
suggest_pyle_tweet |
Update: This gist has graduated to a full blog post over on my site -> https://blog.alexellis.io/get-private-kubectl-access-anywhere/
This tutorial shows you how to punch your private Kubernetes API server out to the Internet, so that you can manage your cluster from anywhere, just like you would with a cloud offering.
These steps have been tested with kubeadm, k3s and OpenShift.
You'll need:
# Author: Janusz Lewandowski <[email protected]> | |
# Contributor: David McFarland <[email protected]> | |
# Maintainer: Andrew Shark <ashark @at@ linuxcomp.ru> | |
# Autogenerated from AMD's Packages file | |
major=19.50 | |
minor=967956 | |
pkgbase=amdgpu-pro-installer | |
pkgname=( |
import atexit | |
import os | |
import socket | |
import subprocess | |
import shlex | |
import time | |
import signal | |
tcpdump_bin = os.popen('which tcpdump').read().strip() | |
ss_bin = os.popen('which ss').read().strip() |
package main | |
import ( | |
"flag" | |
"fmt" | |
"math/rand" | |
"net" | |
"os" | |
"os/signal" | |
"runtime" |
/* | |
* Usage: ./gvtcpdump | tcpdump -n -r - | |
*/ | |
#include <arpa/inet.h> | |
#include <errno.h> | |
#include <error.h> | |
#include <getopt.h> | |
#include <linux/filter.h> | |
#include <linux/if_ether.h> | |
#include <linux/if_packet.h> |
http://s3.amazonaws.com/bucket/key (for a bucket created in the US East (N. Virginia) region) | |
https://s3.amazonaws.com/bucket/key | |
http://s3-region.amazonaws.com/bucket/key | |
https://s3-region.amazonaws.com/bucket/key | |
http://s3.region.amazonaws.com/bucket/key | |
https://s3.region.amazonaws.com/bucket/key | |
http://s3.dualstack.region.amazonaws.com/bucket/key (for requests using IPv4 or IPv6) |