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
| // clang++ -Wall -std=c++11 -O0 -o test test.cpp && ./test | |
| // g++ -Wall -std=c++11 -O0 -o test test.cpp && ./test | |
| #include <iostream> | |
| #include <vector> | |
| #include <cstdio> | |
| namespace Ns | |
| { |
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
| /* | |
| ## Compile | |
| g++ -Wall -std=c++11 -rdynamic -g stack-backtrace.cpp -lbacktrace -o stack-backtrace && ./stack-backtrace | |
| clang++ -Wall -std=c++11 -rdynamic -g stack-backtrace.cpp -lbacktrace -o stack-backtrace && ./stack-backtrace | |
| ## Output | |
| Backtrace: |
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
| #!/bin/bash | |
| # | |
| # To make apache render files ending with .md with strapdown.js | |
| # markdown renderer (http://strapdownjs.com/), add following lines | |
| # to /etc/apache2/httpd.conf: | |
| # | |
| # Action markdown /cgi-bin/strapdown.cgi | |
| # AddHandler markdown .md | |
| # DirectoryIndex index.html index.md | |
| # |
NewerOlder