Skip to content

Instantly share code, notes, and snippets.

View samuelhnrq's full-sized avatar
🏳️‍🌈
CHECK MY TECHNIQUE; UHNNN

Samuel Henrique samuelhnrq

🏳️‍🌈
CHECK MY TECHNIQUE; UHNNN
View GitHub Profile
@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
@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 / 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 / attempt_overwrite_old.log
Created January 5, 2018 03:27
Xperia T2 Ultra Dual (tianchi-dsds) D5322 magisk logs
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 2.7.1.0 on Thu Jan 1 04:44:05 1970
I:Has /data/media + external storage in '/external_sd'
I:Device has /data/media defined.
I:Only external path defined: '/external_sd'
I:Backup folder set to '/external_sd/TWRP/BACKUPS/BY900EUWQN'
TW_DEFAULT_EXTERNAL_STORAGE := true
I:Mount: Unable to find partition for path '/data'
@samuelhnrq
samuelhnrq / log.txt
Created December 16, 2017 12:53
Doom install output
minotaur@thinkfree  ~/.emacs.d 
❯ make install [09:58:48]
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: elpa.gnu.org:443
Contacting host: elpa.gnu.org:443
Contacting host: melpa.org:443
Contacting host: melpa.org:443
Package refresh done
Installed persistent-soft
@samuelhnrq
samuelhnrq / rust-day5.rs
Created December 10, 2017 17:55
My solution for the fifth day of advent of code
extern crate time;
use std::fs::File;
use std::io::prelude::*;
fn main() {
let mut inpt = File::open("input/xmas5.txt").expect("file not found");
let mut content = String::new();
inpt.read_to_string(&mut content).unwrap();
let tm = time::now();
func smallestMult() {
fmt.Println("searching for ans.")
res := 1
for i := 1; i <= 20; i++ {
j := maxPowPrime(i)
if j == 0 {
continue
}
res *= j
}
@samuelhnrq
samuelhnrq / one_of_each_alpha.py
Created February 7, 2017 18:51
One of each alphanumeric keyboard
class Combinator:
def __init__(self, bidimensional_list):
self.master = bidimensional_list
self.maxes = []
self.number = []
for li in range(0, len(bidimensional_list)):
self.maxes.append(len(self.master[li]) - 1)
self.number.append(0)
def next(self) -> bool:
import greenfoot.World;
/**
* Write a description of class TPiece here.
*
* @author (your name)
* @version (a version number or a date)
*/
@SuppressWarnings("UnusedAssignment")
public class TPiece implements Piece{
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Dec2013]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 112 for .
sda1: __________________________________________________________________________