Skip to content

Instantly share code, notes, and snippets.

View gamersindo1223's full-sized avatar
:bowtie:
I am probably sleeping.

r.go gamersindo1223

:bowtie:
I am probably sleeping.
  • r.go
  • Indonesia
  • 18:01 (UTC +07:00)
View GitHub Profile
@SoursopID
SoursopID / call-test.md
Last active September 8, 2024 02:44
whatsmeow call tests

Below is Go code for creating a proto node for calling, unfortunately, it didn't work yet.

  	var encKey = make([]byte, 32)
	rand.Read(encKey)

	var msg = &proto.Message{
		Call: &proto.Call{
			CallKey: encKey,
		},
@Davr1
Davr1 / gamma_trick.bat
Last active November 12, 2023 18:42 — forked from marcan/gamma_trick.sh
Two images in one using the PNG gamma header trick.
@echo off
rem PNG Gamma trick (by @marcan42 / [email protected])
rem
rem This script implements an improved version of the gamma trick used to make
rem thumbnail images on reddit/4chan look different from the full-size image.
rem
rem Sample output (SFW; images by @Miluda):
rem https://mrcn.st/t/homura_gamma_trick.png
rem https://www.reddit.com/r/test/comments/6edthw/ (click for fullsize)
rem https://twitter.com/marcan42/status/869855956842143744
@marcan
marcan / gamma_trick.sh
Last active January 30, 2025 05:29
Two images in one using the PNG gamma header trick.
#!/bin/sh
# PNG Gamma trick (by @marcan42 / [email protected])
#
# This script implements an improved version of the gamma trick used to make
# thumbnail images on reddit/4chan look different from the full-size image.
#
# Sample output (SFW; images by @Miluda):
# https://mrcn.st/t/homura_gamma_trick.png
# https://www.reddit.com/r/test/comments/6edthw/ (click for fullsize)
# https://twitter.com/marcan42/status/869855956842143744