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
- Install dependencies | |
$ sudo apt-get install libfltk1.3-dev install libboost-all-dev libxmu-dev | |
- Go to src/Makefile.am and add -lboost_system to LDADD, should be | |
LDADD= $(GUI_LD_ADD) $(XML_LD_ADD) $(PTHREAD_LD_ADD) -lboost_system | |
- Run regeneate makefiles with | |
$ aclocal; automake | |
- Run configure |
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
This example shows how $0 and the other $n fields change during the execution | |
of an AWK script. In a sense this is what using AWK is all about. | |
Consider the following awk script, with " 1 2 3 4 5" as input. | |
{ | |
print_fields(); | |
$1 = ""; | |
$3 = ""; |
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
#!/usr/bin/python3 | |
import http.server | |
class MyHTTPRequestHandler(http.server.SimpleHTTPRequestHandler): | |
def end_headers(self): | |
self.send_my_headers() | |
http.server.SimpleHTTPRequestHandler.end_headers(self) | |
def send_my_headers(self): | |
self.send_header("Cache-Control", "no-cache, no-store, must-revalidate") |
OlderNewer