This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IDENTIFICATION DIVISION. | |
PROGRAM-ID. traingle. | |
DATA DIVISION. | |
WORKING-STORAGE SECTION. | |
01 GL_COLOR_BUFFER_BIT USAGE BINARY-INT UNSIGNED VALUE 16384. | |
01 GL_VERSION USAGE BINARY-INT UNSIGNED VALUE 7938. | |
01 GL_STATIC_DRAW USAGE BINARY-INT UNSIGNED VALUE 35044. | |
01 GL_ARRAY_BUFFER USAGE BINARY-INT UNSIGNED VALUE 34962. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <tuple> | |
#include <cstddef> | |
#include <memory> | |
#include <span> | |
#include <algorithm> | |
template<size_t I = 0, class... Tp, class F> | |
void for_each_apply(std::tuple<Tp...>& t, F&& f) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://packages.linuxmint.com vanessa main upstream import backport #id:linuxmint_main | |
deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse | |
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <span> | |
#include <memory> | |
#include <stdexcept> | |
#include <algorithm> | |
using vec2_t [[gnu::vector_size(8)]] = float; | |
struct pipe_closer | |
{ | |
void operator()(FILE* f) const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <map> | |
#include <string> | |
#include <algorithm> | |
/** | |
* Accepts a `dd` style (foo=bar) command line. For simplicity it has | |
* no support parameter descriptions. | |
*/ | |
class command_line | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@ {"target":{"name":"wordgen.o"}} | |
#include <random> | |
#include <string> | |
#include <map> | |
#include <set> | |
#include <cstdio> | |
#include <optional> | |
#include <cuchar> | |
#include <climits> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import json | |
import string | |
import tempfile | |
import subprocess | |
import sys | |
cxx_template = string.Template('''#ifndef COMPILE_ENV_INCLUDED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bmesh | |
import bpy | |
import json | |
def debug_print(data): | |
for window in bpy.context.window_manager.windows: | |
screen = window.screen | |
for area in screen.areas: | |
if area.type == 'CONSOLE': | |
override = {'window': window, 'screen': screen, 'area': area} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <variant> | |
#include <type_traits> | |
namespace Library | |
{ | |
template<class T> | |
using Empty = std::type_identity<T>; | |
namespace detail | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ***** BEGIN GPL LICENSE BLOCK ***** | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
NewerOlder