Skip to content

Instantly share code, notes, and snippets.

View pinoceniccola's full-sized avatar

Pino Ceniccola pinoceniccola

View GitHub Profile
@pinoceniccola
pinoceniccola / zoom-defang.sh
Created February 2, 2022 11:23 — forked from yig/zoom-defang.sh
Defang the macOS Zoom Installer. Extracts a .app that can be dragged to /Applications.
#!/bin/sh
## Author: Yotam Gingold
## License: CC0 (public domain) https://creativecommons.org/share-your-work/public-domain/cc0/
## URL: https://gist.github.com/yig/af5bbb054bb9c4de39abc9156e6863e1/edit
## Download the latest Zoom installer.
echo "==> Downloading the latest Zoom installer."
cd ~/Downloads
curl -LO 'https://zoom.us/client/latest/Zoom.pkg'
@pinoceniccola
pinoceniccola / lazyload.js
Last active December 7, 2019 18:15
Minimal lazyload script with IE support
(function(){
var supportsPassive = false;
try {
var opts = Object.defineProperty({}, 'passive', {
get: function() {
supportsPassive = true;
}
});
window.addEventListener("testPassive", null, opts);
window.removeEventListener("testPassive", null, opts);
@pinoceniccola
pinoceniccola / Fun with Image-rendering.markdown
Last active January 7, 2016 12:50
Fun with Image-rendering