Skip to content

Instantly share code, notes, and snippets.

diff --git a/rules/go_build_plugin.sh b/rules/go_build_plugin.sh
index c981f9b4..58b359fd 100755
--- a/rules/go_build_plugin.sh
+++ b/rules/go_build_plugin.sh
@@ -20,6 +20,28 @@ fi
export GOPATH=$(pwd)
DEPS=$(go list -f '{{.ImportPath}}{{range .Deps}}
{{.}}{{end}}' "$SHARD_PACKAGE" | sed -e 's!$!/*!' | sort | uniq)
+NEWLINE=$'\n'
+DEPS+="$NEWLINE"
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-death-test.h
CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-message.h
CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-param-test.h
CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-printers.h
CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-test-part.h
CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest-typed-test.h
CMakeFiles/ccl_key_manager_test.dir/ccl/key_manager_test.cc.o: ../googletest/googletest/include/gtest/gtest.h
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# The main recursive all target
all:
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
@jazzdan
jazzdan / uppend_benchmarks.md
Last active November 30, 2017 19:17
Uppend Benchmarks

Running the benchmarks like so

./gradlew clean fatJar
java -jar build/libs/uppend-all-*.jar write ~/efs/uppend_test
Version Configuration Runtime (minutes)
master@702624 m4.2xlarge instance storage 7.5
@jazzdan
jazzdan / -
Created November 16, 2017 21:34
Printing Profile for: /home/ec2-user/log.hpl
21:33:32.388 [main] DEBUG com.insightfullogic.honest_profiler.core.Conductor - Reached end of log for FileLogSource{file=log.hpl} due to NOTHING
Number of stack traces: 7825
Flat Profile (by method):
(t 28.9,s 28.9) sun.nio.ch.FileDispatcherImpl::write0
(t 16.5,s 16.5) AGCT::Unknown not Java[ERR=-3]
(t 8.3,s 8.3) AGCT::Unknown Java[ERR=-5]
(t 5.0,s 4.9) org.apache.logging.slf4j.Log4jLogger::trace
@jazzdan
jazzdan / cracklepop.re
Last active June 4, 2017 15:15
Crackle Pop Implemented in Reason
let modulus numerator divisor => numerator - numerator / divisor * divisor;
let printNumberOrCracklePop number => {
let potentialCrackle = modulus number 3 == 0 ? "Crackle" : "";
let potentialPop = modulus number 5 == 0 ? "Pop" : "";
let potentialOutput = potentialCrackle ^ potentialPop;
if (potentialOutput == "") {
print_int number
} else {
print_string potentialOutput
@jazzdan
jazzdan / node.php
Last active February 25, 2017 22:06 — forked from anonymous/node.php
<?hh // strict
class Node {
private int $value;
public ?Node $left = null;
public ?Node $right = null;
public function __construct(int $value) {
$this->value = $value;
}
/*
* Copyright (C) 2008-2013 Stanislaw Findeisen <stf@eisenbits.com>
*
* This file is part of phphard.
*
* phphard is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*