Skip to content

Instantly share code, notes, and snippets.

View guest271314's full-sized avatar
💭
Fix WontFix

guest271314

💭
Fix WontFix
View GitHub Profile
@guest271314
guest271314 / unzip.js
Last active November 5, 2023 15:24 — forked from gildas-lormeau/unzip
Basic unzip implementation based on zip.js and Deno (Fetch and unzip Chrome-For-Testing Canary Channel)
// Fetch and unzip Chrome-For-Testing Canary Channel
// deno run -A unzip.js
/* eslint-disable no-console */
/* global Deno, Intl */
"use strict";
// import { parse } from "https://deno.land/std/flags/mod.ts";
import { exists } from "https://deno.land/std/fs/mod.ts";
import { basename, dirname } from "https://deno.land/std/path/mod.ts";
@guest271314
guest271314 / opus-tools_static_build.sh
Last active November 6, 2022 16:35 — forked from spvkgn/opus-tools_static_build.sh
Script to build a statically linked opus-tools from github
#!/bin/sh
# ==============================================================
# Script to build a statically linked version of opus-tools
# https://gist.github.com/spvkgn/60c12010d4cae1243dfee45b0821f692
#
# https://github.com/xiph/ogg.git
# https://github.com/xiph/opus.git
# https://github.com/xiph/opusfile.git
# https://github.com/xiph/opus-tools.git
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],