Skip to content

Instantly share code, notes, and snippets.

View alvarmaciel's full-sized avatar
💭
I may be slow to respond.

Alvar Maciel alvarmaciel

💭
I may be slow to respond.
View GitHub Profile
@mgaitan
mgaitan / mercadolibre-precios-de-mis-compras.user.js
Last active January 8, 2024 14:07
UserScript Mercado Libre comparar precios de mis compras
// ==UserScript==
// @name MercadoLibre: Comparar precios de mis compras
// @namespace mercadolibre-precios-de-mis-compras
// @version 1.5.1
// @description In the MercadoLibre purchases list, display the price when the product was purchased and the current price.
// @author Martín Gaítan and ChatGPT
// @match https://myaccount.mercadolibre.com.ar/my_purchases/list*
// @grant GM_xmlhttpRequest
// @connect mercadolibre.com.ar
// @connect mercadoshops.com.ar
@kylewlacy
kylewlacy / nixos-install.log
Created March 10, 2018 07:30
Fix for error during NixOS UEFI installation: "Failed to create EFI Boot variable entry: No such file or directory"
# Tested with nixos-minimal-18.03pre130932.cc4677c36ee-x86_64-linux.iso
# Manually mounted /mnt (NixOS root), /mnt/boot (mkfs.ext4 Grub partition), /mnt/boot/efi (mkfs.vfat for EFI boot vars)
[root@nixos:~]# cat /mnt/etc/nixos/hardware-configuration.nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{
@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active March 8, 2024 02:11
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh