Skip to content

Instantly share code, notes, and snippets.

View cblanquera's full-sized avatar
🌪️
Breaking Things.

Christian Blanquera cblanquera

🌪️
Breaking Things.
View GitHub Profile
@cblanquera
cblanquera / Know-Thy-Self-Specs.md
Last active March 20, 2024 06:14
Know Thy Self Specifications: A Web3 Proposal

Know Thy Self (KTS)

The following specification describes a way to verify real people digitally in a pure decentralized way. It's important to know that this is not an idea of a blockchain or company idea more than a practical approach to *Self-Sovereign Identities using basic cryptography.

1. Decentralized Identities

A decentralized identity is an approach to identify and authenticate

@cblanquera
cblanquera / Harlemify.js
Created February 10, 2022 17:37
Harlemify
javascript:(function(){function c(){var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");e.setAttribute("href",f);e.setAttribute("class",l);document.body.appendChild(e)}function h(){var e=document.getElementsByClassName(l);for(var t=0;t<e.length;t++){document.body.removeChild(e[t])}}function p(){var e=document.createElement("div");e.setAttribute("class",a);document.body.appendChild(e);setTimeout(function(){document.body.removeChild(e)},100)}function d(e){return{height:e.offsetHeight,width:e.offsetWidth}}function v(i){var s=d(i);return s.height>e&&s.height<n&&s.width>t&&s.width<r}function m(e){var t=e;var n=0;while(!!t){n+=t.offsetTop;t=t.offsetParent}return n}function g(){var e=document.documentElement;if(!!window.innerWidth){return window.innerHeight}else if(e&&!isNaN(e.clientHeight)){return e.clientHeight}return 0}function y(){if(window.pageYOffset){return window.pageYOffset}return Math.max(document.documentElement.scrollTop,document.body.scrollTop)}funct
@cblanquera
cblanquera / skills-1.json
Created August 17, 2020 08:06
Workforce Skills
[
{
"name": "a certified it technician",
"related_1": "n certified",
"related_2": "network certified",
"related_3": "comptia network certified",
"related_4": "comptia a certification",
"related_5": "a certified professional",
"related_6": "mcdst",
"related_7": "windows 7",
@cblanquera
cblanquera / certs.json
Last active December 28, 2023 09:56
List of academic degrees and certs
[
{
"degree_title": "American Association for Respiratory Care Fellow",
"degree_reference": "AARCF",
"degree_level": "certification"
},
{
"degree_title": "American Registry for Radiologic Technologists",
"degree_reference": "AART",
"degree_level": "certification"
@cblanquera
cblanquera / inline-mjs-modules.html
Created August 4, 2020 12:33
Example polyfill that implements inline js modules
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
</head>
<body>
<script type="mjs" src="./utils">
let n = 1;
@cblanquera
cblanquera / bar.mjs
Created September 10, 2019 07:55
ES6 + Node import always ran first
console.log('bar')
@cblanquera
cblanquera / css-properties.json
Last active May 2, 2024 12:30
CSS properties via JSON
{
"align-content": {
"moz": false,
"webkit": true,
"syntax": "(stretch)|(center)|(flex-start)|(flex-end)|(space-between)|(space-around)|(initial)|(inherit)",
"initial": "stretch",
"values": [
"stretch",
"center",
"flex-start",
@cblanquera
cblanquera / 01.HTML-Style-Guide.md
Last active December 5, 2017 05:53
Front End Style Guide Recommendations

1. HTML Style Guide

The purpose of this style guide is to improve code quality by documenting a set of expected rules that can consistently apply across all projects. The main benefits are the following.

  • Easier for new developers to on board on a project
  • Easier to troubleshoot code across different projects
  • Easier to contribute additional code
  • Easier to adjust for SEO across all projects
@cblanquera
cblanquera / kmeans.md
Last active November 30, 2017 10:24
AI Math

K-Means

  • Unsupervised
  • Determines the center of clusters
  • Given how many clusters you want to find

When To Use

  • Your data is numeric. It doesn't work with categorical features. We're computing the distance between real numbers!
  • If you don't have labels for your data