Skip to content

Instantly share code, notes, and snippets.

View 4x8Matrix's full-sized avatar
👋
Hello! Hope your day is going well :)

AsynchronousMatrix 4x8Matrix

👋
Hello! Hope your day is going well :)
View GitHub Profile
This file has been truncated, but you can view the full file.
{
"Classes": {
"Accessory": {
"Members": {
"AccessoryType": {
"Category": "Data",
"MemberType": "Property",
"Name": "AccessoryType",
"Security": {
"Read": "None",
{
"Content": {
"Accessory": {
"x": 0,
"y": 0,
"w": 48,
"h": 48
},
"Actor": {
"x": 48,
@4x8Matrix
4x8Matrix / Example.luau
Created February 3, 2025 15:22
HapticFeedback.luau
--[[
Responsible for vibrating the current mobile device for a given amount of time.
]]
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local HttpService = game:GetService("HttpService")
local enableVibration = require(ReplicatedStorage.Shared.Utilities.enableVibration)
local disableVibration = require(ReplicatedStorage.Shared.Utilities.disableVibration)
@4x8Matrix
4x8Matrix / bash-prompt.sh
Last active June 19, 2024 12:46
bash-prompt
function _setprompt {
local NOCOLOR="\[\033[0m\]"
local INFO_COLOR='\[\033[1;34m\]'
local PROMPT_COLOR='\[\033[1;32m\]'
function _parse_git_branch() {
if [ -n "$(git rev-parse --git-dir 2> /dev/null)" ]; then
if [ "$(git rev-list --count --all)" != "0" ]; then
echo -e "-[${INFO_COLOR}$(git rev-parse --abbrev-ref HEAD)${PROMPT_COLOR}]"
else
@4x8Matrix
4x8Matrix / .bashrc
Last active June 19, 2024 12:45
My saved BASH confliguration
#!/bin/bash
[[ $- != *i* ]] && return
xhost +local:root > /dev/null 2>&1
export EDITOR=nano
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'