Skip to content

Instantly share code, notes, and snippets.

@r8d8
r8d8 / bigint.c
Last active August 8, 2018 06:03
/*
* Copyright (c) 2007, Cameron Rich
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
#!/bin/bash
echo "How many numbers do you want of Fibonacci series ?"
read total
x=0
y=1
i=2
echo "Fibonacci Series up to $total terms :: "
echo "$x"
echo "$y"
# Determine the platform
UNAME_S := $(shell uname -s)
CC := clang++
# Folders
SRCDIR := ./
BUILDDIR := build
TARGETDIR := bin
@r8d8
r8d8 / ppg_gauge.md
Last active March 20, 2024 01:45
Power Paraglider (PPG) gauge

Create electronic gauge capable to collet and display next metrics of PPG engine:

  • Engines RPM (RPM)
  • Engine head temperature (only for air-cooled engines) (Celsius)
  • Total engine hours (hours)
  • Altitude (meters)

Gauge should have 2 modes (Fig. 2):

  • Dual meter
  • Quad meter