Skip to content

Instantly share code, notes, and snippets.

Francisco Lopes oblitum

Block or report user

Report or block oblitum

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
oblitum / clang-hacking.cpp
Created Mar 2, 2014
Fixing libclang bug 13699
View clang-hacking.cpp
#include <clang-c/Index.h>
#include <cstdlib>
#include <iostream>
* Compile with:
* clang++ clang-hacking.cpp -o clang-hacking -lclang
* Run with:
* LIBCLANG_TIMING=1 ./clang-hacking file.cpp line column [clang args...]
#include <clang-c/Index.h>
#include <cstdlib>
#include <iostream>
* Compile with:
* g++ -o complete -lclang -L/usr/lib/llvm
* Run with:
* LIBCLANG_TIMING=1 ./complete line column [clang args...]
oblitum / poco_http_post_headers.cpp
Created Dec 14, 2015 — forked from jeffcrouse/poco_http_post_headers.cpp
Poco HTTPPOST request with headers
View poco_http_post_headers.cpp
#include <Poco/Net/HTTPClientSession.h>
#include <Poco/Net/HTTPRequest.h>
#include <Poco/Net/HTTPResponse.h>
#include <Poco/StreamCopier.h>
#include <Poco/Path.h>
#include <Poco/URI.h>
#include <Poco/Exception.h>
using namespace Poco::Net;
using namespace Poco;
oblitum / 1-clang-O3.asm
Created Oct 11, 2013
yeppp! a trivial test's clang intel syntax assembly
View 1-clang-O3.asm
call _ZNSt6chrono3_V212system_clock3nowEv
mov r14, rax
#DEBUG_VALUE: i <- 0
.align 16, 0x90
.LBB0_6: #
# =>This Loop Header: Depth=1
# Child Loop BB0_7 Depth 2
#DEBUG_VALUE: size <- 1024
View postmortem.go
// Better POST-MORTEM than never! 💀
package main
import (
type RelationshipSet struct {
oblitum / index.html
Created Apr 11, 2016 — forked from biovisualize/index.html
Posting gist/blocks to blogger
View index.html
<!-- Override Gist styling -->
<style type="text/css">
iframe{background-color: #0a0a0a;}
div.gist-syntax {background-color:#0a0a0a!important;}
div.gist {color:#ccc!important;}
span.nt, span.kd, span.k, span.o{color:aliceblue!important;}
.gist .gist-file{border-color:#444!important;}
.gist .gist-file .gist-meta{background-color:#0a0a0a!important;}

Just some notes and references for myself.

  • In bash, you can access your C:\ driver via /mnt/c/
  • ~ = C:\Users\MLM\AppData\Local\lxss\home\mlm and is different from your Windows user directory C:\Users\MLM

How to google things

oblitum /
Created Apr 29, 2017 — forked from pascalpoitras/
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

Enable mouse support

/mouse enable

Encrypted password in sec.conf

oblitum /
Created May 25, 2017 — forked from 0x414A/
An installation and setup guide for mopidy on Arch Linux.

Mopidy on Arch Linux



Install from the AUR.

oblitum / description.txt
Last active Aug 26, 2017
Adds compose menu bindings for grouping and moving attachments
View description.txt
Adds compose menu bindings for grouping and moving attachments.
Three new bindings:
group-alternatives combine tagged items into a multipart/alternative group
move-up move the current attachment up in the list
move-down move the current attachment down in the list
You can’t perform that action at this time.