Skip to content

Instantly share code, notes, and snippets.

View mirsella's full-sized avatar
🦀

Lucas mirsella

🦀
  • 42
  • FR
  • 05:20 (UTC +01:00)
View GitHub Profile
ex ()
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
@mirsella
mirsella / turboselfbotblacklist
Last active May 25, 2022 12:02
turboself ignore range
27/05/22+0
@mirsella
mirsella / post-archinstall.zsh
Last active October 29, 2024 14:58
my arch post install script
#!/bin/bash
export pkg='ntfs-3g pacman-contrib spectacle man man-pages youtube-music-bin yt-dlp inxi rclone unzip zip fuse2 tealdeer keepassxc wl-clipboard kdeconnect yakuake zen-browser-avx2-bin inetutils timeshift timeshift-autosnap ttf-jetbrains-mono-nerd fwupd fwupd-efi sbctl aspell aspell-en aspell-fr wine bottles viu chromium imagemagick'
export pkg_dev='cmake python-pip nodejs npm pnpm github-cli jq nodejs-neovim python-pynvim vimv kwalletcli-bin chaotic-aur/wezterm-git lazygit docker docker-compose'
export pkg_dotfiles='zsh neovim fzf starship oh-my-posh trash-d bat fd ripgrep lsd chezmoi dust zoxide lazygit darkman'
export pkg_android='android-google-apis-playstore-x86-system-image android-apktool android-emulator android-platform android-sdk android-sdk-build-tools android-sdk-cmake android-sdk-cmdline-tools-latest android-sdk-platform-tools android-tools android-udev'
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
@mirsella
mirsella / script.js
Last active November 24, 2023 09:27
42 auto reload slots
// ==UserScript==
// @name auto reload
// @namespace Violentmonkey Scripts
// @match https://projects.intra.42.fr/projects/*/slots
// @grant none
// @version 1.0
// @author mirsella
// @description 4/17/2023, 4:07:14 PM
// ==/UserScript==