Skip to content

Instantly share code, notes, and snippets.

View paradoja's full-sized avatar

Abby Henríquez Tejera paradoja

View GitHub Profile

Moved to repo: /quenhus/uBlock-Origin-dev-filter

In order to keep filters up to date, please use this repo.

@domenkozar
domenkozar / gist:c1da433406807255f9aa835d72976470
Created August 5, 2021 12:22
Thinkpad P14s NixOS installation
wpa_supplicant -B -i interface -c <(wpa_passphrase 'SSID' 'key').
ping 1.1.1.1
parted /dev/nvme0n1 -- mklabel gpt
parted /dev/nvme0n1 -- mkpart primary 512MiB -0
parted /dev/nvme0n1 -- mkpart ESP fat32 1MiB 512MiB
parted /dev/nvme0n1 -- set 2 esp on
cryptsetup luksFormat /dev/nvme0n1p1
@nomeata
nomeata / Tree.hs
Created July 31, 2020 08:54
Many faces of isOrderedTree – code to the talk (extended version)
-- Many faces of isOrderedTree
-- Code to the talk (extended version)
{-# LANGUAGE DeriveFoldable #-}
module Tree where
import Control.Monad
import Data.Maybe
import Data.Foldable
@m4lvin
m4lvin / stack-install-agda-plus-stdlib.sh
Created June 20, 2019 09:20
How to install Agda 2.5.4.2 from stackage with stack instead of cabal
# install Agda 2.5.4.2 from stackage with stack instead of cabal
cd $HOME
stack install --resolver lts-12.26 Agda
# install standard library v0.17
cd $HOME/gits
git clone
git clone https://github.com/agda/agda-stdlib.git
cd agda-stdlib
git checkout v0.17
@shortjared
shortjared / list.txt
Last active November 15, 2024 11:42
List of AWS Service Principals
a4b.amazonaws.com
access-analyzer.amazonaws.com
account.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
airflow-env.amazonaws.com
airflow.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com
@kishiamy
kishiamy / gc_tips.md
Last active October 18, 2020 09:37
Tips for Gran Canaria

To eat

@pecigonzalo
pecigonzalo / delete_all_object_versions.sh
Last active July 25, 2022 21:12 — forked from weavenet/delete_all_object_versions.sh
Delete all versions (except latest) of all files in s3 versioned bucket using AWS CLI and jq.
#!/bin/bash
bucket=$1
set -e
echo "Removing all versions from $bucket"
versions=`aws s3api list-object-versions --bucket $bucket |jq '.Versions | .[] | select(.IsLatest | not)'`
markers=`aws s3api list-object-versions --bucket $bucket |jq '.DeleteMarkers'`
@pecigonzalo
pecigonzalo / mbox2gg.py
Last active August 25, 2024 17:06 — forked from jacksonj04/mbox2gg.pl
mbox to Google Groups
#! /usr/bin/env python
# Import a mbox file to a Google Group using https://developers.google.com/admin-sdk/groups-migration/index
# You'll need to install https://developers.google.com/api-client-library/python/
# and enable Groups Migration API, read prerequisits of the API SDK
from __future__ import print_function
import mailbox
import StringIO
@groteck
groteck / Facebook.elm
Last active November 2, 2018 22:10
elm facebook integration test
port module Facebook exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import String
import Debug
main =
@pecigonzalo
pecigonzalo / docker-swarm-cluster.sh
Last active June 24, 2019 12:04
Docker swarm creation script
#!/bin/bash
MANAGER=${1:-2}
WORKER=${2:-3}
#=========================
# Creating cluster members
#=========================
echo "### Creating $MANAGER managers"
echo "### Creating $WORKER workers"