Skip to content

Instantly share code, notes, and snippets.

@lucab
lucab / gist:8302e6ef7f88827fb093
Created January 24, 2015 15:23
llvm35-assert.log
$ make
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=gcc (CFG_CC)
cfg: enabling valgrind run-pass tests (CFG_ENABLE_VALGRIND_RPASS)
@lucab
lucab / mame.diff
Created January 18, 2015 15:37
mame-lua presave/postload callbacks
commit 380a02907ff0e082cc5291b23882de10e9fbae58
Author: Luca Bruno <lucab@debian.org>
Date: Sun Jan 18 16:28:09 2015 +0100
save: factor-out presave/postload dispatchers
Signed-off-by: Luca Bruno <lucab@debian.org>
diff --git a/src/emu/save.c b/src/emu/save.c
index d7d8ba5..98c23ca 100644
@lucab
lucab / secmonkey_role_setup.py
Last active February 11, 2020 19:29
SecurityMonkey AWS role provisioning script
#!/usr/bin/env python
# Copyright 2014 Rocket-Internet
# Luca Bruno <luca.bruno@rocket-internet.de>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0

Keybase proof

I hereby claim:

  • I am lucab on github.
  • I am lucab (https://keybase.io/lucab) on keybase.
  • I have a public key whose fingerprint is 7478 5B72 8B8A B530 C60B F303 46AA 1B6A 3BFB 9FB3

To claim this, I am signing this object:

@lucab
lucab / git-subtree-debian.sh
Created November 28, 2013 11:06
Enable git-subtree from Debian git package (>= 1.7.11)
sudo cp git-subtree.sh "$(git --exec-path)"/git-subtree
sudo chmod a+x "$(git --exec-path)"/git-subtree
Index: llvm-3.2.src/clang/lib/Driver/ToolChains.cpp
===================================================================
--- llvm-3.2.src.orig/clang/lib/Driver/ToolChains.cpp 2013-01-18 15:57:25.240901367 +0100
+++ llvm-3.2.src/clang/lib/Driver/ToolChains.cpp 2013-01-18 15:57:49.752900485 +0100
@@ -36,6 +36,9 @@
#include <cstdlib> // ::getenv
#include "clang/Config/config.h" // for GCC_INSTALL_PREFIX
+#include <iostream>