Skip to content

Instantly share code, notes, and snippets.

View strace2.txt
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
@slacka
slacka / strace.txt
Created Mar 7, 2018
CppunitTest_xmlsecurity_signing strace
View strace.txt
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
View gist:418a0ffbae2ae12e7f38d4b27e2bdd8a
$ 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 Apr 4, 2016
screen and tmux cheat sheet
View gist:72739e9d848523ed48b1

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
View cable3.c
#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 Dec 9, 2018
Doom 3 Carmack's Reverse
View tr_backend_draw.cpp
https://github.com/tmek/DOOM-3-BFG-VR/commit/244d9cb2f43fbb6d0d5d0f2b6f568b09fbaf2e85
renderer/tr_backend_draw.cpp
@@ -34,7 +34,7 @@
34 34
View hellorun.min.js
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))