Skip to content

Instantly share code, notes, and snippets.

View tenox7's full-sized avatar

Antoni Sawicki tenox7

View GitHub Profile
@tenox7
tenox7 / getsignaldeb.sh
Last active November 17, 2020 04:21
overcomplicated method of downloading .deb for signal-desktop
#!/bin/bash -xe
# overcomplicated method of downloading .deb for signal-desktop
docker rmi -f getsignal
cat <<EOF | docker build -t getsignal -f- .
FROM ubuntu
RUN apt update
RUN apt install -y wget sudo gnupg
RUN wget -O- https://updates.signal.org/desktop/apt/keys.asc | apt-key add -
RUN echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" >> /etc/apt/sources.list.d/signal-xenial.list
RUN apt update
@tenox7
tenox7 / wrp.go
Last active May 5, 2024 07:05
WRP Go Prototype
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"strconv"
"strings"