Skip to content

Mathieu Rodic

Full stack developer & Data scientist

  • Portfolio
  • Skills
  • Blog
  • Services
  • Contact

C

Libavcodec tutorial: decode virtually any audio file in C/C++

2017-01-282017-01-30 by Mathieu Rodic

After hours browsing the Internet, I couldn’t get my hands on a working tutorial to simply extract audio samples from a file using libavcodec. So here’s to you, a full working example! Warning FFMPEG and the libraries it depends on are often updated, and their API can drastically change between versions. This code works with … Read more

Categories C, Programming, SoundLeave a comment

Weighted graphs: generate a layout in C++

2014-10-052014-12-31 by Mathieu Rodic
philosophy

What is this all about? Graphs are becoming more and more popular to represent interconnected data. We’ll see here how to make a simple program taking the weights of the relations between the nodes as an input, and outputs the coordinates of the nodes as an output. For example, imagine we have in a graph … Read more

Categories C, Graph, ProgrammingLeave a comment

Shortest encryption program in pure C

2014-10-012014-12-31 by Mathieu Rodic
cryptography

Why? In a recent code golf contest, the goal was to write a useful program within 100 characters tops… What does the program do? This program can encode and decode any kind of data (text, binary data…), using a user-defined key (passphrase) of any desired length. It has been adaptated from the Vigenère cypher, replacing … Read more

Categories C, Cryptography, Programming1 Comment

Archives

  • January 2017
  • November 2015
  • January 2015
  • December 2014
  • October 2014
  • August 2014
  • August 2012
  • April 2011

Pages

  • Blog
  • Portfolio
  • Skills
  • Services
  • Contact

Categories

  • AI
  • Apache2
  • C
  • Cryptography
  • Database
  • GIS
  • Graph
  • online tool
  • ORM
  • PHP
  • Programming
  • Python
  • Regexp
  • Sound
  • SQLAlchemy
  • SQLite

Recent Posts

  • Libavcodec tutorial: decode virtually any audio file in C/C++
  • Online conversion between geometric formats
  • Conversion between “CamelCase” and “snake_case” strings with Python
  • Automatic migrations in SQLAlchemy with Alembic
  • Use SQLAlchemy with Django
  • Weighted graphs: generate a layout in C++
  • Make a chatbot with Python and SQLite
  • Shortest encryption program in pure C
Copyright © 2023 · GeneratePress