Skip to content

Instantly share code, notes, and snippets.

View abaqueiro's full-sized avatar

Alfonso Baqueiro Bernal abaqueiro

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
body {
background-color: black;
color: lightgreen;
@abaqueiro
abaqueiro / git-hooks.md
Created November 20, 2020 23:53
Git Hooks

git-hooks

Some git hooks scripts that can be useful

@abaqueiro
abaqueiro / crypto_page.js
Created May 11, 2024 02:09
research-mdm-tmx
((sjcl.beware && sjcl.beware["CBC mode is dangerous because it doesn't protect message integrity."]) ||
function(){})();
var crypto_page = (function() {
var base64url_escape = function(b64) {
var out = "";
for(i = 0; i < b64.length; i++) {
var c = b64.charAt(i);
if (c == '+') {