Skip to content

Instantly share code, notes, and snippets.


Derry Pratama ibndias

View GitHub Profile
ibndias /
Last active Jun 3, 2022

Strongswan Roadwarrior IPSec VPN Guide

Creates an easy Roadwarrior IPSec VPN by using StrongSwan on Ubuntu 22.04 with x509 authentication. -- | | === | x.x.x.x | --
  moon-net          moon              carol       virtual IP
                  (Gateway)        (Roadwarrior)
View video_preview.html
Tutorial code for:
<!DOCTYPE html>
<html lang="en">
<a href="" target="_blank" class="video-preview" data-frames="100" data-source=""></a>
View ftdi-spi.xml
<?xml version="1.0" encoding="utf-16"?>
<bcdUSB>USB 2.0</bcdUSB>
ibndias /
Last active Feb 7, 2022
Quickstart Running Linux on Arty A7-100T FPGA

A quickstart guide to run Linux on Arty A7 100T FPGA

Because everyone keeps posting about Arty A7 35T while I only have the 100T. This is basically just a guide for linux on litex [].


  • Arty A7 100T FPGA
  • Micro USB Cable
  • and a PC


ibndias /
Created Jan 5, 2022 — forked from Matheus-Garbelini/
Compile and install OpenSSL 1.1.1 for arm64 aarch64 android
tar -xvzf openssl-1.1.1.tar.gz
cd openssl-1.1.1/
./Configure linux-aarch64 --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
make -j$(($(nproc)+1))
sudo make install
sudo echo 'LD_LIBRARY_PATH=/usr/local/ssl/lib:${LD_LIBRARY_PATH}' >> /etc/environment
rm openssl-1.1.1.tar.gz
sudo rm openssl-1.1.1 -r
ibndias /
Created Oct 14, 2021
Keychron Function Key Ubuntu, use F1-F12 first, press FN to use multimedia
echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u -k all
sudo reboot # optional
ibndias /
Created Aug 18, 2021
Maven run single test
mvn -Dtest=ClassNameTest#TestMethod test -DfailIfNoTests=false
ibndias / erase_from_memory.h
Created Jul 15, 2021 — forked from mimoo/erase_from_memory.h
Include this file to get the `erase_from_memory` function that zeros memory. See
View erase_from_memory.h
#define __ERASE_FROM_MEMORY_H__ 1
#define __STDC_WANT_LIB_EXT1__ 1
#include <stdlib.h>
#include <string.h>
void *erase_from_memory(void *pointer, size_t size_data, size_t size_to_remove) {
#ifdef __STDC_LIB_EXT1__
memset_s(pointer, size_data, 0, size_to_remove);
View printbuff.c
int i;
for (i = 0; i < 32; i++)
if (i > 0) printf(":");
printf("%02X", pk_buf[i]);
ret =0;
View aria-cbc-test-openssl.c
#include <openssl/conf.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/engine.h>
#include <string.h>
#define MAX_MSG_LEN 256
static void handleErrors()