Skip to content

Instantly share code, notes, and snippets.

View XePeleato's full-sized avatar
😎
Chillin'

Eduardo Alonso XePeleato

😎
Chillin'
View GitHub Profile

Keybase proof

I hereby claim:

  • I am xepeleato on github.
  • I am xepeleato (https://keybase.io/xepeleato) on keybase.
  • I have a public key ASDJOp_dDDC8n2ia9k0Koi00paJGjk0csL_GODs2ln6d3wo

To claim this, I am signing this object:

#include <stdio.h>
#define SZ 4
void suma_diags(int a[][SZ], int *ret)
{
int i, j, k, veces;
/* Para cada diagonal (de las de arriba) */
for (k = 1; k < (2 * (SZ + 1)) / 2; k++)
@XePeleato
XePeleato / tz_api.h
Last active March 17, 2024 12:14
Huawei G8 Fingerprint commands
/*
* Copyright (C) 2016 Shane Francis / Jens Andersen
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
@XePeleato
XePeleato / graphics_fbdev.cpp
Created March 26, 2016 17:02
Patched for Huawei devices.
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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
*
* Unless required by applicable law or agreed to in writing, software