This file contains hidden or 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
paste -d' ' <(cat ~/.zsh_history | grep '^: ' | cut -b3-12 | xargs -I{} date -d @{} +'%Y-%m-%d %H:%M:%S') <(cat ~/.zsh_history | cut -b16-) > ~/.zsh_history_processed |
This file contains hidden or 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
--- p6.cpp 2014-03-28 22:55:37.000000000 -0500 | |
+++ p6.c 2014-03-28 23:02:28.000000000 -0500 | |
@@ -7,9 +7,8 @@ | |
#define PNG_DEBUG 3 | |
#include <png.h> | |
-#include <glm/glm.hpp> | |
-#include <glm/gtc/matrix_transform.hpp> | |
-#include <glm/gtc/type_ptr.hpp> | |
+#include <kazmath/kazmath.h> |
This file contains hidden or 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
import sys | |
stdout = sys.stdout | |
with open('outfile.log','w') as sys.stdout: | |
library_function_that_prints() | |
sys.stdout = stdout |