This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert) | |
# Copyright (C) 2022-present Joshua L (https://github.com/Langerz82) | |
# Read the video output mode and set it for emuelec to avoid video flicking. | |
# This file sets the hdmi output and frame buffer to the argument in pixel width. | |
# Allowed argument example ./setres.sh 1080p60hz <-- For height 1080 pixels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _ = require('underscore'); | |
var Types = require('../shared/js/gametypes'); | |
(function () { | |
FormatChecker = Class.extend({ | |
init: function () { | |
this.formats = {}; | |
this.usernameMax = 16; | |
this.playerMax = 16; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -r source | |
mkdir -p ./source | |
for i in `find -type d -maxdepth 1 -mindepth 1`; do | |
DIRNAME="${i:2}" | |
DIRNAME="${DIRNAME%/}" | |
SITE=$(cat ./${DIRNAME}/package.mk | grep PKG_SITE= | cut -d'"' -f2) | |
[[ -z "${SITE}" ]] && continue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RA_CFG=/storage/.config/retroarch/retroarch.cfg | |
set_midi_source() | |
{ | |
local midi_source=$1 | |
pkill -9 timidity | |
pkill -9 mt32d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python -u | |
################################################################################ | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
# Copyright (C) 2023-present ebeem (https://github.com/ebeem) | |
# Modifications made by: | |
# Langerz82 (https://github.com/Langerz82) | |
# wang80919 (https://github.com/wang80919) | |
# Testing done by: | |
# junm6802030 (https://github.com/junm6802030) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import signal | |
from bluetool.agent import Client, AgentSvr | |
class MyClient(Client): | |
def request_pin_code(self, dev_info): | |
print(dev_info) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python -u | |
################################################################################ | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
# Copyright (C) 2023-present ebeem (https://github.com/ebeem) | |
# Modifications made by: | |
# Langerz82 (https://github.com/Langerz82) | |
# wang80919 (https://github.com/wang80919) | |
# Testing done by: | |
# junm6802030 (https://github.com/junm6802030) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import time | |
from bluetool import Bluetooth | |
if __name__ == "__main__": | |
bt = Bluetooth() | |
print('Scanning for available devices for 60 seconds, please wait...') | |
bt.make_discoverable(); | |
bt.start_scanning(60) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
< <system> | |
<name>Python Scripts</name> | |
<fullname>Python Scripts</fullname> | |
<manufacturer></manufacturer> | |
<release></release> | |
<hardware></hardware> | |
<path>/emuelec/scripts</path> | |
<extension>.py .PY</extension> | |
<command>/usr/bin/python %ROM%</command> | |
<platform>python</platform> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system> | |
<name>SH Scripts</name> | |
<fullname>SH Scripts</fullname> | |
<manufacturer></manufacturer> | |
<release></release> | |
<hardware></hardware> | |
<path>/emuelec/scripts</path> | |
<extension>.sh .SH</extension> | |
<command>%ROM%</command> | |
<platform>scripts</platform> |
NewerOlder