Skip to content

jeremiedecock/snippets

Repository files navigation

Copyright (c) 2009-2018 Jérémie DECOCK (http://www.jdhp.org)

Description

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:

For more exhaustive information, see the following sections.

Programming languages

  • 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).

Unix programming

  • 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.

Scientific programming libraries

Parallel computing and high performance computing

Image processing programming libraries

  • 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.

General API

Programming tools

XML and web development

  • 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.

Embedded Systems Programming

Graphical User Interface libraries

  • 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.

2D, 3D and Multimedia libraries

  • 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.

Others

License

JDHP snippets are distributed under the MIT License.