Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# GistID: 21910d755c6222cc3e89bce8071c9bd5
STATE_FILE="/tmp/price_prev"
price=$($1)
subject=$2
notify=${3:-'true'}
prev=""
#!/bin/sh
# dmenu scripts to search in firefox bookmark and paste it in the clipboard
# GistID: 97a58a00c5329e60f884be59595dd69f
# The bookmark folder to list
bookmark_folder=share
firefox_profile=~/.mozilla/firefox/$(sed '2!d;s/Default=//' ~/.mozilla/firefox/profiles.ini)
database=file:${firefox_profile}/places.sqlite?immutable=1
@tyjak
tyjak / regions-dom.geojson
Created April 25, 2025 07:39
Régions avec DOM
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
module https://gist.github.com/tyjak/fc9b3cfc6d616fdc5df1718729d44d0f
go 1.20
package bodyreplace
import (
"bytes"
"io"
"net/http"
"regexp"
)
type Config struct {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.