Skip to content

Instantly share code, notes, and snippets.

@bd2357
bd2357 / C Header rationale.md
Last active Sep 6, 2019
C Unit definition via 1 Header and 1 or more Body files
View C Header rationale.md

From the (Flight Software Branch C Coding Standard - 582-2000-005 - Version 1.1 - 11/29/05)

§2.1 UNITS (1) Code shall be structured as units, or as stand-alone header files.

(2) A unit shall consist of a single header file (.h) and one or more body (.c) files. Collectively the header and body files are referred to as the source files.

(3) A unit header file shall contain all pertinent information required by a client unit. A unit’s client needs to access only the header file in order to use the unit.

(4) The unit header file shall contain #include statements for all other headers required by the unit header. This lets clients use a unit by including a single header file.

@bd2357
bd2357 / testNotebook.ipynb
Created Jun 19, 2019
Testing and Debugging Jupyter Notebooks
View testNotebook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bd2357
bd2357 / CeedlingWinNotes.txt
Last active Aug 11, 2020
Ceedling on Windows notes
View CeedlingWinNotes.txt
Using Ceedling on Windows is a bit more involved than using it in a Linux
environment. It requires Ruby which is not often installed on windows machines,
and while Ceedling can be configures to run with most C compilers, out of the
box it tries to use GCC which is also not generally available on windows.
Now if you are running Windows 10 professional, you can install the bash shell
and things get easier but lets say you are stuck with Windows Home or Windows 7
and you want to do some quick and dirty test driven C coding with simple Mocks,
what is the best way to proceed?
Well it turns out that installing Ruby via the RubyInstaller for Windows
View index.html
<!DOCTYPE html>
<html>
<head>
<title>JS Bin</title>
<style id="jsbin-css">
.btnCalculate {
padding:5px;
background-color:orange;
border: 1px solid gray;
border-radius:25px;