Skip to content

Instantly share code, notes, and snippets.

View ejona86's full-sized avatar

Eric Anderson ejona86

  • Google
  • Sunnyvale, CA
View GitHub Profile
@sergiitk
sergiitk / backport.sh
Last active December 16, 2023 00:01 — forked from ejona86/backport.sh
Custom backport script for grpc repos
#!/usr/bin/env bash
# Copyright 2020 The gRPC Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@alfredkrohmer
alfredkrohmer / list-user-installed-packages.sh
Created February 11, 2017 13:39
List all user-installed packages on OpenWrt / LEDE
#!/bin/sh
FLASH_TIME=$(opkg info busybox | grep '^Installed-Time: ')
for i in $(opkg list-installed | cut -d' ' -f1)
do
if [ "$(opkg info $i | grep '^Installed-Time: ')" != "$FLASH_TIME" ]
then
echo $i
fi
@breskeby
breskeby / multipleTestExecution
Created February 20, 2011 21:16
run the same test multiple times with gradle
class LoadTest extends Test{
private numberOfClients = 2
public LoadTest(){
super()
}
public FileTree getCandidateClassFiles() {
FileTree candidateTimes = super.getCandidateClassFiles()
for(int client = 1; client<numberOfClients;client++){
candidateTimes = candidateTimes + super.getCandidateClassFiles()