On a working Sierra for dev with clion, I needed to update some dev related stuff after mojave upgrade.
Here are the results :
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_for_macOS10.14.pkg -target /
Sometimes, I have a branch with a new feature I work on, call it
At some point I want to show this feature to colleagues, so I want to have a clean history, and remove some WIP stuff
To this end :
git checkout Feature_mess
git checkout -b Feature_clean
git rebase -i Feature_clean master (or whatever base you want)
Cleanup history here, remove crappy things, merge a lot of commits, rewrite history !
Now to benefit from this clean history as a base of
git branch temp Feature_mess
git checkout temp
git reset --soft Feature_clean
Now you are in the state of mess, with the history of cleanup, you can check diff and then
Et voilà !
More information on
git reset here : https://gist.github.com/tnguyen14/0827ae6eefdff39e452b
From time to time, on my ubuntu 11.10, i have link error like “undefined reference to glGetQueryObjectui64v”.
This is because an unidentify package update break libGL.so symlink in
/usr/lib or /usr/lib/x86_64-linux-gnu
The best solution I found is to manually
“sudo rm libGL.so libGL.so.1”
and to “ln -s nvidia-current/libGL.so .” in usr/lib
and “ln -s ../libGL.so .” in /usr/lib/x86_64-linux-gnu
and so on with libGL.so.1 if needed ..