Skip to content

Instantly share code, notes, and snippets.

View hypevhs's full-sized avatar

hypevhs

View GitHub Profile
@rjhansen
rjhansen / keyservers.md
Last active October 26, 2024 22:16
SKS Keyserver Network Under Attack

SKS Keyserver Network Under Attack

This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.

Terminological Note

"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.

Who am I?

@tommy-mor
tommy-mor / video.py
Last active July 23, 2024 14:43
not good code stay away
from moviepy.editor import *
import numpy as np
clip = VideoFileClip("hams.mkv")
import sounddevice as sd
import soundfile as sf
from queue import Queue
from collections import OrderedDict
import pprint
pp = pprint.PrettyPrinter(indent=4)
print('started')
@vrodic
vrodic / gist:b26babf628a15df6fea3
Created March 1, 2015 19:17
Build 32bit Mesa on 64bit host (for 32bit game clients)
export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig
CFLAGS="-m32" CXXFLAGS="-m32" ./autogen.sh --prefix=/usr --libdir=/usr/lib32
#apt-get install libdrm-dev:i386
#apt-get install libgles2-mesa-dev:i386 libglu1-mesa-dev:i386 mesa-common-dev:i386 libegl1-mesa-dev:i386 libgl1-mesa-dev:i386
#apt-get install libfontconfig1-dev:i386 libfreetype6-dev:i386
#apt-get install libnl-dev libudev-dev:i386 libxml2-dev:i386 libxslt1-dev:i386
#apt-get install libegl1-mesa-dev:i386 libfontconfig1-dev:i386 libfreetype6-dev:i386 libgl1-mesa-dev:i386 libgles2-mesa-dev:i386 libglu1-mesa-dev:i386 libxcomposite-dev:i386 libxdamage-dev:i386 libxi-dev:i386 libxrandr-dev:i386 libxtst-dev:i386
#make clean
export CFLAGS="-m32 -O3 -mtune=native -march=native -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security"
@davidnunez
davidnunez / gist:1404789
Created November 29, 2011 13:20
list all installed packages in android adb shell
pm list packages -f