Skip to content

Instantly share code, notes, and snippets.

@bd2357
bd2357 / CeedlingWinNotes.txt
Last active April 30, 2023 19:07
Ceedling on Windows notes
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
@bd2357
bd2357 / C Header rationale.md
Last active September 6, 2019 17:47
C Unit definition via 1 Header and 1 or more Body files

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 June 19, 2019 15:32
Testing and Debugging Jupyter Notebooks
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!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;