xaizek / hstr (License: Apachev2) (since 2018-12-07)
Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history.
<root> / tests / src / test_ranking.c (d93c52882620154cdfa2db1b99757d2a0d9108b0) (268B) (mode 100644) [raw]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* Test
 */

#include <stdio.h>
#include <math.h>

void testLog() {
	const int HISTORY_SIZE=2000;
	int i;
	for(i=0; i<HISTORY_SIZE; i++) {
		printf("\n%d # l: %f # l10: %f # l2: %f",i,log(i), log10(i), log2(i));
	}
}

int main(int argc, char *argv[])
{
	testLog();
}

Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/hstr

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/hstr

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master