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
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 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 controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
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 anno-url-test.json
"@context": "",
"id": "",
"type": "Annotation",
"motivation": "commenting",
"creator": {
"id": "",
"type": "Person",
"name": "A. Person",
"nickname": "user1"
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-"
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 / 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 / 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;
You can’t perform that action at this time.