Skip to content

Programming examples, code snippets, software templates.

Notifications You must be signed in to change notification settings

pierreay/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming Examples

About

Programming examples, code snippets, software templates.

Languages

Bash

External examples:

C

Linux Kernel

hello_world
Demonstrate module initialization and finalization, compilation, loading, removing.

C++

classes
Defining classes.
inheritance
Inheritance between classes.
overload
Overload classes methods.
template
Operate on generic types with templates.

Python

pickle_basic.py
Basic example for (de)serializing a Python object.
cli_click.py
Basic example for generating a CLI using Click.

SystemD

myservice_oneshot.service
Execute a command at startup.
myservice_fork.service
Start a daemon at startup.

Docker

archlinux
Create an Arch Linux container.
ubuntu
Create an Ubuntu container.

Makefile

patcher
Example of Makefile used as patching interface for experiment reproduction.

Emacs

dir-locals
Define arbitrary variables and functions in a project.
pull-request
Test a package branch for issues and pull-requests.

Lisp

io.lisp
I/O with a file.
list.lisp
List manipulations.
math.lisp
Mathematical operations.

About

Programming examples, code snippets, software templates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published