Skip to content

Instantly share code, notes, and snippets.

Jubjub / validator.js
Created March 22, 2022 13:16 validator/crack
View validator.js
// use with
const { fetch: originalFetch } = window;
// {"success":true}
//{licensekey}/ {"result": "valid"}}
window.fetch = async (...args) => {
let [resource, config ] = args;
const response = await originalFetch(resource, config);
if (resource.includes("")) {
Jubjub /
Last active February 2, 2021 14:10
A script to synchronize a movie and a commentary with auto ducking. Uses only ffmpeg.
if [ $# -eq 0 ]
echo "usage: ./ movie commentary subtitle"
ffmpeg -i "$1" -vn -acodec copy audio.aac
ffmpeg -i audio.aac -i "$2" -filter_complex "[1:a]asplit=2[sc][mix];[0:a][sc]sidechaincompress=threshold=0.1:ratio=3[bg]; [bg][mix]amerge[final]" -map [final] final.aac
ffmpeg -i "$1" -i final.aac -i "$3" -c copy -map 0:v:0 -map 1:a:0 -map 2:s:0 synchronized.mkv
rm audio.aac
View gist:a4f1b30e87998db5d9c496922e203bff
headerbar.default-decoration {
padding-top: 0px;
padding-bottom: 0px;
min-height: 0px;
font-size: 0.6em;
headerbar.default-decoration button.titlebutton {
padding: 0px;
min-height: 0px;
Jubjub / gist:cbdce9a79af8c20f24ea53c644855c5e
Created September 25, 2016 12:39
Installing CUDA + Blender on a gp2 AWS EC2 instance.
View gist:cbdce9a79af8c20f24ea53c644855c5e
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y linux-image-extra-`uname -r` linux-headers-`uname -r` linux-image-`uname -r`
sudo apt-get install -y cuda
sudo apt-get install -y blender
Jubjub /
Last active September 25, 2016 12:54
Blender script for EC2 GPU rendering.
import bpy
bpy.context.user_preferences.system.compute_device_type = 'CUDA'
for scene in
scene.render.resolution_x = 1920
scene.render.resolution_y = 1080
scene.render.image_settings.file_format = 'PNG'
scene.render.resolution_percentage = 100
scene.render.tile_x = 1024
View .vimrc
set nocompatible
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
"Plugin 'Valloric/YouCompleteMe'
Plugin 'davidhalter/jedi-vim'
Plugin 'scrooloose/syntastic'