Skip to content

Instantly share code, notes, and snippets.

View TheSeriousProgrammer's full-sized avatar
💭
Wabalabadubdub

Chidhambararajan TheSeriousProgrammer

💭
Wabalabadubdub
  • minions corp
  • Mars
View GitHub Profile
@billti
billti / arm64-on-Win10.md
Last active July 1, 2024 08:00
ARM64 Linux on Win10

Below are the steps to get an ARM64 version of Ubuntu running in the QEMU emulator on Windows 10.

Install QEMU

Install for Windows from https://qemu.weilnetz.de/w64/ (I used qemu-w64-setup-20181211.exe)

Put C:\Program Files\qemu on your PATH, and run the below to check it's working (which will list out the CPUs the AArch64 emulator can emulate):

qemu-system-aarch64 -M virt -cpu help
@htruong
htruong / chroot-to-pi.sh
Last active June 21, 2024 14:21
Chroot to pi sd card
#!/bin/bash
# This script allows you to chroot ("work on")
# the raspbian sd card as if it's the raspberry pi
# on your Ubuntu desktop/laptop
# just much faster and more convenient
# credits: https://gist.github.com/jkullick/9b02c2061fbdf4a6c4e8a78f1312a689
# make sure you have issued
@reline
reline / CustomTrust.java
Last active August 24, 2022 12:45
Trusting self-signed certificates in Android using OkHttp
import okhttp3.*;
import okio.Buffer;
import javax.net.ssl.*;
import java.io.IOException;
import java.io.InputStream;
import java.security.GeneralSecurityException;
import java.security.KeyStore;
import java.security.cert.Certificate;
import java.security.cert.CertificateFactory;