Skip to content

Instantly share code, notes, and snippets.

@lionelhorn
lionelhorn / docker.md
Created January 13, 2021 22:16 — forked from FreddieOliveira/docker.md
This tutorial shows how to run docker directly in Android, without VMs nor chroot.

Docker in Android 🐋📱

Edit

Docker packages are in the process of being added to termux-unstable repo. Soon enough, compiling them by hand won't be necessary anymore 😃


Summary

@lionelhorn
lionelhorn / github-export-labels.js
Last active July 23, 2020 00:08 — forked from douglascayers/github-export-labels.js
Export and import GitHub labels between projects by running JavaScript in the browser console to automate clicks.
/**
* Inspired by @MoOx original script: https://gist.github.com/MoOx/93c2853fee760f42d97f
* Adds file download per @micalevisk https://gist.github.com/MoOx/93c2853fee760f42d97f#gistcomment-2660220
* Tweaked from @douglascayers https://gist.github.com/douglascayers/d47e525dbd1e7149bafa65939f350baf
*
* Changes include:
* - Get the description from the `title` attribute instead of `aria-label` (doesn't exist anymore)
* - Use style.backgroundColor and parse the rgb(...) to hex (rather than regex parsing of 'style' string)
* - Downloads labels to a JSON file named after the webpage to know which GitHub repo they came from.
*