Following libraries are required to build this code.
- Abseil C++ library https://abseil.io/
- OpenCV https://opencv.org/
- Mongoose networking library https://github.com/cesanta/mongoose
#include <stdio.h> | |
int main() | |
{ | |
printf("Hello, world.\n"); | |
return 0; | |
} |
#define ENC_INPUT_A 0 | |
#define ENC_INPUT_B 1 | |
#define ENC_INPUT_I 2 | |
typedef struct enc_state { | |
int8_t idx, ab; | |
int8_t dir; | |
int32_t pos_count; | |
int32_t isr_count; | |
int8_t enc_error_flag; |
# http://www.gnu.org/software/automake | |
Makefile.in | |
# http://www.gnu.org/software/autoconf | |
/autom4te.cache | |
/aclocal.m4 | |
/compile | |
/configure |
# | |
# image for ubuntu desktop interactive | |
# | |
FROM ubuntu:16.04 | |
MAINTAINER "Punit Soni <[email protected]>" | |
# install basic packages | |
RUN apt-get update && \ | |
apt-get install -y sudo vim git tmux |
Following libraries are required to build this code.
When you are using a third-party api in your application code. it usually requires you to supply some secret client information when making requests. if your code is opensource or accessible by a lot of people, putting these keys directly in code in plaintext can be a security issue.
One approach that i have seen in the wild is to use os environment variables to store the secrets and your app code can query the environment when starting up. this still requires someone to set up the environment in your server when
" -- General Options #general -----------------------------------------------{{{ | |
" ---------------------------------------------------------------------------- " | |
set nocompatible | |
" Syntax highlighing on | |
syntax on | |
" Highlight search term as you type | |
set hlsearch | |
" Show current command in statusbar | |
set showcmd | |
" Enable mouse |