Skip to content

Instantly share code, notes, and snippets.

View andy5995's full-sized avatar

Andy Alt andy5995

View GitHub Profile
andy@oceanus:~/src/rmw-project/rmw$ ls /usr/share/locale/
Display all 247 possibilities? (y or n)
ach/ es/ ku_IQ/ se/
af/ es_AR/ ky/ shn/
all_languages es_ES/ l10n/ si/
am/ es_MX/ la/ sk/
an/ et/ lb/ sk_SK/
ang/ et_EE/ lg/ sl/
ar/ eu/ li/ sl_SI/
as/ fa/ ln/ so/
--- xaa 2018-03-08 16:23:30.950144341 -0600
+++ temp1/xaa 2018-03-08 16:23:31.074144849 -0600
@@ -5,7 +5,7 @@
FactionIndex = 0
teamIndex = 0
startLocationIndex = 0
-thisFaction = 0
+thisFaction = 1
control = 5
Faction Name: romans
In [/home/andy/src/zg-local/zetaglest-source/source/glest_game/main/main.cpp::handleSIGSEGV Line: 8164] Error detected: signal 11:
Error saved to logfile [/home/andy/.zetaglest/error.log]
*ERROR* [2018-07-19 16:13:05] In [/home/andy/src/zg-local/zetaglest-source/source/glest_game/main/main.cpp::handleRuntimeError Line: 841] [In [/home/andy/src/zg-local/zetaglest-source/source/glest_game/main/main.cpp::handleSIGSEGV Line: 8164] Error detected: signal 11:
] gameInitialized = 1, program = 0x55bb3c7d3720
*ERROR* [2018-07-19 16:13:06] In [/home/andy/src/zg-local/zetaglest-source/source/glest_game/main/main.cpp::handleRuntimeError Line: 871] [In [/home/andy/src/zg-local/zetaglest-source/source/glest_game/main/main.cpp::handleSIGSEGV Line: 8164] Error detected: signal 11:
Stack Trace:
/home/andy/src/zg-local/zetaglest-source/mk/linux/zetaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x55bb3ba3fb1a] line: 0
/home/andy/src/zg-local/zetaglest-source/mk/linux/zetaglest:Glest::Game::
@andy5995
andy5995 / gist:6625e36a20b46d9b76af6df1f55aaa90
Created September 6, 2018 23:47
csv file, hldig high-impact defect results from coverity
CID,Type,Status,First Detected,Owner,Classification,Severity,Action,Component,Category,File,Function
317493,Use after free,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Memory - illegal accesses,/db/log.c,CDB___log_find
317492,Uninitialized scalar variable,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Uninitialized variables,/db/mp_fopen.c,CDB___memp_fopen
317481,Resource leak,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Resource leaks,/hltools/hlmerge.cc,mergeDB
317479,Use after free,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Memory - illegal accesses,/htlib/List.cc,Remove
317477,Resource leak,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Resource leaks,/htnet/HtCookie.cc,HtCookie
317468,Resource leak,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Resource leaks,/db/log_put.c,CDB_log_file
317463,Out-of-bounds access,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Memory - corr
@andy5995
andy5995 / gist:6bf19702fac906600e2c7e4b54bb32ce
Created September 6, 2018 23:52
csv, all detected by coverity
CID,Type,Impact,Status,First Detected,Owner,Classification,Severity,Action,Component,Category,File,Function
317496,Parse warning,Low,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Parse warnings,/db/mp_fopen.c,
317495,Parse warning,Low,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Parse warnings,/db/db_join.c,
317494,Various,Medium,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Various,/db/txn.c,CDB_txn_checkpoint
317493,Use after free,High,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Memory - illegal accesses,/db/log.c,CDB___log_find
317492,Uninitialized scalar variable,High,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Uninitialized variables,/db/mp_fopen.c,CDB___memp_fopen
317491,Parse warning,Low,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Parse warnings,/db/qam_rec.c,
317490,Parse warning,Low,New,08/28/18,Unassigned,Unclassified,Unspecified,Undecided,Other,Parse warnings,/db/hash_auto.c,
317
@andy5995
andy5995 / BOOGERS.BAS
Created November 2, 2018 20:11
source code for BOOGERS by Mitch Teich 1982
1 REM NOTHING
2 REM
3 REM
5 REM DATNOIDS Copyright (c) 1982 By Casey Roche
8 REM
9 SCREEN 0,0,0
10 KEY OFF:WIDTH 80:COLOR 0,1,0:CLS:PLAY"mb":COLOR 4,0:LOCATE 24,1:PRINT" "+STRING$(78,219):SOUND 1000,1:PRINT" 000000 0000 00000000 00 00 000000 00000000 000000 00000":SOUND 2000,1
80 PRINT" 0222220 022220 02222220 02 20 02222220 02222220 0222220 0222220":SOUND 1000,1:PRINT" 02 20 02 20 22 020 20 02 20 22 02 20 0220 ":SOUND 2000,1
120 PRINT" 02 20 02 20 22 0220 20 02 20 22 02 20 0220 ":SOUND 1000,1:PRINT" 02 20 02222220 22 0202020 02 20 22 02 20 0220 ":SOUND 2000,1
160 PRINT" 02 20 02 20 22 02 0220 02 20 22 02 20 0220":SOUND 1000,1:PRINT" 02 20 02 20 22 02 020 02 20 22 02 20 0220":SOUND 2000,1
andy@oceanus:~/prog/rust$ cargo bloat --bin hello-world.rs
Compiling ...
Error: failed to execute 'cargo'. It should be in the PATH.
andy@oceanus:~/prog/rust$ cargo bloat --bin hello-world
Compiling ...
Error: failed to execute 'cargo'. It should be in the PATH.
*ERROR* [2018-11-07 17:40:51] In [/home/andy/local/MegaGlest/megaglest-source-3.13.0/source/glest_game/network/client_interface.cpp::updateFrame Line: 1223] error retrieving nmtQuit returned false!
Game unique identifier is: 93735c3e-e2e6-11e8-8b11-9133217d34a0
In [/home/andy/local/MegaGlest/megaglest-source-3.13.0/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5875] Error detected: signal 11:
Error saved to logfile [/home/andy/.megaglest/error.log]
*ERROR* [2018-11-07 18:00:50] In [/home/andy/local/MegaGlest/megaglest-source-3.13.0/source/glest_game/main/main.cpp::handleRuntimeError Line: 646] [In [/home/andy/local/MegaGlest/megaglest-source-3.13.0/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5875] Error detected: signal 11:
] gameInitialized = 1, program = 0x556ff92fd7a0
*ERROR* [2018-11-07 18:00:51] In [/home/andy/local/MegaGlest/megaglest-source-3.13.0/source/glest_game/main/main.cpp::handleRuntimeError Line: 665] [In [/home/andy/local/MegaGlest/megaglest-source-3.13.0/source/glest_game/main
fn main() {
let days = 12;
let rev_cumulative_day = 0;
let gift = [
"partridge in a pear tree",
"turtle doves",
"French hens",
"calling birds",
"golden rings",
# generated by Slic3r 1.3.0 on 2019-01-08 15:21:08
adaptive_slicing = 0
adaptive_slicing_quality = 75%
avoid_crossing_perimeters = 1
bed_shape = 0x0,120x0,120x120,0x120
bed_temperature = 50
before_layer_gcode =
between_objects_gcode =
bottom_infill_pattern = rectilinear
bottom_solid_layers = 3