Skip to content

Instantly share code, notes, and snippets.

var calcul = function() {
var width = $(".ton-element").width();
console.log("Dimension: " + width);
};
$(".ton-element").resize(calcul);
calcul();
#!/bin/bash
currentDirectory=$(dirname "$PWD/$0")
cd $currentDirectory/roms/snes
$currentDirectory/scraper \
-output_file="$currentDirectory/emulationstation/gamelists/snes/gamelist.xml" \
-rom_path="/recalbox/share/roms/snes" \
-download_images=true \
<?xml version="1.0"?>
<inputList>
<inputConfig type="joystick" deviceName="GPIO Controller 1" deviceGUID="15000000010000000100000000010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="hotkey" type="button" id="6" value="1" />
<input name="pagedown" type="button" id="5" value="1" />
<input name="pageup" type="button" id="4" value="1" />
<input name="select" type="button" id="6" value="1" />
<input name="start" type="button" id="7" value="1" />
core_options_path = /recalbox/configs/retroarch/cores/retroarch-core-options.cfg
system_directory = /recalbox/share/bios/
config_save_on_exit = false
video_threaded = true
#aspect_ratio_index = "21"
video_aspect_ratio_auto = true
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
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
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
## Description
## Multiline if you want
##
## Values:
## a: description
## b: description
property=a
# 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
@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" />