Skip to content

Instantly share code, notes, and snippets.

View IceDcap's full-sized avatar
🎯
Focusing

icedcap IceDcap

🎯
Focusing
  • Beijing
View GitHub Profile
@IceDcap
IceDcap / docker.md
Created May 22, 2023 13:11 — forked from FreddieOliveira/docker.md
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@IceDcap
IceDcap / addindex.py
Last active December 21, 2018 08:30
Using PyPDF2 to merge two single page pdf into a new page & Merge(Append) pdf one by one.
#!/usr/bin/python
#a program that uses pyPdf to add an outline--basically, an
#interactive table of contents--to a given PDF file.
#use is:
# addindex.py thefile.pdf toc.json
# the file is not written in-place; a copy is written to "output.pdf"
# the file toc.json--which can be named anything--is a simple json