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
traceroute www.bbc.co.uk | awk '{ trg=$3; host=$2; gsub(/\./,"_",trg); gsub(/\./,"_",host); if (NR == 1) print "\n++",trg"\n\nmenu="$3"\ntitle="$3"\nhost="$3"\n"; else if ( !/\*/ ) print "+++",host, "\n\nhost=" $2"\n"}' >> /etc/smokeping/config.d/Targets |
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
# generate the distribution data and melt appropriately | |
k = rbind(t(replicate(100, rnorm(100,10,2))), t(replicate(100, rchisq(100,5, 2)))) | |
s = t(apply(k, 1, summary)) | |
foo = melt(s) | |
bar = melt(k) | |
# a plot of the smoothed data | |
ggplot(bar, aes(y=value, x=X1)) + geom_smooth() + ylab("milliseconds") + xlab("time") |
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
diff --git a/src/formatter.js b/src/formatter.js | |
index 71333b6..a21a7d2 100644 | |
--- a/src/formatter.js | |
+++ b/src/formatter.js | |
@@ -31,12 +31,12 @@ Vex.Flow.Formatter.FormatAndDraw = function(ctx, stave, notes, width) { | |
// Helper function to format and draw a single voice | |
Vex.Flow.Formatter.FormatAndDrawTab = function(ctx, | |
tabstave, stave, tabnotes, notes, width) { | |
+ | |
var tabvoice = new Vex.Flow.Voice(Vex.Flow.TIME4_4).setStrict(false); |
NewerOlder