Skip to content

Instantly share code, notes, and snippets.

🌈
Hey there! I am using GitHub. I stole this joke from someone else on Twitter.com

zoidbergwill zoidbergwill

🌈
Hey there! I am using GitHub. I stole this joke from someone else on Twitter.com
Block or report user

Report or block zoidbergwill

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
View maps.json
{
"maps": {
"cs_agency": {
"pos_x": "-2947",
"pos_y": "2492",
"scale": "5"
},
"de_austria": {
"pos_x": "-2877",
"pos_y": "2930",
View history.txt
ls
cd /usr/src/app/
ls
mkdir install-kernel.sh
chmod +x install-kernel.sh
vim install-kernel.sh
chmod +x install-kernel.sh
wget https://github.com/linuxkit/linux/archive/v4.9.125-linuxkit.zip
cd -
ls
View trace-indexer.log
2019-04-12 15:10:43.223 INFO [main] org.jmxtrans.agent.JmxTransAgent - Starting 'JMX metrics exporter agent: 1.2.6' with configuration '/app/bin/jmxtrans-agent.xml'...
2019-04-12 15:10:43.235 INFO [main] org.jmxtrans.agent.JmxTransAgent - PropertiesLoader: Empty Properties Loader
2019-04-12 15:10:43.466 INFO [main] org.jmxtrans.agent.GraphitePlainTextTcpOutputWriter - GraphitePlainTextTcpOutputWriter is configured with HostAndPort{host='monitoring-influxdb-graphite', port=2003}, metricPathPrefix=haystack.traces.indexer.trace-indexer-7d89676b98-4wtfz., socketConnectTimeoutInMillis=500
2019-04-12 15:10:43.475 INFO [main] org.jmxtrans.agent.JmxTransAgent - JmxTransAgent started with configuration '/app/bin/jmxtrans-agent.xml'
15:10:43,537 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
15:10:43,537 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
15:10:43,537 |-INFO in ch.qos.logback.classic.LoggerContext[defau
View mint_cache_v2.py
import pickle
import time
from django.core.cache.backends.base import DEFAULT_TIMEOUT
from django.core.cache.backends.memcached import MemcachedCache as _Cache
try:
import memcache
except ImportError:
_MintCache = None
View json_find.py
#!/usr/bin/env python
import sys
from collections import Counter
from fnmatch import fnmatch
from ijson import parse
def main():
prefixes = Counter()
View examples-tidy.json
This file has been truncated, but you can view the full file.
{
"requests": [
{
"provider": {
"name": "Counter-Strike: Global Offensive",
"appid": 730,
"version": 13653,
"steamid": "76561197991583913",
"timestamp": 1537562317
@zoidbergwill
zoidbergwill / github-push-pr
Last active Sep 21, 2018 — forked from keegancsmith/github-push-pr
git alias to push and open PR view
View github-push-pr
#!/bin/bash
# Pushes to origin and opens a github compare view of it to speed up PR
# creation.
#
# To install add to $PATH with executable permission and run
#
# git config --global alias.pr '!github-push-pr'
#
View extensions.txt
Dart-Code.dart-code
DavidAnson.vscode-markdownlint
EFanZh.graphviz-preview
EditorConfig.EditorConfig
HookyQR.beautify
JakeBecker.elixir-ls
Pendrica.chef
PeterJausovec.vscode-docker
Shan.code-settings-sync
Stephanvs.dot
View udp.py
#!/usr/bin/env python
# Some code borrowed from yapcg/measurements/perftools/udpstat at https://code.google.com/archive/p/yapcg/source/default/source?page=1
#
# man proc
# /proc/net/udp
# Holds a dump of the UDP socket table. Much of the information is not of use apart from debugging. The "sl" value is
# the kernel hash slot for the socket, the "local_address" is the local address and port number pair. The
# "rem_address" is the remote address and port number pair (if connected). "St" is the internal status of the socket.
# The "tx_queue" and "rx_queue" are the outgoing and incoming data queue in terms of kernel memory usage. The "tr",
# "tm->when", and "rexmits" fields are not used by UDP. The "uid" field holds the effective UID of the creator of the
You can’t perform that action at this time.