See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
Clone project
Checkout all branches that contain the files that should be moved
Delete the remote
Run the filter-branch command:
git filter-branch --tree-filter 'mkdir -p /path/to/tmp; mv * /path/to/tmp; mkdir subdir; mv /path/to/tmp/* subdir/' --tag-name-filter cat --prune-empty -- --all
http://nvidia.custhelp.com/app/answers/detail/a_id/3507/~/generating-an-event-trace-log-for-gpuview
https://msdn.microsoft.com/en-us/library/windows/desktop/jj585574(v=vs.85).aspx
https://docs.microsoft.com/en-us/windows/desktop/direct2d/profiling-directx-applications
https://knarkowicz.wordpress.com/2013/05/25/simple-gpuview-custom-event-markers/
https://software.intel.com/en-us/articles/removing-cpu-gpu-sync-stalls-in-galactic-civilizations-3 ( https://www.intel.com/content/www/us/en/developer/articles/case-study/removing-cpu-gpu-sync-stalls-in-galactic-civilizations-3.html )
Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.
Memory Optimization (Christer Ericson, GDC 2003)
http://realtimecollisiondetection.net/pubs/GDC03_Ericson_Memory_Optimization.ppt
Cache coherency primer (Fabian Giesen)
https://fgiesen.wordpress.com/2014/07/07/cache-coherency/
Code Clinic 2015: How to Write Code the Compiler Can Actually Optimize (Mike Acton)
http://gdcvault.com/play/1021866/Code-Clinic-2015-How-to
#include <iostream> | |
#include <vector> | |
#include <string> | |
using std::string; | |
/* | |
These macros define a struct with an implicitly defined Show function that visits each member. | |
The trick is that a typedef is split between each STRUCT_MEMBER instance and the preceding macro, | |
which allows it to define an empty struct type that identifies the following struct member, while also | |
knowing the struct type that the preceding macro is using to identify the current member. |
This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.
Highly recommended things!
This is my five-star list. These are my favorite things in all the world.
A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★
# Verifies the connectivity and validity of the objects in the database | |
git fsck —unreachable | |
# Manage reflog information | |
git reflog expire —expire=0 —all | |
# Pack unpacked objects in a repository | |
git repack -a -d -l | |
# Prune all unreachable objects from the object database |
#define DEBUG_CONSOLE | |
#define DEBUG_LEVEL_LOG | |
#define DEBUG_LEVEL_WARN | |
#define DEBUG_LEVEL_ERROR | |
#if (UNITY_EDITOR || DEVELOPMENT_BUILD) | |
#define DEBUG | |
#endif | |
#if (UNITY_IOS || UNITY_ANDROID) |