Skip to content

Instantly share code, notes, and snippets.

apt-get install qemu qemu-user qemu-user-static binfmt-support debootstrap binutils
sudo debootstrap --foreign --arch i386 stretch  ./chroot-stretch-i386/ http://deb.debian.org/debian/
mount -t sysfs /sys ./chroot-stretch-i386/sys/
mount -t proc /proc ./chroot-stretch-i386/proc/
mount –-bind /dev ./chroot-stretch-i386/dev/
mount –-bind /dev/pts ./chroot-stretch-i386/dev/pts/
@neolao
neolao / style.css
Last active December 8, 2017 09:31
Markdown CSS
body {
background: #fff;
}
h2 {
font-size: 10px;
}
variables = [];
for (variable in window) {
if (typeof window[variable] === 'function') {
continue;
}
variables.push([variable, window[variable]]);
}
console.table(variables);
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x1235 product 0xab11 version 0x110
Input device name: "FC30 FC30 Joystick"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 288 (BTN_TRIGGER)
Event code 289 (BTN_THUMB)
Event code 290 (BTN_THUMB2)
Event code 291 (BTN_TOP)
@neolao
neolao / es_input.cfg
Last active April 30, 2016 09:27
8bitdo FC30 problem
<!-- 8bitdo FC30 micro USB -->
<inputConfig type="joystick" deviceName="FC30 FC30 Joystick" deviceGUID="030000003512000011ab000010010000">
<input name="a" type="button" id="0" value="1" code="288" />
<input name="b" type="button" id="1" value="1" code="289" />
<input name="down" type="axis" id="1" value="1" code="1" />
<input name="hotkey" type="button" id="10" value="1" code="298" />
<input name="left" type="axis" id="0" value="-1" code="0" />
<input name="pagedown" type="button" id="7" value="1" code="295" />
<input name="pageup" type="button" id="6" value="1" code="294" />
<input name="right" type="axis" id="0" value="1" code="0" />
# System Variable
# You can configure your recalbox from here
# To set a variable, remove the first ; on the line
# ------------ A - System Options ----------- #
## Available powerboards
# Values:
# ATX_RASPI_R2_6: http://lowpowerlab.com/atxraspi/#installation
## Description
## Multiline if you want
##
## Values:
## a: description
## b: description
property=a
pi@workstation-rpi3:~|⇒ modinfo btbcm
filename: /lib/modules/4.4.4-v7+/kernel/drivers/bluetooth/btbcm.ko
license: GPL
version: 0.1
description: Bluetooth support for Broadcom devices ver 0.1
author: Marcel Holtmann <marcel@holtmann.org>
srcversion: 7D407A503FFEAA8C872B3E9
depends: bluetooth
intree: Y
vermagic: 4.4.4-v7+ SMP mod_unload modversions ARMv7
Module Size Used by
bnep 10340 2
hci_uart 16654 1
btbcm 5929 1 hci_uart
bluetooth 326041 22 bnep,btbcm,hci_uart
brcmfmac 186362 0
brcmutil 5661 1 brcmfmac
cfg80211 419102 1 brcmfmac
rfkill 16037 4 cfg80211,bluetooth
snd_bcm2835 24948 0
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5