Skip to content

Instantly share code, notes, and snippets.

View Piarre's full-sized avatar
🏠
Working from home

Kepa Piarre

🏠
Working from home
View GitHub Profile
@Piarre
Piarre / mac-setup.sh
Last active April 9, 2025 12:28
 Mac dev setup with tools, apps and custom dock settings 🚀
echo "Setting up Mac environment..."
install_app() {
local app_name=$1
local method=$2
local is_cask=$3
local cask_name=$4
local link=$5
echo "🚧 Checking for $app_name..."
@Piarre
Piarre / Arc_icons.sh
Last active September 24, 2024 05:43
Way to unlock all Arc icons for free (MacOS).
defaults write company.thebrowser.Browser currentAppIconName -string schoolbook
defaults write company.thebrowser.Browser currentAppIconName -string colorful
defaults write company.thebrowser.Browser currentAppIconName -string neon
defaults write company.thebrowser.Browser currentAppIconName -string flutedGlass
defaults write company.thebrowser.Browser currentAppIconName -string hologram
# START | KEPA'S SCRIPTS
abort() {
gum style "Aborting..." --foreground=9 --padding="1 1" --margin="1 2" --width="20" --align="center" --border="rounded" --border-foreground=9 --bold
}
HEADER_NAME="Kepa's script"
alias k1="cd && cd ../../Volumes/KeppaDrive01/"
alias k2="cd && cd ../../Volumes/KeppaDrive02/"
#!/bin/bash
getSystem () {
if [ -f /etc/os-release ]; then
source /etc/os-release
echo "$NAME;$VERSION_ID"
elif [ -n "$(command -v ver)" ]; then
ver
elif [ -n "$(command -v systeminfo)" ]; then
systeminfo | grep "OS Version"
title
License

MIT License

Permissions Limitations Conditions
✅ Commercial use ❌ Liability ℹ️ License and copyright notice
✅ Modification ❌ Warranty
# https://learn.microsoft.com/fr-fr/windows-server/administration/openssh/openssh_install_firstuse
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
@Piarre
Piarre / ItemStack.java
Created October 21, 2023 07:16
ItemStack Class for Minecraft Bukkit
package fr.piarre.myPlugin.Utils;
import org.bukkit.Color;
import org.bukkit.DyeColor;
import org.bukkit.Material;
import org.bukkit.OfflinePlayer;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
@Piarre
Piarre / explorer.bat
Created September 10, 2023 09:43
Restart windows explorer
@echo off
taskkill /F /IM explorer.exe
explorer.exe

[TITLE]

[DESCRIPTION]

⬇️ Installation

apt-get install nmap
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,