Skip to content

Instantly share code, notes, and snippets.

View AluisioASG's full-sized avatar

Aluísio Augusto Silva Gonçalves AluisioASG

View GitHub Profile
@AluisioASG
AluisioASG / libvterm-nvim.diff
Created September 26, 2019 14:46
diff between libvterm 0.1.1 on Launchpad and Neovim's fork
/dev/null => libvterm-nvim/.bzrignore | 13 ++
libvterm-0.1.1/CONTRIBUTING => /dev/null | 22 --
{libvterm-0.1.1 => libvterm-nvim}/Makefile | 39 +++-
/dev/null => libvterm-nvim/doc/URLs | 14 ++
/dev/null => libvterm-nvim/doc/seqs.txt | 229 +++++++++++++++++++++
/dev/null => libvterm-nvim/find-wide-chars.pl | 34 +++
{libvterm-0.1.1 => libvterm-nvim}/include/vterm.h | 8 -
.../src/encoding/DECdrawing.inc => /dev/null | 36 ----
.../src/encoding/DECdrawing.tbl | 31 +++
libvterm-0.1.1/src/encoding/uk.inc => /dev/null | 6 -

Keybase proof

I hereby claim:

  • I am AluisioASG on github.
  • I am aasg (https://keybase.io/aasg) on keybase.
  • I have a public key whose fingerprint is 7FDB 17B3 C29B 5BA6 E5A9 8BB2 9FAA 63E0 9750 6D9D

To claim this, I am signing this object:

@AluisioASG
AluisioASG / actual.js
Last active August 29, 2015 14:13
6to5 selfContained full-blown test
import foo, * as bar from "someModule";
export const myWord = Symbol("abc");
export function* giveWord () {
yield myWord;
}
@AluisioASG
AluisioASG / optional-external-regenerator-runtime.js
Created January 18, 2015 00:24
externalRegenerator transformer for 6to5
var traverse = require("../../traverse");
var t = require("../../types");
exports.optional = true;
exports.ast = {
enter: function(ast, file) {
file._regeneratorId = file.addImport("regenerator/runtime-module", "regeneratorRuntime");
},
exit: function (ast, file) {
@AluisioASG
AluisioASG / PrivateMessagePrinter.py
Created April 14, 2014 23:53
phpBB private message filter and pretty-printer
#!/usr/bin/env python3
# © 2014 Aluísio Augusto Silva Gonçalves. This Source Code Form is
# subject to the terms of the Mozilla Public License, v. 2.0. If a
# copy of the MPL was not distributed with this file, You can obtain
# one at https://mozilla.org/MPL/2.0/.
from datetime import datetime
# https://bitbucket.org/AluisioASG/textutils.py
from textutils import trim
@AluisioASG
AluisioASG / OTPGroupIndexReader.ps1
Created December 22, 2012 04:42
OTP group index writer and reader.
# Released to the public domain by Aluísio A. S. G.
function Read-BinaryIndexFile ([string] $Path) {
$Reader = New-Object System.IO.BinaryReader ([System.IO.File]::Open($Path, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read))
$Result = @()
while ($true) {
$Bytes = $Reader.ReadBytes(3)
if ($Bytes.Length -eq 0) {