Skip to content

Instantly share code, notes, and snippets.

View HFTrader's full-sized avatar
🎯
Focusing

Henrique Bucher HFTrader

🎯
Focusing
View GitHub Profile
@jamespascoe
jamespascoe / callback.cpp
Created July 7, 2020 16:16
SWIG Callback Example for mapping std::function (C++) to Lua functions
#include <iostream>
#include "lua5.3/lua.hpp"
#include "callback.hpp"
extern "C" {
int luaopen_Callback(lua_State* L);
}
@fulezi
fulezi / ImGuiHandler.cpp
Last active March 25, 2024 02:47 — forked from hb3p8/ImGuiHandler.cpp
ImGui OpenSceneGraph wrapper
#include "ImGuiHandler.hpp"
#include "imgui/imgui.h"
#include <iostream>
#include <osgUtil/GLObjectsVisitor>
#include <osgUtil/SceneView>
#include <osgUtil/UpdateVisitor>
@bkaradzic
bkaradzic / orthodoxc++.md
Last active January 14, 2026 10:51
Orthodox C++

Orthodox C++

This article has been updated and is available here.

@warking
warking / install_linuxbrew_on_centos7.sh
Last active August 19, 2023 19:26
standalone linuxbrew setup script for CentOS 7
# Non-root account is recommended for this process
# centos-specific prepration
sudo yum -y update && sudo yum -y groupinstall 'Development Tools' && sudo yum -y install curl irb m4 ruby
# Sanitize the environment
PATH=~/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin
unset LD_LIBRARY_PATH PKG_CONFIG_PATH
# install linuxbrew