Copyright (c) 2009-2018 Jérémie DECOCK (http://www.jdhp.org)
This is a collection of hundreds of original snippets, i.e. small pieces of code I have written to test specific aspects of programming language, programming libraries, description formats, protocols, ...
Here you will find snippets for several topics:
- programming languages;
- unix programming;
- scientific programming libraries;
- parallel computing and high performance computing programming libraries;
- image processing programming libraries;
- general API like Boost (C++);
- programming tools like Gnu Make, CMake and Apache Ant;
- XML and web development technologies;
- Embedded systems programming;
- graphical User Interface libraries;
- 2D, 3D and Multimedia libraries;
- many others topics like design patterns, LaTeX language, Computer-aided design with OpenSCAD, ...
For more exhaustive information, see the following sections.
- The python directory contains hundreds of snippets on Python language and some Python libraries.
- The cpp directory contains hundreds of snippets on the C++ language and some C++ libraries.
- The c directory contains a hundred of snippets on the C language and some C libraries.
- The octave directory contains dozens snippets on Octave (Matlab clone).
- The java directory contains some snippets on the Java language and some Java libraries.
- The shell and commands directories contain some snippets on shell scripts (Bourne shell and Bash).
- The c/unix directory contains about fifty snippets on Unix/Linux system calls in C.
- The c/debian, python/debian and java/debian directories contain some snippets on Debian packaging in C/C++, Python and Java.
- The c/gsl directory contains some snippets on the GSL (GNU Scientific Library) and BLAS programming libraries.
- The c/glpk and science/glpk directories contain some snippets on GLPK (GNU Linear Programming Kit), a linear programming (LP) and mixed integer programming (MIP) solver.
- The cpp/eigen directory contains some snippets on the Eigen C++ template library for linear algebra.
- The python/numpy directory contains some snippets on Numpy, a powerful Python library for linear algebra.
- The python/matplotlib directory contains some snippets on the Matplotlib Python 2D plotting library.
- The python/scipy directory contains some snippets on Scipy, a fundamental package for scientific computing with Python.
- The python/mayavi directory contains some snippets on Mayavi, a 3D scientific data visualization and plotting library.
- The gnuplot directory contains about thirty snippets on Gnuplot, a command-line driven graphing utility.
- The c/mpi directory contains some snippets on MPI (Message Passing Interface) for the C/C++ programming language.
- The python/mpi4py directory contains some snippets on MPI (Message Passing Interface) for Python.
- The openmp directory contains some snippets on OpenMP, an API for parallel programming.
- The python/opencv directory contains some snippets on the OpenCV image processing library for Python.
- The c/opencv directory contains some snippets on the OpenCV image processing library for the C programming language.
- The cpp/opencv directory contains some snippets on the OpenCV image processing library for the C++ programming language.
- The python/pil directory contains some snippets on the PIL and Pillow Python imaging libraries.
- The cpp/boost directory contains some snippets on the Boost C++ libraries (Boost.Chrono, Boost.Date_Time, Boost.Graph, Boost.Program_options, Boost.Python, Boost.Random, ...).
- The make/c and make/cpp directories contain some snippets on Gnu Make, the famous multi-language build system.
- The cmake directory contains some snippets on CMake, the powerful cross-platform build system.
- The java/hello_ant directory contains some snippets on Ant, the famous Java build system.
- The python/pdb directory contains some snippets on the Python Debugger.
- The java/sax and python/sax directories contain some snippets on the SAX XML API for the Java and Python programming languages.
- The web directory contains some snippets on HTML5, CSS, XML, DOM, Xpath, Xinclude, Xquery, SVG, XSD (XML Schema) and XSLT.
- The atmel_mega_avr directory contains some snippets on the Atmel ATMega AVR micro-controller programming (in C).
- The c/rpi and python/rpi directories contain some snippets on the Raspberry Pi GPIO libraries for the Raspberry Pi embedded platform (written in C and Python).
- The c/gtk and python/pygtk directories contain some snippets on the GTK+ graphical user interfaces (C and Python).
- The cpp/qt and python/pyqt directories contain some snippets on the Qt C++ and Python UI framework.
- The java/swing directory contains some snippets on the Swing Java UI framework.
- The java/swt directory contains some snippets on the SWT (Standard Widget Toolkit) Java UI framework.
- The python/tkinter directory contains some snippets on the TKinter Python UI framework.
- The cpp/bullet and cpp/bullet_osg directories contain some snippets on the Bullet physics engine.
- The cpp/osg directory contains some snippets on the Open Scene Graph 3D graphics toolkit.
- The c/cairo and python/cairo directories contain some snippets on Cairo for the C programming language and Python.
- The c/sdl directory contains some snippets on SDL (Simple DirectMedia Layer), the C Multimedia Library.
- The python/pygame directory contains some snippets on Pygame, the Python wrapper for SDL.
- The cpp/sfml directory contains some snippets on the SFML C++ Multimedia Library.
- The design_patterns directory contains some snippets on Design patterns for the C++ and Java programming languages.
- The latex directory contains some snippets on the LaTeX language.
- The openscad directory contains some snippets on the OpenScad solid 3D CAD modeler.
- The markdown directory contains some snippets on the Markdown text format.
- The python/dbm directory contains some snippets on the DBM file format.
- The python/json directory contains some snippets on the JSON file format.
- The python/pickle directory contains some snippets on Pickle.
- ...
JDHP snippets are distributed under the MIT License.