Skip to content

Instantly share code, notes, and snippets.

@roman-yepishev
roman-yepishev / numbererer.py
Last active March 4, 2016 13:16
Autonumbering magic for Boston
#!/usr/bin/python3
import os
import sys
import xml.sax
import xml.sax.saxutils
import xml.sax.xmlreader
import sqlite3
@roman-yepishev
roman-yepishev / featureserver-geojson.py
Last active August 1, 2016 02:28
Brute-force ArcGIS Feature Layer to GeoJSON exporter
#!/usr/bin/python3
import json
import os
import sys
import math
import requests
import fiona
@roman-yepishev
roman-yepishev / dell-os-recovery-linux-mini-howto.md
Last active June 28, 2025 09:58
Dell OS Recovery Tool under Linux Mini-HOWTO

Dell OS Recovery Tool Under Linux Mini-HOWTO

Since I was unable to find a specific answer to how can one create a Dell recovery disk from within Linux, I decided to write the steps here.

If you write the CD image directly to the USB drive (or create a new partition and write it there), the laptop will not boot. You need your USB media to be in FAT32 format with the contents of the recovery ISO.

  1. Download the recovery ISO from the support section of Dell website.
  2. Insert a USB Drive with enough capacity to hold the contents of the ISO image.
  3. Format the drive and create a filesystem where $USB_DEVICE is your USB drive (check with fdisk -l, it may be
@roman-yepishev
roman-yepishev / nb0-unpack.py
Created February 20, 2018 02:06
Unpack script for NB0 file format
#! python3
import argparse
import io
from struct import unpack
BUFFER_SIZE = io.DEFAULT_BUFFER_SIZE
@roman-yepishev
roman-yepishev / clipsport_howto.md
Last active February 19, 2026 00:53
SanDisk Clip Sport Recovery Mini-HOWTO

Warning

I can only confirm that this works on SanDisk Clip Sport devices. You might be able to use that guide for other devices based on ATJ212X SoCs, but you are on your own.

This guide instructs you to run unverified code from arbitrary GitHub repositories, including as root. You should use a system that you aren't afraid to brick. You can use a VM with USB pass-through, though I YOLO'd this on a physical machine.

This guide will erase your data on the SanDisk Clip Sport, if that device is functional, so if you want to backup the