Skip to content

Instantly share code, notes, and snippets.

View samuelhnrq's full-sized avatar
🕯️
ABRACADABRA

Samuel Henrique samuelhnrq

🕯️
ABRACADABRA
View GitHub Profile
@samuelhnrq
samuelhnrq / binary_clock.py
Created January 29, 2018 17:07
Binary clock to stdout in python
# pylint:disable=C0111
import time
BRAILLE_UNICODE_OFFSET = 0x2800
# https://www.wikiwand.com/en/Braille_Patterns#/Identifying,_naming_and_ordering
# id of which braille balls that need to be ticked to represent nth dozen
UNITS = [
0x0,
0x80,
@samuelhnrq
samuelhnrq / default_zos2_hercules.cnf
Created July 31, 2018 01:26
Default hercules configuration for Z/OS 2.1 ADCD
#
# Hercules Emulator Control file...
# Description:
# MaxShutdownSecs: 15
#
#
# System parameters
#
ARCHMODE z/Arch
@samuelhnrq
samuelhnrq / configure_pywebkitgtk_python2.txt
Last active February 24, 2019 23:12
Log erro instalação stoq
# Comando que eu usei : ./configure PYTHON=python2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/code/stoq/pywebkitgtk-1.1.8/missing: Unknown `--is-lightweight' option
Try `/home/code/stoq/pywebkitgtk-1.1.8/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes