Skip to content

Instantly share code, notes, and snippets.

View nunogmartins's full-sized avatar

Nuno Miguel Galvão Martins nunogmartins

View GitHub Profile
@nunogmartins
nunogmartins / keybase.md
Last active November 25, 2020 14:47
verify keybase

Keybase proof

I hereby claim:

  • I am nunogmartins on github.
  • I am nunogmartins (https://keybase.io/nunogmartins) on keybase.
  • I have a public key whose fingerprint is B8B3 9F38 F8BF 0B1D EE56 065E DE27 8670 A924 715D

To claim this, I am signing this object:

@nunogmartins
nunogmartins / angle-fix
Created July 9, 2014 16:24
Possible fix for not compiling ANGLE on linux
diff --git a/WebKit.pro b/WebKit.pro
index 876d554..34c8a06 100644
--- a/WebKit.pro
+++ b/WebKit.pro
@@ -19,9 +19,9 @@ JavaScriptCore.makefile = Makefile.JavaScriptCore
SUBDIRS += JavaScriptCore
use?(3D_GRAPHICS) {
- ANGLE.file = Source/ThirdParty/ANGLE/ANGLE.pro
- ANGLE.makefile = Makefile.ANGLE
@nunogmartins
nunogmartins / openwrt-software-suite-install.sh
Created December 11, 2013 16:03
Script to download backfire version from openwrt servers, setup image configuration options and build the openwrt image
#!/bin/bash
#
# Copyright (c) 2012, 2013. Caixa Magica Software.
# Author: Nuno Martins <nuno.martins@caixamagica.pt>
#
# GNU LESSER GENERAL PUBLIC LICENSE
# Version 3, 29 June 2007
#
# Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
# Everyone is permitted to copy and distribute verbatim copies
@nunogmartins
nunogmartins / javascript_code
Created November 15, 2013 14:36
More code help to understand the issue in the protobuffers to retrieve more than one byte field from a message
var Protobuf = require('protobufjs');
var myparser = require("./protobuf/myparser");
var builder = Protobuf.protoFromFile("./protobuf/protobuffer.proto");
var MessageBuilder = builder.build("Message");
// cdata is received from a socket