Skip to content

Instantly share code, notes, and snippets.

View raspberry-wine.md
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 Dec 8, 2017
Markdown CSS
View style.css
body {
background: #fff;
}
h2 {
font-size: 10px;
}
View gist:2ce2b9975307e59d972a3d7b1ba32813
variables = [];
for (variable in window) {
if (typeof window[variable] === 'function') {
continue;
}
variables.push([variable, window[variable]]);
}
console.table(variables);
View evtest-8bitdo-fc30-mini-usb
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 Apr 30, 2016
8bitdo FC30 problem
View es_input.cfg
<!-- 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" />
View gist:f7913cdbc8042134c27c5cf3611e92ac
# 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
View gist:1159aca59bd889cc4b4893da4badc96a
## Description
## Multiline if you want
##
## Values:
## a: description
## b: description
property=a
View gist:2c5c87e72ed778eea957
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
View gist:e1319d76b9f672d7b664
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
View proc
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