Skip to content

Instantly share code, notes, and snippets.

View phoshp's full-sized avatar
🌴
v

emre phoshp

🌴
v
View GitHub Profile
@Kas-tle
Kas-tle / converter.sh
Last active December 3, 2023 11:04
Java to Bedrock 3D Model Converter
#!/usr/bin/env bash
: ${1?'Please specify an input resource pack in the same directory as the script (e.g. ./converter.sh MyResourcePack.zip)'}
# ensure input pack exists
if ! test -f "${1}"; then
echo "Input resource pack ${1} is not in this directory"
echo "Please ensure you have entered the filename correctly"
exit 1
else
printf "\e[33m[•]\e[m \e[37mInput file ${1} detected\e[m\n"
@phoshp
phoshp / codeline.php
Last active November 27, 2020 21:28
A basic php script for lazy devs to know how much line they have coded
<?php
$dirs = [
// ADD YOUR DIRS
];
$targetExtensions = [
// EXAMPLE
"php" => true,
"css" => true