Skip to content

Instantly share code, notes, and snippets.

Juan Carlos Corona Romero jccr

Block or report user

Report or block jccr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jccr / bcct.html
Created Jul 7, 2017
Basic Columnized Content Test
View bcct.html
<!DOCTYPE html>
<html lang="en">
<title>Chapter 1 - Loomings</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
html {
overflow: hidden;
margin: 0 !important;
jccr / topWindowScript.js
Last active Nov 21, 2017
Readium location linking for a Readium reader embedded in an iframe
View topWindowScript.js
// Needs URLSearchParams polyfilled for IE
// The most referenced one is this:
(function () {
// Selector for the iframe element embedding Readium
var readiumIframe = document.querySelector('iframe');
// It's a good idea to focus on the Readium frame.
// This bring it in keyboard focus right away.
jccr /
Created Aug 26, 2018 — forked from ruario/
How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library

How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library


The following is a quick guide to get this working on various Linux distros. As a side note, if you have Chrome installed alongside Vivaldi, Netflix should also work after making these changes. Alternatively, use my to fetch and extract Chrome's copy of Widevine, so that it can be used by Vivaldi.

If you don't have working Flash video and need that in addition, please refer to these instructions.

Note: This guide is primarily aimed at users of Vivaldi stable releases. If it does not solve your issues, read this in addition.

jccr /
Created Aug 26, 2018 — forked from ruario/
Fetches the latest Linux Widevine binary so that it can be used by Vivaldi.
#!/usr/bin/env bash
available () {
command -v $1 >/dev/null 2>&1
# Make sure we have wget or curl
if available wget; then
SILENT_DL="wget -qO-"
View anno-url-test.json
"@context": "",
"id": "",
"type": "Annotation",
"motivation": "commenting",
"creator": {
"id": "",
"type": "Person",
"name": "A. Person",
"nickname": "user1"
jccr / media-query.css
Created Jun 6, 2019 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
##Device = Desktops
##Screen = 1281px to higher resolution desktops
@media (min-width: 1281px) {
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="main.css" rel="stylesheet">
View Getting ready to

Getting ready to Go

A slightly opinionated guide by Juan Corona

A tour of Go

Quick and fun sampling of the language here:

View 0001-archive-zip-experimental-append-feature.patch
From 5975979e6d48dca82ec87835fb3d818273d8dfce Mon Sep 17 00:00:00 2001
From: Juan Carlos Corona Romero <>
Date: Mon, 16 Mar 2020 00:22:59 -0700
Subject: [PATCH] archive/zip: experimental append feature
reader.go | 18 ++++++++++
writer.go | 87 +++++++++++++++++++++++++++++++++++++++++++----
writer_test.go | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 191 insertions(+), 6 deletions(-)
You can’t perform that action at this time.