Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am neagix on github.
  • I am neagix (https://keybase.io/neagix) on keybase.
  • I have a public key ASBmo4msQwafEQqIO8THyuMt6eVtooMsNdQIXE5NVN-_pgo

To claim this, I am signing this object:

@neagix
neagix / 91-custom-gpg-agent
Last active Aug 29, 2015
gpg-agent Xsession script to cleanup the Ubuntu mess
View 91-custom-gpg-agent
## http://neagix.blogspot.nl/2014/09/setup-gpg-smartcard-reader-in-ubuntu-14.html
##
##
## NOTE: this script is sourced via dash
##
: ${GNUPGHOME=$HOME/.gnupg}
## customize this entry if you have a binary diversion
GPGAGENT=/usr/bin/gpg-agent
@neagix
neagix / ubiquity-disable-grub.diff
Created Sep 7, 2014
Linux Mint / Ubuntu 14 install wizard (Ubiquity) patch for non-grub installs
View ubiquity-disable-grub.diff
--- plugininstall.py 2014-09-07 08:01:43.030820224 +0000
+++ plugininstall.py.orig 2014-09-07 08:00:47.790454123 +0000
@@ -1018,7 +1018,30 @@
try:
if arch in ('amd64', 'i386'):
- self.db.set('grub-installer/bootdev', 'skip')
+ from ubiquity.components import grubinstaller
+ while 1:
+ dbfilter = grubinstaller.GrubInstaller(None, self.db)
@neagix
neagix / uboot001.txt
Created Jun 14, 2014
attempts at booting 3.15.y
View uboot001.txt
U-Boot 2010.12-svn (Dec 21 2012 - 19:44:04) for Exynox4412
CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9]
APLL = 1000MHz, MPLL = 880MHz
DRAM: 2047 MiB
PMIC VERSION : 0x00, CHIP REV : 2
TrustZone Enabled BSP
BL1 version: 20121128
@neagix
neagix / make-kernel.sh
Last active Aug 29, 2015
Script used to compile kernels for U2
View make-kernel.sh
#!/bin/bash
## generate kernel image & modules + u-boot script
## @author neagix
#
set -e
if [ ! $# -eq 1 ]; then
echo "Please specify kernel directory" 1>&2
exit 1
@neagix
neagix / find-SD-vold-block.sh
Last active Aug 29, 2015
my scripts to manage Debian chroot environments on Android 4.2+
View find-SD-vold-block.sh
cd /dev/block/vold/
for D in `ls`; do fdisk -l $D | grep ^`echo $D | awk '{ print substr($1, 1, 3) }'`; done | grep '*' | awk '{ print substr($1, 1, length($1)-2) }' > /data/local/boot-device.txt
clear && echo -e "**********************\nThe individuated device of your external SD is: $PWD/`ls | grep -v $(</data/local/boot-device.txt )`\nPlease double check with output of fdisk -l before proceeding!!!\n**********************\n" && rm /data/local/boot-device.txt
@neagix
neagix / libretro-build-mupen64plus.log
Created Oct 5, 2013
errors when building on ARM cortex A9
View libretro-build-mupen64plus.log
$ ./libretro-build.sh build_libretro_mupen64
armv7l CPU detected
Script: ~/libretro-super/libretro-build.sh
CC = gcc
CXX = g++
STRIP =
Compiler: CC="gcc" CXX="g++"
=== ARM NEON opts enabled... ===
=== Cortex A9 opts enabled... ===
=== ARM hardfloat ABI enabled... ===
@neagix
neagix / openxcom
Last active Dec 22, 2015
small patch needed to compile OpenXCOM on ODROIDs
View openxcom
#!/bin/bash
## @author neagix
## automatic OpenXcom game directory association script
##
if [ $# -gt 0 ]; then
for DIR in GEODATA GEOGRAPH MAPS ROUTES SOUND TERRAIN UFOGRAPH UFOINTRO UNITS; do
FOUNDDIR=$(find ./ -maxdepth 1 -iname $DIR -type d)
@neagix
neagix / kernel.config
Last active Dec 21, 2015
kernel 3.8 config with FIMC support, plus patch on top of current github's odroid-linux-3.8-y
View kernel.config
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.8.13.7 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_NO_IOPORT=y
CONFIG_STACKTRACE_SUPPORT=y
@neagix
neagix / build-retroarch.sh
Created Jul 9, 2013
complete build script for RetroArch on ARM Linux ODROID devices
View build-retroarch.sh
#!/bin/bash
## build script for RetroArch on ARM Linux (ODROID)
## @author neagix
#
export CFLAGS='-marm -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard'
export CXXFLAGS='-marm -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard'
export ASFLAGS='-marm -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard'
CONFIGOPTS="--enable-alsa --disable-oss --disable-jack --disable-pulse --enable-xvideo --enable-fbo --enable-x11 "