Skip to content

Instantly share code, notes, and snippets.

Reinaldo de Souza Jr juniorz

Block or report user

Report or block juniorz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
juniorz /
Last active Aug 2, 2019
Tools of trade


Get managed roles ARN

aws iam list-policies --query "Policies[][Arn]" --output text
juniorz /
Created Jul 31, 2018
How to setup a XMPP prekey server
View xmpp.go
package main
import (
func main() {
//TODO: this nil will crash. You need to setup a verifier
juniorz / bjshare-grouped.yml
Last active Feb 6, 2017
Cardigann definition for BJ Share
View bjshare-grouped.yml
site: bjshare-grouped
name: BJ Share (w/ stupid grouping)
description: BJ Share tracker w/ grouped layout
language: pt-br
juniorz / Dockerfile
Last active May 5, 2016
Building a Raspbian Docker Image
View Dockerfile
FROM scratch
ADD rootfs.tar.xz /
CMD ["/bin/bash"]
juniorz /
Last active Mar 18, 2016
Building lua on WD My Cloud EX2

Building dependencies


$ cd Open_Source_packages
$ source
$ tar -xzvf ncurses-5.7.tar.gz
$ cd ncurses-5.7
$ ./ build
juniorz /
Last active Apr 17, 2017
Building tor on WD My Cloud EX2

How to build tor for WD My Cloud EX2

WD My Cloud EX2 has an Marvell Armada-370 CPU (Marvell PJ4Bv7 Processor rev 1 (v7l)) with 512MB RAM.

This device uses 32-bit binaries with 64K page size. WD releases a cross-compilation environment as part of its "WD My Cloud EX2 GPL Source Code". Download it from WD support page (making sure it matches your firmware version) and follow the instructions in My_Cloud_EX2_Release_Notes_GPL_*.txt to setup the environment. I recommend using a Debian OS.

The following packages are required to use the cross-compilation environment: build-essential automake lib32z1

Building dependencies

View gpg-key-transition-statement.txt
Hash: SHA512
GPG Key Transition
For a number of reasons, I've recently set up a new OpenPGP key, and
will be transitioning away from my old one.
the old key was:
You can’t perform that action at this time.