Skip to content

Instantly share code, notes, and snippets.

View derrickburns's full-sized avatar

Derrick Burns derrickburns

View GitHub Profile
@techmexdev
techmexdev / delete-helm-chart-resources.sh
Last active October 15, 2022 20:54
Deletes the leftover resources after purging a chart. Workaround for: https://github.com/helm/helm/issues/6646
#!/usr/bin/env bash
ENV=$1
APP=$2
NAMESPACE=$3
FILENAME=upgrade-error.txt
while true
do
function upgrade() {
@staltz
staltz / introrx.md
Last active June 12, 2025 16:23
The introduction to Reactive Programming you've been missing
@ericeijkelenboom
ericeijkelenboom / emr_bootstrap_java_8.sh
Created April 3, 2014 09:39
Bootstrap script for installing Java 8 on an Amazon Elastic MapReduce instance (AMI 3.0.1)
# Check java version
JAVA_VER=$(java -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q')
if [ "$JAVA_VER" -lt 18 ]
then
# Download jdk 8
echo "Downloading and installing jdk 8"
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8-b132/jdk-8-linux-x64.rpm"
# Silent install
package manning.tap;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import manning.schema.Data;
import manning.schema.DataUnit;
import org.apache.thrift.TBase;
@koichik
koichik / 0001-Fix-Buffer.write-with-UCS-2-should-not-be-write-part.patch
Created April 13, 2011 16:23
Fix Buffer.write() with UCS-2 should not be write partial char
From 4f486eecf8a20e52455a227e2e3502f1aeb14983 Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Thu, 14 Apr 2011 01:17:18 +0900
Subject: [PATCH] Fix Buffer.write() with UCS-2 should not be write partial char
---
src/node_buffer.cc | 6 +++++-
test/simple/test-buffer.js | 9 +++++++++
2 files changed, 14 insertions(+), 1 deletions(-)