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
SPACEWANDER(1) SPACEWANDER(1) | |
NAME | |
spacewander - A Humble Programmer | |
SYNOPSIS | |
spacewander -e|-eat food | |
spacewander -s|-sleep |
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
[openresty] | |
name=Official OpenResty Repository | |
baseurl=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/epel-$releasever-$basearch/ | |
skip_if_unavailable=True | |
gpgcheck=1 | |
gpgkey=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/pubkey.gpg | |
enabled=1 | |
enabled_metadata=1 |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
""" | |
Run this quick-and-dirty script to list dependencies used in git-extras/bin. | |
With -t option, print result with markdown table syntax. | |
With -v option, grep usage to filter out false positive result. | |
""" | |
from collections import defaultdict | |
import os | |
import re |
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
------------------------------------------------------------------------------- | |
--- Testing Murmur2A (MurmurHash2A for x86, 32-bit) | |
[[[ Sanity Tests ]]] | |
Verification value 0x7FBD4396 : Passed! | |
Running sanity check 1..........PASS | |
Running sanity check 2..........PASS | |
[[[ Speed Tests ]]] |
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
#!/usr/bin/env bash | |
# luarocks install $1 scm-0 doesn't work, but you could run this instead: | |
wget https://luarocks.org/$1-scm-0.rockspec && sudo luarocks build $1-scm-0.rockspec |
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
-- drop all table in a database | |
select string_agg('drop table "' || tablename || '" cascade', ';') from pg_tables where schemaname = 'public'; | |
-- copy the ouput and execute it | |
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
#!/usr/bin/env ruby | |
# encoding: UTF-8 | |
require 'set' | |
# usage: $SCRIPT <dir_of_git_extras> | |
Dir.chdir ARGV[0] | |
puts <<EOS | |
The git-extras $version ($release-name) is released now! | |
Here's a list of all the changes made in this release; the full changelog can be found in [History.md](https://github.com/tj/git-extras/blob/master/History.md): |
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
./kafka-run-class.sh kafka.tools.MirrorMaker \ | |
--consumer.config ../config/source.consumer.configure \ | |
--producer.config ../config/target.producer.configure \ | |
--num.streams 4 \ | |
--new.consumer \ | |
--whitelist=xxx |
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
export * from "@solo-io/proxy-runtime/proxy"; // this exports the required functions for the proxy to interact with us. | |
import { | |
RootContext, Context, registerRootContext, log, | |
LogLevelValues, FilterHeadersStatusValues, | |
FilterTrailersStatusValues, GrpcStatusValues, | |
send_local_response | |
} from "@solo-io/proxy-runtime"; | |
class FaultInjection extends RootContext { |
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
type: application/x-stuff | |
filename: This is ***fun*** | |
type: application/x-stuff | |
filename: a |
OlderNewer