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
| <HTML> | |
| <HEAD> | |
| <TITLE>Montessori Soundboard</TITLE> | |
| </HEAD> | |
| <BODY> | |
| <center><h1>Montessori Lab School: Soundboard</h1></center> | |
| <hr /> | |
| <button style="font-size: 48px; width: 100%; height: 100px;" id="calling_uber.mp3" onClick="play_sound(this.id)">calling_uber</button> <br /><br /> | |
| <button style="font-size: 48px; width: 100%; height: 100px;" id="car_sound_2.mp3" onClick="play_sound(this.id)">car_sound_2</button> <br /><br /> | |
| <button style="font-size: 48px; width: 100%; height: 100px;" id="car_sound_3.mp3" onClick="play_sound(this.id)">car_sound_3</button> <br /><br /> |
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
| /* | |
| This is in my main.rs section. The suspects::SuspectID::Suspect00 is an enum. | |
| */ | |
| fn app() { | |
| let (rx_suspect, tx_suspect) = create_signal(suspects::SuspectID::Suspect00); | |
| mount_to_body(move || { | |
| view! { | |
| <questions::Questions rx_suspect /> |
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
| <center> | |
| <h1>Movement Match</h1></center> | |
| <!-- Wrapping Form and Progres Bar in Continer TOP --> | |
| <div class="container"> | |
| <!-- Progress Bar --> | |
| <div class="progress"> | |
| <div id="progcomplete" class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">Filtered |
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
| <!-- | |
| Thanks to Emily Xie and her version available here: | |
| http://xie-emily.com/generative_art/green_rain.html | |
| And her youtube tutorial available here: | |
| https://www.youtube.com/watch?v=S1TQCi9axzg | |
| Differences of note: | |
| The code is organied a bit differently but close enough that if you follow the tutorial and other | |
| examples you can see it's VERY similar. |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| // pretend that 'a' is 0 and 'b' is one. | |
| // return 1 if we can continue | |
| // return 0 if we are finished | |
| int addOne(char a, char b, int i, char * str) { | |
| int leftMostZero = i; | |
| for (leftMostZero = i -1; leftMostZero >=0 && str[leftMostZero] == b;leftMostZero--) { |
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
| #!/bin/sh | |
| # First we are going to prompt for the branch name and the revision number. | |
| # If those do not exist. Exit. | |
| # If they do exist, Prompt first before proceeding. | |
| # This has to be run from a full checkout of tdcs | |
| TOPDIR=`dirname $0` | |
| echo "cd to <$TOPDIR> to make sure we are in the correct directory." |
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
| #!/usr/bin/perl | |
| use File::Find; | |
| my @files; | |
| find( | |
| { | |
| wanted => sub { | |
| push @files, $File::Find::fullname | |
| if -f $File::Find::fullname && /\.pm$/ | |
| }, | |
| follow => 1, |