Skip to content

Instantly share code, notes, and snippets.

@bglopez
bglopez / nb_to_mvn.pl
Created May 29, 2023 21:36 — forked from abbaspour/nb_to_mvn.pl
Convert a NetBeans project to Maven
#!/usr/bin/perl
# generates Maven pom.xml based on nbproject
# d640492
use strict;
use warnings;
use File::Basename;
@bglopez
bglopez / convert.sh
Last active May 30, 2023 03:43 — forked from Lili1228/convert.sh
Convert Manjaro to Arch
#!/bin/bash
# https://www.gnu.org/licenses/old-licenses/gpl-2.0.html, who cares
#
# Tested on freshly installed Manjaro 22.0.5 Gnome.
pamac build trizen
cat >/tmp/convert.sh <<EOF
pacman -Qq | grep pamac | xargs pacman -Rs --noconfirm pamac-gtk web-installer-url-handler manjaro-hello libpamac pamac-cli libpamac-flatpak-plugin manjaro-application-utility
pacman -Rdd manjaro-release bashrc-manjaro manjaro-keyring
pacman -U https://www.archlinux.org/packages/core/x86_64/pacman/download/ https://www.archlinux.org/packages/core/any/pacman-mirrorlist/download/ https://www.archlinux.org/packages/community/any/lsb-release/download/
mv /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist
@bglopez
bglopez / settings.jsonc
Created March 6, 2024 02:41 — forked from hyperupcall/settings.jsonc
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{