Skip to content

Instantly share code, notes, and snippets.

@Grobix
Grobix / kubernetes.md
Last active January 23, 2020 08:14
Kubernets cheat sheet

Pod info

Get detail info for pod

Execution

Run command in container

kubectl exec server -it -- /bin/sh

@Grobix
Grobix / chromecast-ssdp.xml
Created October 23, 2019 07:22 — forked from muff1nman/chromecast-ssdp.xml
FirewallD Chromecast RHEL7/Centos7
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>chromecast-ssdp</short>
<port protocol="udp" port="1900"/>
<destination ipv4="239.255.255.250/32"/>
</service>
@Grobix
Grobix / localstack.md
Created July 1, 2019 14:31 — forked from lobster1234/localstack.md
Working with localstack on command line

Starting localstack

C02STG51GTFM:localstack mpandit$ make infra
. .venv/bin/activate; exec localstack/mock/infra.py
Starting local dev environment. CTRL-C to quit.
Starting local Elasticsearch (port 4571)...
Starting mock ES service (port 4578)...
Starting mock S3 server (port 4572)...
Starting mock SNS server (port 4575)...
#Only download dependencies
mvn dependency:resolve
#Download specific dependency
mvn dependency:get -Dartifact=groupId:artifactId:version
@Grobix
Grobix / keybase.md
Last active February 28, 2018 21:17

Keybase proof

I hereby claim:

  • I am grobix on github.
  • I am grobix (https://keybase.io/grobix) on keybase.
  • I have a public key whose fingerprint is 7046 2074 63CC 48BA 195C 3102 A2B4 D677 0C27 BD1E

To claim this, I am signing this object:

@Grobix
Grobix / oracle
Last active August 10, 2017 11:06
Timestamp in where clause
FIELD > to_timestamp('02-10-2015', 'dd-mm-yyyy HH24:MI:SS')
@Grobix
Grobix / ssl.md
Last active August 29, 2015 14:26 — forked from mxlje/ssl.md
SSL Certificate Commands

These commands are needed every time you want to generate a new certificate signing request to give to an authority in order for them to generate and sign a certificate for you.

I constantly forget how this stuff works so I collected the most important ones here for easy copy & paste.

There is good information available on https://www.h2check.org/deploy, and they also go into detail on HTTP/2.