(gdb) r
Starting program: /home/robert_/C++/intervue/bin/x86_64-pc-linux-gnu/debug/client
/usr/lib/../share/gcc-9.2.0/python/libstdcxx/v6/xmethods.py:731: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
refcounts = ['_M_refcount']['_M_pi']
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
height is 16
ID = 1, Position = (231, 2)
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
help: ## Display usage and built-in help information. | |
$(shell printf "echo \"\"") | |
$(shell printf "echo \" %-20s %s\"" "Giza SDK Help" "Displays usage and built-in help information.") | |
$(shell printf "echo \"\"") | |
$(shell printf "echo \" ┌──────────────────────────────────────────────────────────────────────────────┐\"") | |
$(shell printf "echo \" │ %-76s │\"" "Available Targets:" ) | |
$(shell printf "echo \" ├──────────────────────────────────────────────────────────────────────────────┤\"") | |
for target in $(MAKE_TARGETS); do \ | |
echo "$${target}"; \ |
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 os.path, re | |
from typing import List | |
""" Query processor info (UNIX/win32)""" | |
isfloat = lambda value: len(tuple(it for it in str(value.strip()).partition('.') if len(it) > 0)) == 3 | |
tofloat = lambda value: float(str(value).strip()) if isfloat(value) else None | |
tofloatif = lambda value: tofloat(value) or value | |
class LogicalProcessor(object): | |
def __init__(self, args) -> None: | |
self.processor = args.get('processor', '') |
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 re, os.path as path | |
class Makefile(object): | |
def __init__(self, filename): | |
if path.exists(filename): | |
self.handle = open(filename) | |
def get(self, name, default = None): | |
value = default |
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
#include <wx/artprov.h> | |
#include <wx/xrc/xmlres.h> | |
#include <wx/scrolwin.h> | |
#include <wx/gdicmn.h> | |
#include <wx/font.h> | |
#include <wx/colour.h> | |
#include <wx/settings.h> | |
#include <wx/string.h> | |
#include <wx/frame.h> | |
#include <wx/aui/aui.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
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <inttypes.h> | |
#include <xcb/xcb.h> | |
const char hPropName[] = "HWND"; |
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
#include "base.h" | |
#include "application.h" | |
MainApplication app; | |
MainApplication::MainApplication(const char* caption) | |
: Fl_Double_Window(640, 480, caption) | |
, menubar( 0, 0, 480, menuHeight) | |
, workspace( 0, 0, 280, 60, "") | |
{ |
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
#include <stdio.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <unistd.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <stdbool.h> | |
#include <sys/stat.h> | |
#include <sys/mman.h> |
My code here
Setting top to : directory-it-doesnt-matter
Setting out to : directory-it-doesnt-matter
Traceback (most recent call last):
File "/lib/python3.8/site-packages/waf/waflib/Scripting.py", line 159, in waf_entry_point
run_commands()
File "/lib/python3.8/site-packages/waf/waflib/Scripting.py", line 255, in run_commands
ctx = run_command(cmd_name)
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
!---------------------------------------------------------------------- | |
! AOLNET.CCL | |
!---------------------------------------------------------------------- | |
Title "AOLnet" | |
ID 4 | |
DriverType 1 | |
-Label 0 { Label 0 } | |
IfConnects 2 1 |