Skip to content

Instantly share code, notes, and snippets.

View joshuazap's full-sized avatar

Joshua Zapata joshuazap

View GitHub Profile
@peterjmit
peterjmit / benchmark.sh
Created October 10, 2012 10:49
Bash Benchmark Script (using time)
#!/bin/bash
# REQUIRES SUDO
# Benchmark runner
repeats=20
output_file='benchmark_results.csv'
command_to_run='echo 1'
run_tests() {
# --------------------------------------------------------------------------
anonymous
anonymous / index.html
Created March 15, 2016 19:59
JS Bin // source https://jsbin.com/duwuquniqi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.p1 {
color: darkblue;
font-family: helvetica;
anonymous
anonymous / index.html
Created March 15, 2016 20:57
Assignment for Refactoring Play/Pause with jQuery // source http://jsbin.com/gaqalemobi
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<meta charset="utf-8">
<title>Assignment for Refactoring Play/Pause with jQuery</title>
<style id="jsbin-css">
.event-element {
font-size: 2rem;
font-family: Helvetica, sans-serif;