Skip to content

Instantly share code, notes, and snippets.

View krisstakos's full-sized avatar
🦧

Kristian Kosev krisstakos

🦧
View GitHub Profile
@krisstakos
krisstakos / setup_rpi_openocd.md
Created April 18, 2021 15:15 — forked from tstellanova/setup_rpi_openocd.md
Setup rpi0 with openocd for flashing nrf52

Instructions for setting up a Raspberry Pi Zero for running OpenOCD specifically for the purpose of disabling Access Port Protection on nrf52 boards.

Build OpenOCD with CMSIS-DAP and GPIO support

The below script builds natively on the RPi0, and will take a very long time.

sudo apt install wget git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev libhidapi-dev libftdi-dev libhidapi-dev telnet
git clone https://github.com/ntfreak/openocd
cd openocd
./bootstrap
@krisstakos
krisstakos / README.md
Created October 20, 2018 16:48 — forked from Lazza/README.md
VPNGate Python script

vpngate.py

This script allows to use the free VPN service provided by VPNGate in an easy way. The user just needs to provide the desidered output country, and the script automatically chooses the best server.

After this step, OpenVPN is launched with the proper configuration. The VPN can be terminated by pressing Ctrl+C.

Usage

Run the script by providing the desired output country: