Skip to content

Instantly share code, notes, and snippets.

View navicore's full-sized avatar

Ed Sweeney navicore

View GitHub Profile
@navicore
navicore / jsonpath.md
Last active January 24, 2024 17:25
for getting multiple kubernetes yaml fields from kubectl via jsonpath

get name and image and startTime

kubectl get pods -Ao jsonpath='{range .items[*]}{@.metadata.name}{" "}{@..spec..containers[*].image}{" "}{@.status.phase}{" "}{@.status.startTime}{"\n"}{end}'

edited 10/2022 with .. and A suggestions

@ccutch
ccutch / README.md
Last active September 25, 2017 21:48
Classable react classes

Was kinda bored and was wondering what HAML link react components would look like

Use this if you want if you make it into a npm package please credit me :D

@ccutch
ccutch / main.rs
Created July 20, 2018 21:48
Mqtt subscriber and publisher in rust
extern crate mqttc;
extern crate netopt;
extern crate ws;
use mqttc::{PubOpt, PubSub};
use std::{thread, time};
static USERNAME: &'static str = "";
static PASSWORD: &'static str = "";
@idurucz
idurucz / MyHttpsServer.java
Last active October 15, 2022 01:25
Java SSL HttpsServer with HttpHandler to send response to client (uses com.sun.net.httpserver.HttpsServer)
import java.io.*;
import java.net.InetSocketAddress;
import com.sun.net.httpserver.HttpsServer;
import java.security.KeyStore;
import javax.net.ssl.KeyManagerFactory;
import javax.net.ssl.TrustManagerFactory;
import com.sun.net.httpserver.*;
import javax.net.ssl.SSLEngine;
import javax.net.ssl.SSLParameters;
@ccutch
ccutch / Actors.ipynb
Created March 22, 2021 10:16
Just incase you forgot i was insane
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@travisbrown
travisbrown / sken.md
Last active January 16, 2023 14:26
Tweets from ZIO contributor "sken"

Update: I've been told by representatives of the Scala Center at EPFL that sharing the information below on the Scala Contributor list is a violation of the Scala Code of Conduct and could result in a ban.

This document contains some quotations by "sken", an active contributor to ZIO and member of the ZIO community. This individual uses the name Lorca in various places, including his first and longest-lived Twitter handle, and will be referred to as Lorca throughout this document. All of the information below is publicly available and easily linked to Lorca.

Note that all of the tweets below would have been visible to the other ZIO community members who regularly interacted with Lorca via the same Twitter account, including John De Goes, the CEO of [Ziverge](https://ziverge