Skip to content

Instantly share code, notes, and snippets.

View adrientetar's full-sized avatar

Adrien Tétar adrientetar

View GitHub Profile
==6055== Memcheck, a memory error detector
==6055== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==6055== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==6055== Command: fontforge
==6055==
Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
Based on sources from 16:30 CEST 29-May-2014.
Based on source from git with hash:6df29dd747e216bf7878e465fbaa45fbcdc94154
(gdb) bt
#0 GDrawIsVisible (w=w@entry=0xffcc772200000000) at gdraw.c:148
#1 0x00007ffff69b6762 in GDrawRequestExpose (w=0xffcc772200000000, rect=0x0,
doclear=0) at gdraw.c:741
#2 0x00007ffff79a3b89 in CVMouseMoveRuler (cv=0x43ccf90, event=0x7ffffffc29f0)
at cvruler.c:654
#3 0x00007ffff7963d9c in CVMouseMove (cv=cv@entry=0x43ccf90,
event=event@entry=0x7ffffffc29f0) at charview.c:5338
#4 0x00007ffff7965257 in v_e_h (gw=0x3fbf460, event=0x7ffffffc29f0)
at charview.c:5651
OptiPNG 0.6.4: Advanced PNG optimizer.
Copyright (C) 2001-2010 Cosmin Truta.
** Processing: 1Brackets1.png
1040x532 pixels, 3x8 bits/pixel, RGB
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 8468 bytes
Input file size = 14518 bytes
Trying:
@adrientetar
adrientetar / board-msm7x30.c
Created March 24, 2012 11:35
board-msm7x30.c /BOSCH_BMA150 driver section
#ifdef CONFIG_BOSCH_BMA150
static struct vreg *vreg_gp6;
static int sensors_ldo_enable(void)
{
int rc;
/*
* Enable the VREGs L8(gp7), L15(gp6)
* for I2C communication with sensors.
*/
@adrientetar
adrientetar / 54netmodules
Created June 14, 2012 07:48
CIFS/NFS insmod init.d script
#!/system/bin/sh
# insmod net modules - by adridu59
insmod /system/lib/modules/auth_rpcgss.ko
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/lockd.ko
insmod /system/lib/modules/nfs.ko
insmod /system/lib/modules/rpcsec_gss_krb5.ko
insmod /system/lib/modules/scsi_wait_scan.ko
insmod /system/lib/modules/sunrpc.ko
@adrientetar
adrientetar / Nombres_cubiques.java
Created October 26, 2012 16:39
Nombres cubiques (v1.1)
/**
* Ce programme calcule les entiers cubiques inférieurs
* à un entier donné (inférieur à 3000).
* @author Adrien Tétar
* @version 1.1
*
* Changelog:
* 1.1 - 'tmp', 'tmp1' cleanup.
*
* Copyright © 2012, Adrien Tétar. All rights reserved.
@adrientetar
adrientetar / Nombres_cubiques.java
Created October 28, 2012 19:14
Nombres cubiques (v1.2)
/**
* Ce programme calcule les entiers cubiques inférieurs
* à un entier donné (inférieur à 3000).
* @author Adrien Tétar
* @version 1.2
*
* Changelog:
* 1.2 - added rechercheDesNombresCubiquesI().
* 1.1 - 'tmp', 'tmp1' cleanup.
*
@adrientetar
adrientetar / Nombres_cubiques.java
Created October 28, 2012 20:01
Nombres cubiques (v1.0)
/**
* Ce programme calcule les entiers cubiques inférieurs
* à un entier donné.
* @author Adrien Tétar
* @version 1.0
*
* Copyright © 2012, Adrien Tétar. All rights reserved.
*/
import javax.swing.JOptionPane;
@adrientetar
adrientetar / Nombres_cubiques.java
Created November 14, 2012 22:49
Nombres cubiques (v1.4)
/**
* Ce programme calcule les entiers cubiques inférieurs
* à un entier donné (inférieur à 3000).
* @author Adrien Tétar
* @version 1.4
*
* Changelog:
* 1.4 - reverted 1.2 and 1.3 changes.
* added sommeDesCubesDesChiffresS().
* added rechercheDesNombresCubiquesS().
@adrientetar
adrientetar / Matrix.java
Created November 23, 2012 16:15
Matrix
/**
* Ce programme calcule la matrice inverse à l'aide du
* pivot de Gauss.
* @author Adrien Tétar
* @version 1.0-WIP
*
* Copyright © 2012, Adrien Tétar. All rights reserved.
*/
import java.awt.GridLayout;
import javax.swing.*;