Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
make -j 4 -rs -f /media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b/lo/core/Makefile.gbuild CppunitTest_xmlsecurity_signing
[build CUT] xmlsecurity_signing
execve("/media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b/lo/core/workdir/LinkTarget/Executable/cppunittester", ["/media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b/lo/core/workdir/LinkTarget/E"..., "/media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b/lo/core/workdir/LinkTarget/C"..., "--headless", "-env:BRAND_BASE_DIR=file:///media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b/l"..., "-env:BRAND_SHARE_SUBDIR=share", "-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource", "-env:UserInstallation=file:///media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b"..., "-env:CONFIGURATION_LAYERS=xcsxcu:file:///media/luke/528d6d6a-7fe0-492d-aa44-a"..., "-env:UNO_TYPES=file:///media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b/lo/cor"..., "-env:UNO_SERVICES=file:///media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b/lo/"..., "-env:URE_INTERNAL_LIB_DIR=file:///media/luke/528d6d6a-7fe0-492d-aa44-
@slacka
slacka / strace.txt
Created March 7, 2018 00:04
CppunitTest_xmlsecurity_signing strace
This file has been truncated, but you can view the full file.
make -j 4 -rs -f /media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b/lo/core/Makefile.gbuild CppunitTest_xmlsecurity_signing
[build CUT] xmlsecurity_signing
execve("/media/luke/528d6d6a-7fe0-492d-aa44-a5823810881b/lo/core/workdir/LinkTarget/Executable/cppunittester", ["/media/luke/528d6d6a-7fe0-492d-a"..., "/media/luke/528d6d6a-7fe0-492d-a"..., "--headless", "-env:BRAND_BASE_DIR=file:///medi"..., "-env:BRAND_SHARE_SUBDIR=share", "-env:BRAND_SHARE_RESOURCE_SUBDIR"..., "-env:UserInstallation=file:///me"..., "-env:CONFIGURATION_LAYERS=xcsxcu"..., "-env:UNO_TYPES=file:///media/luk"..., "-env:UNO_SERVICES=file:///media/"..., "-env:URE_INTERNAL_LIB_DIR=file:/"..., "-env:LO_LIB_DIR=file:///media/lu"..., "-env:LO_JAVA_DIR=file:///media/l"..., "--protector", "/media/luke/528d6d6a-7fe0-492d-a"..., "unoexceptionprotector", "--protector", "/media/luke/528d6d6a-7fe0-492d-a"..., "unobootstrapprotector", "--protector", "/media/luke/528d6d6a-7fe0-492d-a"..., "vclbootstrapprotector", "-env:CPPUNITTESTTARGET=/media/lu"...], [/* 9
$ sudo dnf history undo 6
[sudo] password for luke:
Fedora 25 - i386 - Updates 2.6 MB/s | 15 MB 00:05
Last metadata expiration check: 0:00:11 ago on Tue Jan 17 01:23:32 2017.
Undoing transaction 6, from Sun Jan 15 13:19:13 2017
Upgraded bind99-libs-9.9.9-4.P4.fc25.i686 (unknown)
Upgrade 9.9.9-4.P5.fc25.i686 @updates
Upgraded bind99-license-9.9.9-4.P4.fc25.noarch (unknown)
Upgrade 9.9.9-4.P5.fc25.noarch @updates
Upgraded ca-certificates-2016.2.10-1.0.fc25.noarch @koji-override-0
@slacka
slacka / gist:72739e9d848523ed48b1
Last active April 4, 2016 12:37
screen and tmux cheat sheet

http://www.mechanicalkeys.com/files/os/notes/tm.html

The formatting here is simple enough to understand (I would hope). ^ means ctrl+, so ^x is ctrl+x. M- means meta (generally left-alt or escape)+, so M-x is left-alt+x

It should be noted that this is no where near a full feature-set of either group. This - being a cheat-sheet - is just to point out the most very basic features to get you on the road.

Action tmux screen
start a new session tmux ORtmux new ORtmux new-session screen
re-attach a detached session tmux attach ORtmux attach-session screen -r
#include "SDL.h"
#define CX M+=(T%3+2*!(!T*t-6))
#define x ,A=4*!T,O=t,W=h=T<3?u(Q?p:D(A+3),D(A),D(A+1)[i]+D(A+2)*g+):K(t),U=V=K(a),o?U=h,W=V:V,
#define y a(Z)Y[++O]
#define V(I,D,E)(O=a(I)h[r])&&!(A=(D)(V=(1[E+L]<<16)+*i)/O,A-(I)A)?1[E+L]=V-O*(*E=A):H(0)
#define R(O,M,_)(S=L?a(I Z)O:O,N=L?a(I Z)O M(f=a(I Z)_):(O M(f=a(I n)_)))
#define T(_)R(r[u(10,L=4,--)],=,_)
#define u(a,r,T)16*i[a]+(I Z)(T i[r])
@slacka
slacka / tr_backend_draw.cpp
Last active December 9, 2018 20:57
Doom 3 Carmack's Reverse
https://github.com/tmek/DOOM-3-BFG-VR/commit/244d9cb2f43fbb6d0d5d0f2b6f568b09fbaf2e85
renderer/tr_backend_draw.cpp
@@ -34,7 +34,7 @@
34 34
function bind(a, b) {
return function () {
b.apply(a, arguments)
}
}
function loadJSON(a, b) {
var c = new XMLHttpRequest;
c.open("GET", a), c.onreadystatechange = function () {
4 == c.readyState && b.call(null, JSON.parse(c.responseText))