Skip to content

Instantly share code, notes, and snippets.

View azz's full-sized avatar
🍣
和食が恋しいよ

Lucas Azzola azz

🍣
和食が恋しいよ
View GitHub Profile
@azz
azz / 1-reactive-knockout.js
Last active July 22, 2023 08:20
Extensions to Knockout and RxJS to allow observable conversion.
'use strict';
// Prototypal extensions to knockout and RxJS to fascilitate conversion.
// based on <http://bit.ly/226Yj2o>
import ko from 'knockout';
import Rx from 'rx';
/**
* knockout.subscribable to Rx.Observable
@azz
azz / react+two.js.jsx
Last active April 15, 2023 14:28
Two.js and React with ES6
"use strict";
import React from "react";
import Two from "two";
class TwoTest extends React.Component {
constructor (props) {
super(props);
this.state = {
@azz
azz / github-to-octobox.js
Last active July 16, 2019 07:57
UserScript: GitHub Notifications -> octobox.io
// ==UserScript==
// @name GitHub Notifications -> octobox.io
// @namespace https://gist.github.com/azz/9ce50b3596b6f7f062523040ebbb5708/edit
// @version 1.1.1
// @description Redirect the GitHub Notification icon to octobox.io
// @author Lucas Azzola <@azz>
// @match https://github.com/*
// @grant none
// ==/UserScript==
@azz
azz / jira-board.css
Created June 13, 2019 12:09
Jira board compact mode
@-moz-document url-prefix("https://jira.iress.com") {
#ghx-pool .ghx-issue .ghx-issue-content {
min-height: auto;
}
#ghx-pool .ghx-issue-fields .ghx-key {
margin-left: 16px;
}
#ghx-pool .ghx-issue .ghx-issue-fields {
padding-right: 0;
}
@azz
azz / RADAR.md
Created May 22, 2019 14:03
JS - Radar

This is loosely based on ThoughtWorks Radar, but just for my personal thoughts.

Language

USE

  • javascript
  • typescript, if only on js (checkJs)
  • esm - for node.js
  • babel + preset-env - for web
@azz
azz / tlds.txt
Created March 21, 2019 13:18
AWS Route 53 Supported TLDs (March 2019)
# https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html
.ac
.cc
.fm
.im
.io
.tv
.vg
.ac
.sh
@azz
azz / keybase.md
Last active October 29, 2018 11:48

Keybase proof

I hereby claim:

  • I am azz on github.
  • I am lucasazzola (https://keybase.io/lucasazzola) on keybase.
  • I have a public key ASCvpL_L8J8CzufbWkxthrzsrBiFhPLhgDTv_jv-mdxw-go

To claim this, I am signing this object:

@azz
azz / flow_parser.diff
Created December 18, 2017 11:16
Flow Parser SegFault Issue
This file has been truncated, but you can view the full file.
diff --git a/flow_parser.good.js b/flow_parser.bad.js
index 18cc635..c1d48ea 100644
--- a/flow_parser.good.js
+++ b/flow_parser.bad.js
@@ -1,917 +1,922 @@
// Generated by js_of_ocaml 3.0.1
-(function(ag) {
+(function(iD) {
"use strict";
- var oS = 254,
protocol Functor { fmap; }

const nothing = Symbol("nothing");

class Maybe implements Functor {
    /*private*/ constructor(value) { this._value = value; }

    static just(value) { return new Maybe(value) }