This content has moved.
Please go to bagder/TRRprefs for the current incarnation of the docs, and please help us out polish and maintain this documentation!
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
"AppState" | |
{ | |
"AppID" "221380" | |
"Universe" "1" | |
"StateFlags" "1026" | |
} |
/* $ gcc cve_2016_0728.c -o cve_2016_0728 -lkeyutils -Wall */ | |
/* $ ./cve_2016_072 PP_KEY */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <keyutils.h> | |
#include <unistd.h> | |
#include <time.h> |
#include "prefix.glsl" | |
#include "terrain_common.glsl" | |
#include "new_scattering.glsl" | |
#if 1 | |
#define WANT_LIGHTMETER 0 | |
#include "tone_map.glsl" | |
#endif | |
#include "srgb.glsl" |
This content has moved.
Please go to bagder/TRRprefs for the current incarnation of the docs, and please help us out polish and maintain this documentation!
function flamegraph(profdata) | |
### project: flamegraph | |
### authors: Christian Himpe (0000-0003-2194-6754) | |
### version: 0.3 (2021-02-06) | |
### license: BSD-2-Clause (opensource.org/licenses/BSD-2-Clause) | |
### summary: Flame graph visualization for Octave's profiler output. | |
# | |
# USAGE: | |
# | |
# profile on; |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import argparse | |
import base64 | |
import binascii | |
import getpass | |
import logging | |
import pprint | |
import re | |
import textwrap |