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
var applyTextStroke = function (className, color, width) | |
{ | |
var r = width; | |
var n = Math.ceil(2*Math.PI*r); /* number of shadows */ | |
var str = ''; | |
for(var i = 0;i<n;i++) /* append shadows in n evenly distributed directions */ | |
{ | |
var theta = 2*Math.PI*i/n; | |
str += (r*Math.cos(theta))+"px "+(r*Math.sin(theta))+"px 0 "+color+(i==n-1?"":","); | |
} |
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 | |
from subprocess import Popen, PIPE, STDOUT | |
from dataclasses import dataclass | |
import time | |
import sys | |
import os | |
import re | |
from threading import Thread | |
from multiprocessing import Process |
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 | |
from subprocess import Popen, PIPE, STDOUT | |
from dataclasses import dataclass | |
import time | |
import sys | |
import os | |
import re | |
from threading import Thread | |
from multiprocessing import Process |
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
#!/bin/bash | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert) | |
# Source predefined functions and variables | |
. /etc/profile | |
# Place any scripts you need to run at boot on this file |
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 | |
from subprocess import Popen, PIPE, check_output | |
from dataclasses import dataclass | |
import time | |
import sys | |
import os | |
import re | |
DEBUG = False |
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 | |
from subprocess import Popen, PIPE | |
from dataclasses import dataclass | |
import time | |
import sys | |
DEBUG = False | |
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
> bluetoothctl power on | |
Changing power on succeeded | |
> bluetoothctl agent on | |
> bluetoothctl discoverable on | |
Changing discoverable on succeeded | |
> bluetoothctl pairable on | |
Changing pairable on succeeded |
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 | |
from subprocess import Popen, PIPE | |
from dataclasses import dataclass | |
import time | |
DEBUG = True | |
@dataclass |