Skip to content

Instantly share code, notes, and snippets.

View jgmdev's full-sized avatar

Jefferson González jgmdev

View GitHub Profile
@jgmdev
jgmdev / config-changes.diff
Created October 9, 2020 18:16
Differences between the odroid n2 ubuntu image linux config and one tweaked from archlinux
--- config.archlinux 2020-10-09 14:04:27.447045478 -0400
+++ config.ubuntu 2020-09-07 15:49:49.992743211 -0400
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/arm64 5.9.0-rc5-1 Kernel Configuration
+# Linux/arm64 5.8.6-1 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
@jgmdev
jgmdev / boot.ini
Created August 20, 2020 05:30
Odroid N2 sample boot.ini for kernel 5.x.x
ODROIDN2-UBOOT-CONFIG
setenv board "odroidn2"
# System Label
setenv bootlabel "ArchLinux"
# Default Console Device Setting
setenv condev "console=ttyAML0,115200n8"
@jgmdev
jgmdev / boot.ini
Created August 20, 2020 05:24
Odroid N2 sample boot.ini for kernel 4.9.x
ODROIDN2-UBOOT-CONFIG
setenv board "odroidn2"
# Default Console Device Setting
# NOTE: to also display boot output on display connected to hdmi
# set this variable as follows:
# setenv condev "console=ttyS0,115200n8 console=tty1"
setenv condev "console=ttyS0,115200n8"
@jgmdev
jgmdev / wrapper.c
Last active May 21, 2020 18:27
Small wrapper to troubleshoot libMali issues
// Compile: gcc -ldl wrapper.c -g -shared -o libwrapper.so
// Usage: LD_PRELOAD="./libwrapper.so" {program}
#include <stdio.h>
#include <stdlib.h>
#include <dlfcn.h>
#include <string.h>
#include <EGL/egl.h>
#include <X11/Xutil.h>
@jgmdev
jgmdev / PKGBUILD
Created March 17, 2017 18:34
evolus-pencil-bin archlinux PKGBUILD
# Maintainer: Leonidas Arvanitis <l.arvanitis@gmail.com>
_binname=Pencil
_pkgname_base=pencil
_pkgname=evolus-pencil
_version=3.0.0
_release=rc.2
_zipname="${_binname}_${_version}-${_release}_amd64.deb"
pkgname=${_pkgname}-bin
pkgver=${_version}_${_release}
@jgmdev
jgmdev / PKGBUILD
Created September 17, 2016 16:05
Archlinux manager-accounting PKGBUILD updated to work without version.txt
# Maintainer: François M. <francois5537 @ gmail.com>
pkgname=manager-accounting
pkgver=16.9.44
pkgrel=1
pkgdesc='Manager is free accounting software for small business'
arch=('i686' 'x86_64')
license=('custom')
url="http://www.manager.io/"
depends=('mono' 'gtk2' 'gtk-sharp-2' 'webkit-sharp')
@jgmdev
jgmdev / filterevent.patch
Created August 26, 2014 23:14
Patch to bind FilterEvent Method to wxApp
diff --git a/includes/app.h b/includes/app.h
index ed9fd0b..097a6c3 100644
--- a/includes/app.h
+++ b/includes/app.h
@@ -22,6 +22,7 @@ class wxAppWrapper : public wxApp
public:
bool OnInit();
int OnExit();
+ int FilterEvent(wxEvent& event);