View skyt.py
#!/usr/bin/env python3
"""
--------------------------------------------------------------------------------
Copyright (c) 2018 Gonçalo Baltazar <me@goncalomb.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
View oddshot-archive.php
#!/usr/bin/env php
<?php
// oddshot archiver
// Gonçalo Baltazar <me@goncalomb.com>
// I place this code in the public domain.
// https://creativecommons.org/publicdomain/zero/1.0/
$channels_to_archive = [
View garlicoin-miner-run.sh
#!/bin/bash
# Script to choose your garlicoin mining pool, with logging.
# If you find it useful, I'm accepting some garlic at: GNHARsNxMKqXH8xNmSR9cc8RJqDNfKgMvj
# Thanks.
# On Linux:
# Put the spript anywhere.
# Run as any other spript (using the terminal).
# On Windows:
View 000-yogscast-comments-mkgifs.sh
#!/bin/bash
# All GIFS and VIDEOS at:
# https://gist.github.com/goncalomb/0611db6ae883756c345a7802f2fdef85/f2f6e08b971884d4eca5d4ac9f5df13fb14fff1c
# Original Video:
# https://www.youtube.com/watch?v=BMYxImN6EBo
video="video_BMYxImN6EBo.mp4" # 720p
fontr="/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf"
fontb="/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf"
View git-problems
#!/bin/bash
# Author: Gonçalo Baltazar <me@goncalomb.com>
# I place this code in the public domain.
# Finds problems with git repositories that might lead to information loss
# in case of losing the local copy.
# Things like: uncommitted changes, untracked files, commits not pushed, etc.
# Put this script on your PATH. Then run 'git-problems' on a git repository or
View base62.php
<?php
// Author: Gonçalo Baltazar <me@goncalomb.com>
// I place this code in the public domain.
/**
* Functions to encode/decode an integer to/from base62.
* It is limited to positive integers up to BASE62_MAX to make sure it works on
* 32-bit systems.
*/
View img2ico.php
<?php
// Author: Gonçalo Baltazar <me@goncalomb.com>
// I place this code in the public domain.
/**
* Output an ICO image to either the standard output or a file.
*
* It takes the same arguments as 'imagepng' from the GD library. Works by
* creating a ICO container with a single PNG image.
* This type of ICO image is supported since Windows Vista and by all major
View keybase.md

Keybase proof

I hereby claim:

  • I am goncalomb on github.
  • I am goncalomb (https://keybase.io/goncalomb) on keybase.
  • I have a public key whose fingerprint is 371E 4E46 355E 1A01 26F3 2DFB 8332 4011 5C12 E219

To claim this, I am signing this object: