Skip to content

Instantly share code, notes, and snippets.

View antoniohof's full-sized avatar
🍄

Antonio Hofmeister Ribeiro antoniohof

🍄
View GitHub Profile
@larsyencken
larsyencken / sound_delay.py
Last active December 10, 2020 11:13
PyAudio: record sound and play it back after a delay
#
# sound_delay.py
#
"""
Record sound and play it back after a delay.
"""
import multiprocessing as mp
import time
@kennyhyun
kennyhyun / index.js
Created September 6, 2016 02:04
Lamda function to convert pdf to png and generate thumbnails for images.
// dependencies
var async = require('async');
var AWS = require('aws-sdk');
// Enable ImageMagick integration.
var gm = require('gm').subClass({ imageMagick: true });
var util = require('util');
var pdf2png = require('pdf2png');
pdf2png.ghostscriptPath = "/usr/bin";
// constants
@dmnsgn
dmnsgn / WebGL-WebGPU-frameworks-libraries.md
Last active August 8, 2025 14:12
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries ⚙️

Name Stars Last Commit Description
three.js ![GitHub
# Code adapted from Tensorflow Object Detection Framework
# https://github.com/tensorflow/models/blob/master/research/object_detection/object_detection_tutorial.ipynb
# Tensorflow Object Detection Detector
import numpy as np
import tensorflow as tf
import cv2
import time
@nicolaskopp
nicolaskopp / ios-fixed-scrolling-fix.css
Last active July 24, 2025 08:59
Fix scrolling bug on iOS Safari with fixed elements and bottom bar
/* Fix scrolling bug on iOS Safari with fixed elements and bottom bar */
body.noscroll {
height: 100%;
overflow: hidden; /* make sure iOS does not try to scroll the body first */
}
/* your wrapper, most likely mobile menu */
.fixed-wrapper {
width: 100%;