Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
echo "set terminal png;\
set datafile separator \",\";\
set ylabel \"Mb\"; \
set yrange [0:2000]; \
plot \"mem.log\" using (\$0+1):(\$2/1000000) smooth csplines with line title \"rss\", \
\"mem.log\" using (\$0+1):(\$3/1000000) smooth csplines with line title \"heapTotal\", \
\"mem.log\" using (\$0+1):(\$4/1000000) smooth csplines with line title \"heapUsed\" \
" | gnuplot -p > out.png
@Flackus
Flackus / procedures_solution.sql
Last active January 10, 2022 18:01
procedures_solution.sql
use test;
drop table if exists words;
create table words (id int primary key auto_increment, adjective varchar(100) not null, noun varchar(100) not null);
insert into words (adjective, noun) values
("hot", "dog"),
("fast", "banana"),
("orange", "cloud"),
("charming", "curtain"),