Skip to content

Instantly share code, notes, and snippets.

View Dilden's full-sized avatar
🏠
Working from home

Dylan Hildenbrand Dilden

🏠
Working from home
View GitHub Profile
@Dilden
Dilden / flashing-police-light-button-thing.markdown
Created September 15, 2016 22:04
Flashing Police Light Button thing
from espeak import espeak
import time
while True:
response = input(">> ")
espeak.synth(response)
time.sleep(1)
@Dilden
Dilden / index.php
Created May 11, 2015 19:21
Three functions that compute the sum of the numbers in a given list using a for-loop, a while-loop, and recursion using PHP
<?php
function one($a) {
$count = count($a);
$total = 0;
for ($i=0; $i < $count; $i++) {
$total = $total + $a[$i];
}
echo $total;
}