Skip to content

Instantly share code, notes, and snippets.

@voiduin
voiduin / c_blocks.md
Last active May 9, 2023 21:32
This page show how you can use raw blocks in c

You can use code blocks within any function to separate scopes
or logically separate chunks of code and label them with a comment or label.

#include "stdio.h"
#include "stdint.h"

uint8_t GlobalVar_g = 5;

int32_t main (void)
@voiduin
voiduin / creating-bpkg-package.md
Last active October 21, 2023 13:21
Guide to creating a BPKG package

Guide to creating a BPKG package

This guide outlines the steps to create the Bpkg package, using a
template "bpkg-template-one-file" from a GitHub repository.

The simplest package includes:

  • A single script file named example_script.sh.
  • A single command, excmd (short for "example command")
    That can be used after installation either in the command line
    (for user terminal use) or within scripts (for in-script use).