Skip to content

Instantly share code, notes, and snippets.

View mchelen's full-sized avatar

Mike Chelen mchelen

View GitHub Profile
@mchelen
mchelen / README.md
Last active August 29, 2015 14:09 — forked from mchelen/.gitignore
browserify-shim

This is an example of using Grunt to run Browserify to create minified client-side Javascript that uses jQuery.

To use the example, checkout & cd into the repo, then:

npm install
grunt

Now open index.html in a web browser, and look in the console.

@mchelen
mchelen / gnuplot.gnu
Last active August 12, 2017 01:23 — forked from Noktec/gnuplot.gnu
#Use the testping.sh script to retrieve the times of a Pings
#Then use the following script to plot it with gnuplot
set terminal pdfcairo font "Gill Sans,9" linewidth 2 rounded fontscale 1.0
set output "ping.pdf"
set ylabel "Time in milliseconds"
set xlabel "Number of Pings"
plot "pingTimes.dat" w lp
<style type="text/css" media="screen">
table {
font-size: x-small;
font-family: sans-serif;
}
</style>
<?php
<!DOCTYPE html>
<html>
<head>
<script src="http://github.com/jeresig/processing-js/raw/master/processing.min.js"></script>
<script src="http://github.com/jeresig/processing-js/raw/master/examples/init.js"></script>
<script type="text/javascript">
Array.max = function( array ){
return Math.max.apply( Math, array );
};
<script src="http://github.com/jeresig/processing-js/raw/master/processing.min.js" type="text/javascript"></script>
<script src="http://github.com/jeresig/processing-js/raw/master/examples/init.js" type="text/javascript"></script>
<script type="text/javascript">
Array.max = function( array ) {
return Math.max.apply( Math, array );
};
Array.min = function( array ){
return Math.min.apply( Math, array );
};
</script>