Skip to content

Instantly share code, notes, and snippets.

View michaelrepper's full-sized avatar

Michael Repper michaelrepper

  • Panama City Beach, FL
View GitHub Profile
@michaelrepper
michaelrepper / rdp_203_easy.htm
Last active August 29, 2015 14:15
r/Dailyprogrammer Challenge #203 Easy - Draw a Square
<!DOCTYPE html>
<html>
<head>
<!--
Live HTML Preview of this Gist:
http://htmlpreview.github.io/?https://rawgit.com/michaelrepper/b43e96437ae1dd4a52de/raw/c885090215bd15740f1748d2912cd7e458c87c97/rdp_203_easy.htm
-->
<title></title>
</head>
@michaelrepper
michaelrepper / rdp_202_easy.htm
Last active August 29, 2015 14:15
r/Dailyprogrammer Challenge #202 Easy - Binary to ASCII String
<!DOCTYPE html>
<html
<!-- Live preview of this Gist:
http://htmlpreview.github.io/?https://gist.githubusercontent.com/michaelrepper/675454dd83944fc94429/raw/47c36640e3e4dbacf039d6939f37355a7786915a/rdp_202_easy.htm
-->
<head>
<meta name="author" content="Michael Repper">
<meta name="contact" content="query [ a * t ] gridoodle [ d * o * t ] com">
@michaelrepper
michaelrepper / rdp_202_intermediate.php
Created February 19, 2015 22:59
r/Dailyprogrammer Challenge #202 Intermediate - Easter Date
<?php
for ($i = 2015; $i < 2026; $i++)
{
echo date('m/d/Y', easter_date($i)+86400) . "\n";
}
?>
@michaelrepper
michaelrepper / rdp_201_practical.py
Last active August 29, 2015 14:15
r/Dailyprogrammer Challenge #201 Practical - Priority Queue
###################################################
# r/Dailyprogrammer Challenge #201 Practical #
# coded by Michael Repper #
# query [a * t] gridoodle [d * o * t] com #
###################################################
import time
class PriorityQueue(object):
@michaelrepper
michaelrepper / rdp_201_easy.rs
Last active August 29, 2015 14:15
r/Dailyprogrammer Challenge #201 Easy - Rust Date Math
///////////////////////////////////////////////////
// r/Dailyprogrammer #201 Easy //
// coded by Michael Repper //
// query [a * t] gridoodle [ d * o * t ] com //
///////////////////////////////////////////////////
extern crate time;
use std::num::SignedInt;
////
@michaelrepper
michaelrepper / rdp_201_easy.sh
Created February 10, 2015 07:35
r/Dailyprogrammer Challenge #201 Easy
##################################################
# r/Dailyprogrammer Challenge #201 Easy #
# coded by Michael Repper #
# query [a * t ] gridoodle [ d * o * t ] com #
##################################################
#####################################################################################
# Takes 1 or 2 dates as parameters. The dates should strings be in the format: #
# "YYYY-mm-dd" "YYYY-mm-dd" OR "YYYY-mm-dd" #
# If only one date is supplied, the days are calculated from the current date. #
@michaelrepper
michaelrepper / rdp_200_easy.bas
Last active August 29, 2015 14:14
r/Dailyprogrammer Challenge #200 Easy
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' r/DailyProgrammer Challenge #200 Easy '
' coded in QuickBasic by Michael Repper '
' query [ a * t ] gridoodle [ d * o * t ] com '
' '
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
CALL process_img(37, 22, 8, 12, "@")
CALL process_img(16, 15, 2, 2, "@")
CALL process_img(9, 9, 8, 3, ",")
@michaelrepper
michaelrepper / rdp_200_intermediate.php
Last active August 29, 2015 14:14
r/Dailyprogrammer Challenge #200 Intermediate
<?php
/*
* r/Dailyprogammer Challenge #200 Intermediate
* coded by Michael Repper
* query [ a * t ] gridoodle [ d * o * t ] com
*/
function print_results($tile)
@michaelrepper
michaelrepper / rdp_199_harness.html
Last active August 29, 2015 14:14
r/Dailyprogrammer Challenge #199 Test Harness
<!-- Live preview of this Gist:
http://htmlpreview.github.io/?https://gist.githubusercontent.com/michaelrepper/2f445372bb1c5710ce9e/raw/1c30d30d6fc18ef69d805213d2f43fc235ff44b3/rdp_199_harness.html
-->
<!DOCTYPE html>
<html>
<head>
<meta name="author" content="Michael Repper">
<meta name="contact" content="query [ a * t ] gridoodle [ d * o * t ] com">
<html>
<head>
<script src="https://rawgit.com/michaelrepper/9d6eb29cb8b1e78af42f/raw/42168a9e7608d61ec51464ef280941c82f490a17/test.js"></script>
</head>
<body>
<script>
test();
</script>
</body>
</html>