Skip to content

Instantly share code, notes, and snippets.

View seanevocorde's full-sized avatar
🏠
Working from home

seanevocorde

🏠
Working from home
View GitHub Profile
@seanevocorde
seanevocorde / GarbageOnly_GarbageProducer
Created July 27, 2021 10:35 — forked from jsound/GarbageOnly_GarbageProducer
A simple GC micro benchmark that creates only objects of 0 lifetime (but as many of them as possible)
package de.am.gc.benchmarks;
/**
* A GC micro benchmark running a given number of threads that create objects of a given size and dereference them immediately
*
* @author jsound
*/
public class GarbageOnly {
// object size in bytes
private static final int DEFAULT_NUMBEROFTHREADS=8;
@seanevocorde
seanevocorde / LC_COLORS.md
Created August 6, 2018 07:19 — forked from thomd/LC_COLORS.md
LSCOLORS & LS_COLORS

alternatively use: http://geoff.greer.fm/lscolors/

LSCOLORS

The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color.

The color designators are as follows:

a black