Skip to content

Instantly share code, notes, and snippets.

Avatar
🤖
Search, Hack and Dev

Jonathan Barda Jiab77

🤖
Search, Hack and Dev
View GitHub Profile
@Jiab77
Jiab77 / hashcat-brain-on-raspberry-pi-3b-3bplus-and-4b.md
Created Aug 22, 2020
Hashcat brain on Raspberry Pi 3B / 3B+ and 4B
View hashcat-brain-on-raspberry-pi-3b-3bplus-and-4b.md

Hashcat brain on Raspberry Pi 3B / 3B+ and 4B

This gist will explain how to install and setup Hashcat brain on a Raspberry Pi based cluster.

I've initially tried to use VC4CL instead of POCL but I could not compile it on Ubuntu Server 18.04.5.

Even if I've also compiled CMake as requested, the compilation failed anyway...

Install build dependencies

@Jiab77
Jiab77 / create-DNS-over-TLS-bridge-with-unbound-stubby-and-systemd-on-ubuntu-server-18.04.md
Last active Sep 21, 2020
Create DNS-over-TLS bridge with unbound, stubby and systemd on Ubuntu Server 18.04
View create-DNS-over-TLS-bridge-with-unbound-stubby-and-systemd-on-ubuntu-server-18.04.md
@Jiab77
Jiab77 / setup-DNS-over-TLS-with-systemd-on-ubuntu-18.04.md
Last active Aug 20, 2020
Setup DNS-over-TLS with systemd on Ubuntu 18.04
View setup-DNS-over-TLS-with-systemd-on-ubuntu-18.04.md

Setup DNS-over-TLS with systemd on Ubuntu 18.04

This gist will explain how to setup DNS-over-TLS on your local computer.

Verify systemd version

To make it work, you need at least systemd version 237 or 242.

I'll use the version 242 in this gist.

@Jiab77
Jiab77 / upgrade-systemd-on-ubuntu-18.04.md
Created Aug 19, 2020
Upgrade systemd on Ubuntu 18.04
View upgrade-systemd-on-ubuntu-18.04.md

Upgrade systemd on Ubuntu 18.04

In this document, I will explain how to upgrade the default systemd version from 237 to 242.

Install required dependencies

# Install required dependencies
sudo apt install build-essential devscripts python3-pip cmake libssl-dev libpcre2-dev
@Jiab77
Jiab77 / how-to-fix-GRUB-boot-error-after-BootHole-patch.md
Created Aug 5, 2020
How to fix GRUB boot error after BootHole patch
View how-to-fix-GRUB-boot-error-after-BootHole-patch.md

Repair GRUB after BootHole broken patch

Once rebooted after patching, you will kindly greated by error: symbol 'grub_calloc' not found, entering rescue mode and way to boot the OS anymore...

The thing become even more horrible if you are using an encrypted partition plus LVM...

You can skip the steps 2 and 4 if you just have a normal partition scheme with no encryption or LVM.

Recovery steps

@Jiab77
Jiab77 / create-expandable-beowulf-cluster-with-slurm-mpich-and-mpi4py.md
Last active Jan 11, 2021
Create an expandable beowulf cluster with SLURM, MPICH and MPI4PY
View create-expandable-beowulf-cluster-with-slurm-mpich-and-mpi4py.md

Create an expandable beowulf cluster with SLURM, MPICH and MPI4PY

The goal of this gist is to explain how I have build a Beowulf cluster based on Raspberry Pi models 3B / 3B+ and 4B.

The cluster will be expendable with other device types. Any working computer can be added to the cluster.

Adding the following packages: Ansible, SSHFS, Slurm, MPICH and MPI4PY will give me to possiblity to run parallel computing tasks using all cluster nodes.

The final goal will be to create a low cost computing platform that can be managed with a web interface that I will create soon. Adding remote clients and compute nodes is also a part of this project.

@Jiab77
Jiab77 / how-to-control-boinc-workload-based-on-the-host-temperature.md
Last active Aug 11, 2020
How to control BOINC workload based on the host temperature
View how-to-control-boinc-workload-based-on-the-host-temperature.md

How to control BOINC workload based on the host temperature

I will explain here how to start and stop boinc depending on the host temperature.

Context

I'm actually using a NUC to run BOINC and the Rosetta@Home project but this host is getting hot very quick and sometimes it will shutdown because of overheating.

To avoid this, I've requested the help of @AenBleidd, one of the BOINC developers. He gave me idea to use lm-sensors and CRON to run a script that will start / stop BOINC.

@Jiab77
Jiab77 / using-raspberry-pi-3-and-4-to-fight-against-covid-19-with-rosetta-at-home.md
Last active Apr 27, 2020
Using Raspberry Pi 3B/3B+/4B to fight against COVID-19 with Rosetta@Home
View using-raspberry-pi-3-and-4-to-fight-against-covid-19-with-rosetta-at-home.md

Using Raspberry Pi 3B/3B+/4B to fight against COVID-19 with Rosetta@Home

The goal of this gist is to explain how I have build a Beowulf cluster based on Raspberry Pi models 3B / 3B+ and 4B.

The cluster will be expendable with other device types. Any working computer can be added to the cluster.

The cluster will be initially used to compute workunits from the Rosetta@Home project.

In this gist I will stay with Raspberry Pi nodes.

@Jiab77
Jiab77 / emby-server-with-va-api.md
Last active Sep 7, 2019
Emby Server with VA-API
View emby-server-with-va-api.md

Emby Server with VA-API

Just a quick gist to keep track of my research on this topic.

Environment

I'm using Ubuntu Server 18.04.2 as operating system.

Download

Go to the download page and select your version: https://emby.media/linux-server.html

For my research, I've used two versions:

@Jiab77
Jiab77 / goaccess.md
Last active Apr 26, 2020
Using GoAccess with PHP
View goaccess.md

Using GoAccess with PHP

This file will contain instructions to run goaccess from a PHP instance.

For more details on GoAccess check these links:

Installation

For this project, I'm using a compiled version of GoAccess with enabled options to reduce the memory usage.

You can’t perform that action at this time.