This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do free | sed -En "s/.*buffers\/cache:\s+([0-9]+).*/\1/p" >> ~/trounoir/maram; sleep 1; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Fork of https://gist.github.com/senko/1154509#file-onchange-sh | |
if [ -z "$1" ]; then | |
echo "Specify an rsync dest as first argument" | |
exit -1; | |
fi | |
EVENTS="CREATE,CLOSE_WRITE,DELETE,MODIFY,MOVED_FROM,MOVED_TO" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//JSX code | |
<HBar | |
data={randomData()} | |
width="230" | |
height="300" | |
axis="false" | |
sort="descending" | |
formatter={formatter} | |
//lighten for 150ms an element that appeared or that was reordered. Requires barColor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//JSX code | |
<HBar | |
data={randomData(9, 10000, true)} | |
width="230" | |
height="300" | |
focus="3" // focus on the 3rd bar | |
textPosition="dynamic" // insert texts in bars if possible | |
axis="false" | |
sort="descending" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//JSX code | |
<HBar | |
// data is an array of {v: 18, label: "Joseph"} objects | |
data={randomData()} | |
/> | |
//CSS |
NewerOlder