Skip to content

Instantly share code, notes, and snippets.

View C0nsultant's full-sized avatar

Fabian Koller C0nsultant

  • GoTo
  • Dresden, Germany
  • 13:50 (UTC +02:00)
View GitHub Profile
@ax3l
ax3l / symbols_cpp.md
Last active April 23, 2024 08:57
Symbol Visibility 101 by Boris Staletic @bstaletic

Visible Symbols in C++ Projects

Intro

This is a spontaneous and verbatime log of a conversion with Boris Staletic @bstaletic from March, 24th 2018 on the pybind11 gitter. Thank you so much, Boris!

To confuse future readers, we decided to write down the discussion and I added typos and unnecessarily long sentences.

The issue came up with linking a CMake (library) target into a pybind11 module (in openPMD-api).

@pgburt
pgburt / Podcast-Checklist.md
Last active April 13, 2024 22:19
Audacity Podcast Checklist

Recording

  • Set Audacity to use the External mic.
  • Ensure you're recording in 16-bit PCM + 44100Hz.
  • Do a sound check, record everyone in the room speaking. You want the lighter part of the meter bar (the green or red bar at the top) to bounce between -12db and -6db while people are talking. It's hard to achieve this... so just settle for as close as you can get, without the bars going off the scale :)
  • Play it back and tweak levels until it sounds good @ 60% speaker volume.
  • Save the Project BEFORE recording live :D (prevents quality issues)

Edit for Content

  • Join recordings to one track.
  • Listen to it + Edit bad content out.
@ax3l
ax3l / adiosCompile.sh
Last active December 7, 2016 14:42
adios_quickcompile
export ZLIB_ROOT=/usr
wget http://users.nccs.gov/~pnorbert/adios-1.10.0.tar.gz
tar -xvzf adios-1.10.0.tar.gz
cd adios-1.10.0
LDFLAGS="-fPIC -pthread" CFLAGS="-fPIC -g -O2" CXXFLAGS="-fPIC -g -O2" \
./configure --prefix=$HOME/lib/adios-1.10.0 \
--with-zlib=$ZLIB_ROOT --with-mpi=$MPI_ROOT \
--enable-static --enable-shared \
--without-dataspaces --disable-fortran
@sloria
sloria / bobp-python.md
Last active July 24, 2024 02:53
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens