git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| [Desktop Entry] | |
| Name=Visual Studio Code | |
| Comment=Programming Text Editor | |
| Exec=/usr/local/src/VSCode-linux-x64/code | |
| Icon=/usr/local/src/VSCode-linux-x64/resources/app/resources/linux/code.png | |
| Terminal=false | |
| Type=Application | |
| Categories=Programming; |
| // ImGui BFFX binding | |
| // In this binding, ImTextureID is used to store an OpenGL 'GLuint' texture identifier. Read the FAQ about ImTextureID in imgui.cpp. | |
| // You can copy and use unmodified imgui_impl_* files in your project. See main.cpp for an example of using this. | |
| // If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and ImGui_ImplXXXX_Shutdown(). | |
| // If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. | |
| // https://github.com/ocornut/imgui | |
| #include <imgui.h> | |
| #include "imgui_impl_bgfx.h" |
| #pragma once | |
| #include "RuntimeImGui.h" | |
| #include "RuntimeInclude.h" | |
| RUNTIME_MODIFIABLE_INCLUDE; | |
| #include "IconsFontAwesome.h" // from https://github.com/juliettef/IconFontCppHeaders | |
| #include "PlatformUtils.h" | |
| namespace ImGui |
Original article: https://iquilezles.org/www/articles/noacos/noacos.htm
| inline std::vector<uint8_t> read_vector_from_disk(std::string file_path) | |
| { | |
| std::ifstream instream(file_path, std::ios::in | std::ios::binary); | |
| std::vector<uint8_t> data((std::istreambuf_iterator<char>(instream)), std::istreambuf_iterator<char>()); | |
| return data; | |
| } |
| #!/bin/bash | |
| dnf install gmp-devel mpfr-devel texinfo bison git gcc-c++ -y | |
| mkdir ld.gold && cd ld.gold | |
| git clone --depth 1 git://sourceware.org/git/binutils-gdb.git binutils | |
| mkdir build && cd build | |
| ../binutils/configure --enable-gold --enable-plugins --disable-werror | |
| make all-gold | |
| cd gold |