should work
than the previous
| //#!`/usr/bin/env clang++` --std=c++03 -I/usr/local/Cellar/boost/1.73.0/include -L/usr/local/Cellar/boost/1.73.0/lib -lboost_wave -orecomment | |
| #include <fstream> | |
| #include <iostream> | |
| #include <sstream> | |
| #include <cassert> | |
| #include <boost/wave/cpplexer/cpp_lex_iterator.hpp> | |
| #include <boost/wave/cpplexer/cpp_lex_token.hpp> | |
| typedef boost::wave::cpplexer::lex_token<> token_type; |
| #define SAFEGL(call) (call); \ | |
| {\ | |
| GLenum err = glGetError(); \ | |
| if (err != GL_NO_ERROR) \ | |
| fprintf(stdout, "GL ERROR: 0x%x at '%s' %s:%d\n", err, #call, __FILE__, __LINE__);\ | |
| }\ | |
| ImGuiStyle& style = ImGui::GetStyle(); | |
| style.ChildWindowRounding = 3.f; | |
| style.GrabRounding = 0.f; | |
| style.WindowRounding = 0.f; | |
| style.ScrollbarRounding = 3.f; | |
| style.FrameRounding = 3.f; | |
| style.WindowTitleAlign = ImVec2(0.5f,0.5f); | |
| style.Colors[ImGuiCol_Text] = ImVec4(0.73f, 0.73f, 0.73f, 1.00f); |
A little blog post to cover the technological choices and considerations I took when starting with git-gears.
I'm targeting to have a small binary size.
With C# and .NET native, this might not be as minimal I'd love to have,
but it's a good compromise wrt the other considerations.
| #!python3 | |
| """ | |
| A simple python script to find all file types in a folder structure. | |
| call: typewalk.py <folder> [lfs] | |
| optional argument 'lfs' to run 'git lfs track *.ext' for each new BINARY FILE extension | |
| I used this for making a git repo out of the full Android SDK/NDK. | |
| """ |
| [alias] | |
| it = !git init && git commit --allow-empty -m \"initial commit [empty]\" | |
| please = push --force-with-lease | |
| commend = commit --amend --no-edit | |
| commedit = commit --amend | |
| ch = checkout | |
| cb = checkout --branch | |
| ps = push | |
| psu = push --set-upstream | |
| pl = pull |
The following is an internal memo I recently wrote to explain the structure of a project I have been working for the last 2 years. While there are a number of details that can only be understood if you have the mentioned repos in front of you, I figured this might give some interesting ideas to other devs.
about the project scaffolding structure used among other for BADASS and AVALON
| --- | |
| Language: Cpp | |
| AccessModifierOffset: -4 | |
| AlignEscapedNewlinesLeft: false | |
| AlignTrailingComments: true | |
| AlignAfterOpenBracket: Align | |
| AlignConsecutiveAssignments: true | |
| AlignConsecutiveDeclarations: true | |
| AlignOperands: true |
| # install.sh: Installation script for OSX | |
| PACKAGES='git chromedriver android-sdk' | |
| XCODEFILE=$(which xed) | |
| RVMFILE=$(which rvm) | |
| BREWFILE=$(which brew) | |
| GEMFILE=$(which gem) | |
| JAVAFILE=$(which java) | |
| ANTFILE=$(which ant) | |
| ANDROIDFILE=$(which android) |