This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { | |
if (p < 0.5) | |
return 0.5 * pow(2*p, g); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git reflog | |
# これで、以下の様なのが参照できる | |
2be6f11 HEAD@{0}: xxxxxxxxxxxx | |
18389ad HEAD@{1}: xxxxxxxxxxxxx | |
0c485c8 HEAD@{2}: xxxxxxxxxxxxxx | |
b751438 HEAD@{3}: xxxxxxxxxxxxxxx # ここに戻したいので一つ前の数字を指定↓ | |
hc8a0s8 HEAD@{4}: xxxxxx | |
# 「q」で戻って・・・ | |
git reset --hard 'HEAD@{4}' | |
# のように数字を指定すると元に戻る! |