This file contains 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
/* | |
* Brian Chrzanowski | |
* Fri Jul 13, 2018 13:42 | |
* | |
* perform integrals over any function that returns and takes a double | |
* compile : cc integral.c -lm | |
*/ | |
#include <stdio.h> | |
#include <math.h> |
This file contains 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
/* | |
* Brian Chrzanowski | |
* Mon May 06, 2019 23:41 | |
* | |
* This was a meme. A friend of mine thought about how you could do fizz-buzz | |
* as a 15(ish) state machine. | |
* | |
* I think my thing is closer to a circular linked list with function pointers, | |
* but that's whatever. | |
*/ |
This file contains 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
/* | |
* Brian Chrzanowski | |
* Mon May 06, 2019 23:41 | |
* | |
* This was a meme. A friend of mine thought about how you could do fizz-buzz | |
* as a 15(ish) state machine. | |
* | |
* I think my thing is closer to a circular linked list with function pointers, | |
* but that's whatever. | |
* |
This file contains 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
/* | |
* Brian Chrzanowski | |
* Fri Aug 09, 2019 00:58 | |
* | |
* Brian's Cool Builder (bcb) | |
* | |
* TODO | |
* 1. Add more wait end conditions, in 'recompile' | |
* 2. Add the ".d" dependency files | |
* 3. Add a mechanism to clean up the source tree |
This file contains 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
/* | |
* Brian Chrzanowski | |
* Fri Dec 06, 2019 18:43 | |
* | |
* A small test to see if molt_gfquad_m is the problem in the simulation. | |
* | |
* Outputs | |
* 0.500000 | |
* 0.539522 | |
* 0.575920 |
This file contains 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
/* | |
* Wed Mar 25, 2020 13:29 | |
* | |
* Set the Windows Clipboard Type from the Content | |
* -t <type> | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> |
This file contains 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
/* | |
* Wed Mar 25, 2020 13:29 | |
* | |
* Set the Windows Clipboard Type from the Content | |
* -t <type> | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> |
This file contains 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
// Brian Chrzanowski | |
// 2021-03-21 04:20:30 | |
// | |
// Just a small HTML Form builder kind of a thing, no styling. This could obviously | |
// be extended to things other than HTML if you just replaced the `toHtml()` method | |
// and maybe standardized a little bit more on the sorts of tags / elements you want | |
// to stick into the builder. | |
class Builder { |
This file contains 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> | |
<script> | |
function addone(v) { return v + 1; } | |
function debugify(fn) { | |
console.log("debugifying"); | |
let source = fn.toString(); | |
let parts = source.split(" "); | |
let decl = parts[1]; |
This file contains 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/env sh | |
dc -e "? ? - 2 ^ ? ? - 2 ^ + v p" |
OlderNewer